[INFO] fetching crate x11 2.21.0... [INFO] checking x11-2.21.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate x11 2.21.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate x11 2.21.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate x11 2.21.0 [INFO] finished tweaking crates.io crate x11 2.21.0 [INFO] tweaked toml for crates.io crate x11 2.21.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate x11 2.21.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3b5a4e48918cc3e7278178c11d046ed1fe466aeebf4f80ef0e75b28c3545f54 [INFO] running `Command { std: "docker" "start" "-a" "f3b5a4e48918cc3e7278178c11d046ed1fe466aeebf4f80ef0e75b28c3545f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3b5a4e48918cc3e7278178c11d046ed1fe466aeebf4f80ef0e75b28c3545f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b5a4e48918cc3e7278178c11d046ed1fe466aeebf4f80ef0e75b28c3545f54", kill_on_drop: false }` [INFO] [stdout] f3b5a4e48918cc3e7278178c11d046ed1fe466aeebf4f80ef0e75b28c3545f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a62c6addef99507878bae8c901abb12d9cfe453a0f5beb3edd124429a823f5c [INFO] running `Command { std: "docker" "start" "-a" "3a62c6addef99507878bae8c901abb12d9cfe453a0f5beb3edd124429a823f5c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling x11 v2.21.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `x11` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/link.rs [INFO] [stderr] * src/xlib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:49 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:74 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/xlib.rs:2704:14 [INFO] [stderr] | [INFO] [stderr] 2704 | { $($ty:ty[$n:expr_2021],)* } => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr_2021),*], $nsyms:expr, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/xlib.rs:2704:17 [INFO] [stdout] | [INFO] [stdout] 2704 | { $($ty:ty[$n:expr],)* } => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2704 | { $($ty:ty[$n:expr_2021],)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn mem_eq(a: &T, b: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let mut output: O = zeroed(); [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/internal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub unsafe fn transmute_union(input: &I) -> O [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | I: Sized, [INFO] [stdout] 28 | | O: Sized, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | *((&mut output as *mut O as usize + i) as *mut u8) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | *((input as *const I as usize + i) as *const u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub unsafe fn _type(&mut self) -> *mut ::std::os::raw::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub unsafe fn add(&mut self) -> *mut XIAddMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub unsafe fn remove(&mut self) -> *mut XIRemoveMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | pub unsafe fn attach(&mut self) -> *mut XIAttachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn detach(&mut self) -> *mut XIDetachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [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: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating examples/xrecord.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `x11` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/link.rs [INFO] [stderr] * src/xlib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:49 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/link.rs:6:74 [INFO] [stderr] | [INFO] [stderr] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr_2021),*], $nsyms:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/xlib.rs:2704:14 [INFO] [stderr] | [INFO] [stderr] 2704 | { $($ty:ty[$n:expr_2021],)* } => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr_2021, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr_2021),*], $nsyms:expr, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/link.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | { $struct_name:ident, $pkg_name:expr, [$($lib_name:expr),*], $nsyms:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/xlib.rs:2704:17 [INFO] [stdout] | [INFO] [stdout] 2704 | { $($ty:ty[$n:expr],)* } => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2704 | { $($ty:ty[$n:expr_2021],)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn mem_eq(a: &T, b: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let mut output: O = zeroed(); [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/internal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub unsafe fn transmute_union(input: &I) -> O [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | I: Sized, [INFO] [stdout] 28 | | O: Sized, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | *((&mut output as *mut O as usize + i) as *mut u8) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | *((input as *const I as usize + i) as *const u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub unsafe fn _type(&mut self) -> *mut ::std::os::raw::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub unsafe fn add(&mut self) -> *mut XIAddMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub unsafe fn remove(&mut self) -> *mut XIRemoveMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | pub unsafe fn attach(&mut self) -> *mut XIAttachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn detach(&mut self) -> *mut XIDetachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [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: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Fixed examples/xrecord.rs (1 fix) [INFO] [stderr] Migrating examples/input.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/hello-world.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling x11 v2.21.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / x11_link! { Xlib, x11, ["libX11.so.6", "libX11.so"], 767, [INFO] [stdout] 26 | | pub fn XActivateScreenSaver (_1: *mut Display) -> c_int, [INFO] [stdout] 27 | | pub fn XAddConnectionWatch (_3: *mut Display, _2: Option *mut XExtCodes, [INFO] [stdout] ... | [INFO] [stdout] 794 | | globals: [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/dpms.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 9, [INFO] [stdout] 15 | | pub fn DPMSQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn DPMSGetVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn DPMSCapable (_1: *mut Display) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/glx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Glx, gl, ["libGL.so.1", "libGL.so"], 40, [INFO] [stdout] 14 | | pub fn glXChooseFBConfig (_4: *mut Display, _3: c_int, _2: *const c_int, _1: *mut c_int) -> *mut GLXFBConfig, [INFO] [stdout] 15 | | pub fn glXChooseVisual (_3: *mut Display, _2: c_int, _1: *mut c_int) -> *mut XVisualInfo, [INFO] [stdout] 16 | | pub fn glXCopyContext (_4: *mut Display, _3: GLXContext, _2: GLXContext, _1: c_ulong) -> (), [INFO] [stdout] ... | [INFO] [stdout] 55 | | globals: [INFO] [stdout] 56 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 38, [INFO] [stdout] 14 | | pub fn XSyncQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Status, [INFO] [stdout] 15 | | pub fn XSyncInitialize(dpy: *mut Display, major_version: *mut c_int, minor_version: *mut c_int) -> Status, [INFO] [stdout] 16 | | pub fn XSyncListSystemCounters(dpy: *mut Display, n_counters: *mut c_int) -> *mut XSyncSystemCounter, [INFO] [stdout] ... | [INFO] [stdout] 53 | | globals: [INFO] [stdout] 54 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xcursor.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xcursor, xcursor, ["libXcursor.so.1", "libXcursor.so"], 59, [INFO] [stdout] 15 | | pub fn XcursorAnimateCreate (_1: *mut XcursorCursors) -> *mut XcursorAnimate, [INFO] [stdout] 16 | | pub fn XcursorAnimateDestroy (_1: *mut XcursorAnimate) -> (), [INFO] [stdout] 17 | | pub fn XcursorAnimateNext (_1: *mut XcursorAnimate) -> c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 75 | | globals: [INFO] [stdout] 76 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xf86vmode.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xxf86vm, ["libXxf86vm.so.1", "libXxf86vm.so"], 22, [INFO] [stdout] 14 | | pub fn XF86VidModeAddModeLine (_4: *mut Display, _3: c_int, _2: *mut XF86VidModeModeInfo, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 15 | | pub fn XF86VidModeDeleteModeLine (_3: *mut Display, _2: c_int, _1: *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] 16 | | pub fn XF86VidModeGetAllModeLines (_4: *mut Display, _3: c_int, _2: *mut c_int, _1: *mut *mut *mut XF86VidModeModeInfo) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 37 | | globals: [INFO] [stdout] 38 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xfixes.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / x11_link! { Xlib, x11, ["libXfixes.so.3", "libXfixes.so"], 35, [INFO] [stdout] 13 | | pub fn XFixesQueryExtension(dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 14 | | pub fn XFixesQueryVersion(dpy: *mut Display, major_version: *mut c_int, minor_version: *const c_int) -> Status, [INFO] [stdout] 15 | | pub fn XFixesVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 49 | | globals: [INFO] [stdout] 50 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xft.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / x11_link! { Xft, xft, ["libXft.so.2", "libXft.so"], 77, [INFO] [stdout] 43 | | pub fn XftCharExists (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_int, [INFO] [stdout] 44 | | pub fn XftCharFontSpecRender (_7: *mut Display, _6: c_int, _5: c_ulong, _4: c_ulong, _3: c_int, _2: c_int, _1: *const XftCharFontSpec... [INFO] [stdout] 45 | | pub fn XftCharIndex (_2: *mut Display, _1: *mut XftFont, _0: c_uint) -> c_uint, [INFO] [stdout] ... | [INFO] [stdout] 121 | | globals: [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinerama.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xlib, xinerama, ["libXinerama.so.1", "libXinerama.so"], 10, [INFO] [stdout] 14 | | pub fn XineramaIsActive (dpy: *mut Display) -> Bool, [INFO] [stdout] 15 | | pub fn XineramaQueryExtension (dpy: *mut Display, event_base: *mut c_int, error_base: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XineramaQueryScreens (dpy: *mut Display, number: *mut c_int) -> *mut XineramaScreenInfo, [INFO] [stdout] ... | [INFO] [stdout] 25 | | globals: [INFO] [stdout] 26 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { XInput, xi, ["libXi.so.6", "libXi.so"], 44, [INFO] [stdout] 14 | | pub fn XAllowDeviceEvents (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 15 | | pub fn XChangeDeviceControl (_4: *mut Display, _3: *mut XDevice, _2: c_int, _1: *mut XDeviceControl) -> c_int, [INFO] [stdout] 16 | | pub fn XChangeDeviceDontPropagateList (_5: *mut Display, _4: c_ulong, _3: c_int, _2: *mut c_ulong, _1: c_int) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 60 | | globals: [INFO] [stdout] 61 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xinput2.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / x11_link! { XInput2, xi, ["libXi.so.6", "libXi.so"], 34, [INFO] [stdout] 28 | | pub fn XIAllowEvents (_4: *mut Display, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, [INFO] [stdout] 29 | | pub fn XIAllowTouchEvents (_5: *mut Display, _4: c_int, _3: c_uint, _2: c_ulong, _1: c_int) -> c_int, [INFO] [stdout] 30 | | pub fn XIBarrierReleasePointer (_4: *mut Display, _3: c_int, _2: c_ulong, _1: c_uint) -> (), [INFO] [stdout] ... | [INFO] [stdout] 63 | | globals: [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xmu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / x11_link! { Xmu, xmu, ["libXmu.so.6", "libXmu.so"], 132, [INFO] [stdout] 19 | | pub fn XmuAddCloseDisplayHook (_3: *mut Display, _2: Option c_int>, _1: *mut c_char... [INFO] [stdout] 20 | | pub fn XmuAddInitializer (_2: Option, _1: *mut c_char) -> (), [INFO] [stdout] 21 | | pub fn XmuAllStandardColormaps (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub static _XA_UTF8_STRING: AtomPtr, [INFO] [stdout] 153 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xpresent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xpresent, xpresent, ["libXpresent.so.1.0.0", "libXpresent.so"], 8, [INFO] [stdout] 17 | | pub fn XPresentQueryExtension( dpy: *mut Display, major_opcode_return: *mut c_int, event_base_return: *mut c_int, error_base_return: ... [INFO] [stdout] 18 | | pub fn XPresentQueryVersion( dpy: *mut Display, major_version_return: *mut c_int, minor_version_return: *mut c_int ) -> Status, [INFO] [stdout] 19 | | pub fn XPresentVersion() -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 26 | | globals: [INFO] [stdout] 27 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrandr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xrandr, xrandr, ["libXrandr.so.2", "libXrandr.so"], 70, [INFO] [stdout] 15 | | pub fn XRRAddOutputMode (dpy: *mut Display, output: RROutput, mode: RRMode) -> (), [INFO] [stdout] 16 | | pub fn XRRAllocGamma (size: c_int) -> *mut XRRCrtcGamma, [INFO] [stdout] 17 | | pub fn XRRAllocModeInfo (name: *const c_char, nameLength: c_int) -> *mut XRRModeInfo, [INFO] [stdout] ... | [INFO] [stdout] 86 | | globals: [INFO] [stdout] 87 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrecord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 14, [INFO] [stdout] 14 | | pub fn XRecordAllocRange () -> *mut XRecordRange, [INFO] [stdout] 15 | | pub fn XRecordCreateContext (_6: *mut Display, _5: c_int, _4: *mut c_ulong, _3: c_int, _2: *mut *mut XRecordRange, _1: c_int) -> c_ulong, [INFO] [stdout] 16 | | pub fn XRecordDisableContext (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 29 | | globals: [INFO] [stdout] 30 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xrender.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / x11_link! { Xrender, xrender, ["libXrender.so.1", "libXrender.so"], 44, [INFO] [stdout] 14 | | pub fn XRenderAddGlyphs (_7: *mut Display, _6: c_ulong, _5: *const c_ulong, _4: *const XGlyphInfo, _3: c_int, _2: *const c_char, _1: c_... [INFO] [stdout] 15 | | pub fn XRenderAddTraps (_6: *mut Display, _5: c_ulong, _4: c_int, _3: c_int, _2: *const XTrap, _1: c_int) -> (), [INFO] [stdout] 16 | | pub fn XRenderChangePicture (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *const XRenderPictureAttributes) -> (), [INFO] [stdout] ... | [INFO] [stdout] 59 | | globals: [INFO] [stdout] 60 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xshm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xext, xext, ["libXext.so.6", "libXext.so"], 10, [INFO] [stdout] 5 | | pub fn XShmQueryExtension(_1: *mut Display) -> Bool, [INFO] [stdout] 6 | | pub fn XShmGetEventBase(_1: *mut Display) -> c_int, [INFO] [stdout] 7 | | pub fn XShmQueryVersion(_4: *mut Display, _3: *mut c_int, _2: *mut c_int, _1: *mut Bool) -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 17 | | globals: [INFO] [stdout] 18 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xss.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xss, xscrnsaver, ["libXss.so.2", "libXss.so"], 11, [INFO] [stdout] 15 | | pub fn XScreenSaverQueryExtension (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Bool, [INFO] [stdout] 16 | | pub fn XScreenSaverQueryVersion (_1: *mut Display, _2: *mut c_int, _3: *mut c_int) -> Status, [INFO] [stdout] 17 | | pub fn XScreenSaverAllocInfo () -> *mut XScreenSaverInfo, [INFO] [stdout] ... | [INFO] [stdout] 27 | | globals: [INFO] [stdout] 28 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / x11_link! { Xt, xt, ["libXt.so.6", "libXt.so"], 300, [INFO] [stdout] 17 | | pub fn XtAddActions (_2: *mut XtActionsRec, _1: c_uint) -> (), [INFO] [stdout] 18 | | pub fn XtAddCallback (_4: Widget, _3: *const c_char, _2: Option, _1: *mut c_vo... [INFO] [stdout] 19 | | pub fn XtAddCallbacks (_3: Widget, _2: *const c_char, _1: XtCallbackList) -> (), [INFO] [stdout] ... | [INFO] [stdout] 318 | | globals: [INFO] [stdout] 319 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | $(pub fn $fn_name ($($param_name : $param_type),*) -> $ret_type;)* [INFO] [stdout] 15 | | $(pub fn $vfn_name ($($vparam_name : $vparam_type),+, ...) -> $vret_type;)* [INFO] [stdout] 16 | | } [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/link.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / extern { [INFO] [stdout] 19 | | $(pub static $var_name : $var_type;)* [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/xtest.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / x11_link! { Xf86vmode, xtst, ["libXtst.so.6", "libXtst.so"], 15, [INFO] [stdout] 15 | | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, [INFO] [stdout] 16 | | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, [INFO] [stdout] 17 | | pub fn XTestDiscard (_1: *mut Display) -> c_int, [INFO] [stdout] ... | [INFO] [stdout] 31 | | globals: [INFO] [stdout] 32 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn mem_eq(a: &T, b: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let mut output: O = zeroed(); [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/internal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub unsafe fn transmute_union(input: &I) -> O [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | I: Sized, [INFO] [stdout] 28 | | O: Sized, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | *((&mut output as *mut O as usize + i) as *mut u8) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | *((input as *const I as usize + i) as *const u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn mem_eq(a: &T, b: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | if *((a_addr + i) as *const u8) != *((b_addr + i) as *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let mut output: O = zeroed(); [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/internal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub unsafe fn transmute_union(input: &I) -> O [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | I: Sized, [INFO] [stdout] 28 | | O: Sized, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | *((&mut output as *mut O as usize + i) as *mut u8) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/internal.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | *((input as *const I as usize + i) as *const u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub unsafe fn _type(&mut self) -> *mut ::std::os::raw::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub unsafe fn add(&mut self) -> *mut XIAddMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub unsafe fn remove(&mut self) -> *mut XIRemoveMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | pub unsafe fn attach(&mut self) -> *mut XIAttachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn detach(&mut self) -> *mut XIDetachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub unsafe fn _type(&mut self) -> *mut ::std::os::raw::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub unsafe fn add(&mut self) -> *mut XIAddMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub unsafe fn remove(&mut self) -> *mut XIRemoveMasterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | pub unsafe fn attach(&mut self) -> *mut XIAttachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); [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/xinput2.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn detach(&mut self) -> *mut XIDetachSlaveInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/xinput2.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | ::std::mem::transmute(raw.offset(0)) [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] error: aborting due to 42 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x11` (lib) due to 43 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 42 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x11` (lib test) due to 43 previous errors; 20 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3a62c6addef99507878bae8c901abb12d9cfe453a0f5beb3edd124429a823f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a62c6addef99507878bae8c901abb12d9cfe453a0f5beb3edd124429a823f5c", kill_on_drop: false }` [INFO] [stdout] 3a62c6addef99507878bae8c901abb12d9cfe453a0f5beb3edd124429a823f5c