[INFO] fetching crate pango 0.18.3... [INFO] checking pango-0.18.3 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate pango 0.18.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pango 0.18.3 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pango 0.18.3 [INFO] finished tweaking crates.io crate pango 0.18.3 [INFO] tweaked toml for crates.io crate pango 0.18.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded system-deps v6.2.2 [INFO] [stderr] Downloaded pango-sys v0.18.0 [INFO] [stderr] Downloaded gir-format-check v0.1.3 [INFO] [stderr] Downloaded glib-macros v0.18.5 [INFO] [stderr] Downloaded heck v0.4.1 [INFO] [stderr] Downloaded glib-sys v0.18.1 [INFO] [stderr] Downloaded gio-sys v0.18.1 [INFO] [stderr] Downloaded gio v0.18.4 [INFO] [stderr] Downloaded glib v0.18.5 [INFO] [stderr] Downloaded gobject-sys v0.18.0 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded version-compare v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1fcd0b7ee62f391212777671aa2cd09ab5db37adc299a085a61397612b861ed [INFO] running `Command { std: "docker" "start" "-a" "e1fcd0b7ee62f391212777671aa2cd09ab5db37adc299a085a61397612b861ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1fcd0b7ee62f391212777671aa2cd09ab5db37adc299a085a61397612b861ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fcd0b7ee62f391212777671aa2cd09ab5db37adc299a085a61397612b861ed", kill_on_drop: false }` [INFO] [stdout] e1fcd0b7ee62f391212777671aa2cd09ab5db37adc299a085a61397612b861ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01329ffe4183b42c1d4767c2f70cb61edbb4a81eca61e363da042e9d0fd8aea8 [INFO] running `Command { std: "docker" "start" "-a" "01329ffe4183b42c1d4767c2f70cb61edbb4a81eca61e363da042e9d0fd8aea8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking futures-util v0.3.30 [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] 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 pango-sys v0.18.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking pango v0.18.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.37s [INFO] running `Command { std: "docker" "inspect" "01329ffe4183b42c1d4767c2f70cb61edbb4a81eca61e363da042e9d0fd8aea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01329ffe4183b42c1d4767c2f70cb61edbb4a81eca61e363da042e9d0fd8aea8", kill_on_drop: false }` [INFO] [stdout] 01329ffe4183b42c1d4767c2f70cb61edbb4a81eca61e363da042e9d0fd8aea8 [INFO] checking pango-0.18.3 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate pango 0.18.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate pango 0.18.3 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pango 0.18.3 [INFO] finished tweaking crates.io crate pango 0.18.3 [INFO] tweaked toml for crates.io crate pango 0.18.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fe086a11f545cf261a0c4b65c11a81c4704241ff0149c3fb107a2db309e2bb6 [INFO] running `Command { std: "docker" "start" "-a" "8fe086a11f545cf261a0c4b65c11a81c4704241ff0149c3fb107a2db309e2bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fe086a11f545cf261a0c4b65c11a81c4704241ff0149c3fb107a2db309e2bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe086a11f545cf261a0c4b65c11a81c4704241ff0149c3fb107a2db309e2bb6", kill_on_drop: false }` [INFO] [stdout] 8fe086a11f545cf261a0c4b65c11a81c4704241ff0149c3fb107a2db309e2bb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eeafeebdb123497a93d1bbc09c72ad7f1599d29f868e8354014fb9ec49a45ad [INFO] running `Command { std: "docker" "start" "-a" "8eeafeebdb123497a93d1bbc09c72ad7f1599d29f868e8354014fb9ec49a45ad", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking futures-util v0.3.30 [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] 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] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking pango v0.18.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/auto/flags.rs (1 fix) [INFO] [stderr] Fixed src/attribute.rs (18 fixes) [INFO] [stderr] Fixed src/attr_iterator.rs (1 fix) [INFO] [stderr] Fixed src/script_iter.rs (1 fix) [INFO] [stderr] Fixed src/auto/enums.rs (17 fixes) [INFO] [stderr] Fixed src/auto/attr_list.rs (1 fix) [INFO] [stderr] Fixed src/auto/fontset.rs (1 fix) [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attr_list_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | ref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [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: call to unsafe function `pango_sys::pango_attr_list_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | unref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | copy => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | free => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_color_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/color.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_color_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: call to unsafe function `pango_sys::pango_font_description_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_description_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_metrics_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_font_metrics_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_glyph_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | copy => |ptr| ffi::pango_glyph_item_copy(mut_override(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/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | free => |ptr| ffi::pango_glyph_item_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/auto/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_glyph_string_copy(mut_override(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/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_glyph_string_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/auto/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | copy => |ptr| ffi::pango_item_copy(mut_override(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/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `pango_sys::pango_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | free => |ptr| ffi::pango_item_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/auto/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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: call to unsafe function `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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: call to unsafe function `pango_sys::pango_layout_iter_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_layout_iter_copy(mut_override(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/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_iter_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_layout_iter_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/auto/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_line_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | ref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_layout_line_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | unref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_matrix_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/matrix.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_matrix_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: call to unsafe function `pango_sys::pango_tab_array_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | copy => |ptr| ffi::pango_tab_array_copy(mut_override(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/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_tab_array_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | free => |ptr| ffi::pango_tab_array_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/auto/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_coverage_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/coverage.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | ref => |ptr| ffi::pango_coverage_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/coverage.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "PangoCoverage")] [INFO] [stdout] 24 | | pub struct Coverage(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: call to unsafe function `pango_sys::pango_coverage_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/coverage.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | unref => |ptr| ffi::pango_coverage_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/coverage.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "PangoCoverage")] [INFO] [stdout] 24 | | pub struct Coverage(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: 190 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attr_list_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | ref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [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: call to unsafe function `pango_sys::pango_attr_list_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | unref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | copy => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | free => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_color_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/color.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_color_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: call to unsafe function `pango_sys::pango_font_description_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_description_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_metrics_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_font_metrics_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_glyph_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | copy => |ptr| ffi::pango_glyph_item_copy(mut_override(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/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | free => |ptr| ffi::pango_glyph_item_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/auto/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_glyph_string_copy(mut_override(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/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_glyph_string_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/auto/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | copy => |ptr| ffi::pango_item_copy(mut_override(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/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `pango_sys::pango_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | free => |ptr| ffi::pango_item_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/auto/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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: call to unsafe function `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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: call to unsafe function `pango_sys::pango_layout_iter_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_layout_iter_copy(mut_override(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/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_iter_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_layout_iter_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/auto/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_line_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | ref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_layout_line_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | unref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_matrix_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/matrix.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_matrix_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: call to unsafe function `pango_sys::pango_tab_array_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | copy => |ptr| ffi::pango_tab_array_copy(mut_override(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/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_tab_array_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | free => |ptr| ffi::pango_tab_array_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/auto/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_language.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrLanguage, ffi::PangoAttrLanguage, &[AttrType::Language]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_shape.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrShape, ffi::PangoAttrShape, &[AttrType::Shape]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_size.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrSize, [INFO] [stdout] 9 | | ffi::PangoAttrSize, [INFO] [stdout] 10 | | &[AttrType::Size, AttrType::AbsoluteSize] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/check_gir.rs from 2021 edition to 2024 [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrString, ffi::PangoAttrString, &[AttrType::Family]); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_coverage_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/coverage.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | ref => |ptr| ffi::pango_coverage_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/coverage.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "PangoCoverage")] [INFO] [stdout] 24 | | pub struct Coverage(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: call to unsafe function `pango_sys::pango_coverage_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/coverage.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | unref => |ptr| ffi::pango_coverage_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/coverage.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "PangoCoverage")] [INFO] [stdout] 24 | | pub struct Coverage(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: 190 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.54s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pango v0.18.3 (/tmp/fixit) [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attr_list_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | ref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [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: call to unsafe function `pango_sys::pango_attr_list_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | unref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | copy => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | free => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_color_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/color.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_color_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: call to unsafe function `pango_sys::pango_font_description_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_description_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_metrics_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_font_metrics_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_attr_list_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | ref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [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: call to unsafe function `pango_sys::pango_attr_list_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attr_list.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | unref => |ptr| ffi::pango_attr_list_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/attr_list.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / glib::wrapper! { [INFO] [stdout] 12 | | #[derive(Debug)] [INFO] [stdout] 13 | | pub struct AttrList(Shared); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | copy => |ptr| ffi::pango_glyph_item_copy(mut_override(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/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | free => |ptr| ffi::pango_glyph_item_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/auto/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | copy => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/attribute.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | free => |ptr| ffi::pango_attribute_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/auto/attribute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / glib::wrapper! { [INFO] [stdout] 22 | | #[derive(Debug, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | pub struct Attribute(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_glyph_string_copy(mut_override(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/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_glyph_string_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/auto/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_color_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/color.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_color_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: call to unsafe function `pango_sys::pango_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | copy => |ptr| ffi::pango_item_copy(mut_override(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/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `pango_sys::pango_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | free => |ptr| ffi::pango_item_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/auto/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `pango_sys::pango_font_description_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_font_description_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_description.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_font_description_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/auto/font_description.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialOrd, Ord)] [INFO] [stdout] 11 | | pub struct FontDescription(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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: call to unsafe function `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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: call to unsafe function `pango_sys::pango_font_metrics_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_font_metrics_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/font_metrics.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::pango_font_metrics_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/font_metrics.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 FontMetrics(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: call to unsafe function `pango_sys::pango_layout_iter_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_layout_iter_copy(mut_override(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/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_iter_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_layout_iter_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/auto/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_line_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | ref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_layout_line_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | unref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | copy => |ptr| ffi::pango_glyph_item_copy(mut_override(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/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_glyph_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_item.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | free => |ptr| ffi::pango_glyph_item_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/auto/glyph_item.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 10 | | pub struct GlyphItem(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [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: call to unsafe function `pango_sys::pango_matrix_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/matrix.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_matrix_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: call to unsafe function `pango_sys::pango_glyph_string_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_glyph_string_copy(mut_override(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/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_glyph_string_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/glyph_string.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_glyph_string_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/auto/glyph_string.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct GlyphString(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_item_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | copy => |ptr| ffi::pango_item_copy(mut_override(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/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `pango_sys::pango_tab_array_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | copy => |ptr| ffi::pango_tab_array_copy(mut_override(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/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_tab_array_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | free => |ptr| ffi::pango_tab_array_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/auto/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_item_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/item.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | free => |ptr| ffi::pango_item_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/auto/item.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / glib::wrapper! { [INFO] [stdout] 11 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 12 | | pub struct Item(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::pango_language_get_type(), ptr as *mut _) as *mut ffi::PangoLanguage, [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: call to unsafe function `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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/language.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct Language(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_language_get_type` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/language.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::pango_language_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: call to unsafe function `pango_sys::pango_layout_iter_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | copy => |ptr| ffi::pango_layout_iter_copy(mut_override(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/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_iter_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_iter.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | free => |ptr| ffi::pango_layout_iter_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/auto/layout_iter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / glib::wrapper! { [INFO] [stdout] 10 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 11 | | pub struct LayoutIter(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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: call to unsafe function `pango_sys::pango_layout_line_ref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | ref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_layout_line_unref` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/layout_line.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | unref => |ptr| ffi::pango_layout_line_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/layout_line.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct LayoutLine(Shared); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_matrix_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/matrix.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::pango_matrix_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: call to unsafe function `pango_sys::pango_tab_array_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | copy => |ptr| ffi::pango_tab_array_copy(mut_override(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/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_tab_array_free` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/auto/tab_array.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | free => |ptr| ffi::pango_tab_array_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/auto/tab_array.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / glib::wrapper! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 14 | | pub struct TabArray(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_float.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFloat, [INFO] [stdout] 9 | | ffi::PangoAttrFloat, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 14 | | ] [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_desc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_attribute_struct!(AttrFontDesc, ffi::PangoAttrFontDesc, &[AttrType::FontDesc]); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_font_features.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrFontFeatures, [INFO] [stdout] 9 | | ffi::PangoAttrFontFeatures, [INFO] [stdout] 10 | | &[AttrType::FontFeatures] [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | copy => |ptr| ffi::pango_attribute_copy(ptr as *const ffi::PangoAttribute) as *mut $ffi_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pango_sys::pango_attribute_destroy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/attribute.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | free => |ptr| ffi::pango_attribute_destroy(ptr as *mut ffi::PangoAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [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/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:115 [INFO] [stdout] | [INFO] [stdout] 148 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:133 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:142 [INFO] [stdout] | [INFO] [stdout] 148 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:81 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:99 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:108 [INFO] [stdout] | [INFO] [stdout] 156 | ... unsafe fn from_glib_full(ptr: *const ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:88 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:117 [INFO] [stdout] | [INFO] [stdout] 156 | ...te) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:97 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:126 [INFO] [stdout] | [INFO] [stdout] 156 | ...lf { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:135 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / define_attribute_struct!( [INFO] [stdout] 8 | | AttrColor, [INFO] [stdout] 9 | | ffi::PangoAttrColor, [INFO] [stdout] 10 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 16 | | ] [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:148:106 [INFO] [stdout] | [INFO] [stdout] 148 | ... unsafe fn from_glib_full(ptr: *mut ffi::PangoAttribute) -> Self { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { un... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_int.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / define_attribute_struct!( [INFO] [stdout] 14 | | AttrInt, [INFO] [stdout] 15 | | ffi::PangoAttrInt, [INFO] [stdout] 16 | | &[ [INFO] [stdout] ... | [INFO] [stdout] 38 | | ] [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_attribute_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/attribute.rs:156:144 [INFO] [stdout] | [INFO] [stdout] 156 | ...fe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/attr_color.rs:7:1 [WARN] too many lines in the log, truncating it