[INFO] fetching crate rutabaga_gfx 0.1.3... [INFO] checking rutabaga_gfx-0.1.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rutabaga_gfx 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rutabaga_gfx 0.1.3 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 rutabaga_gfx 0.1.3 [INFO] finished tweaking crates.io crate rutabaga_gfx 0.1.3 [INFO] tweaked toml for crates.io crate rutabaga_gfx 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding nix v0.27.1 (available: v0.29.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bce2f477b83b0bb04b809357d9c667015cf93242666f1d7e1daa0dd394318b15 [INFO] running `Command { std: "docker" "start" "-a" "bce2f477b83b0bb04b809357d9c667015cf93242666f1d7e1daa0dd394318b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bce2f477b83b0bb04b809357d9c667015cf93242666f1d7e1daa0dd394318b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce2f477b83b0bb04b809357d9c667015cf93242666f1d7e1daa0dd394318b15", kill_on_drop: false }` [INFO] [stdout] bce2f477b83b0bb04b809357d9c667015cf93242666f1d7e1daa0dd394318b15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90d446a52fc43828f08f2822bd36b30933c5938491e824a8ffe4ef391a16fa7 [INFO] running `Command { std: "docker" "start" "-a" "f90d446a52fc43828f08f2822bd36b30933c5938491e824a8ffe4ef391a16fa7", 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 thiserror-impl v1.0.64 [INFO] [stderr] Compiling remain v0.2.14 [INFO] [stderr] Compiling rutabaga_gfx v0.1.3 (/tmp/fixit) [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (2 fixes) [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rutabaga_gfx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($x:expr_2021; <= $y: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/macros.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | ($x:expr_2021; <= $y: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/macros.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | ($x:ident $op:ident $y:ident $op_name: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 3 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: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | pub fn vsnprintf( [INFO] [stdout] 13 | | __s: *mut ::std::os::raw::c_char, [INFO] [stdout] 14 | | __maxlen: ::std::os::raw::c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 74 | | pub fn virgl_set_debug_callback(cb: virgl_debug_callback_type) -> virgl_debug_callback_type; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 118 | | pub fn virgl_renderer_init( [INFO] [stdout] 119 | | cookie: *mut ::std::os::raw::c_void, [INFO] [stdout] 120 | | flags: ::std::os::raw::c_int, [INFO] [stdout] 121 | | cb: *mut virgl_renderer_callbacks, [INFO] [stdout] 122 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 125 | | pub fn virgl_renderer_poll(); [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 128 | | pub fn virgl_renderer_get_cursor_data( [INFO] [stdout] 129 | | resource_id: u32, [INFO] [stdout] 130 | | width: *mut u32, [INFO] [stdout] 131 | | height: *mut u32, [INFO] [stdout] 132 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 135 | | pub fn virgl_renderer_get_rect( [INFO] [stdout] 136 | | resource_id: ::std::os::raw::c_int, [INFO] [stdout] 137 | | iov: *mut iovec, [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 147 | | pub fn virgl_renderer_get_fd_for_texture( [INFO] [stdout] 148 | | tex_id: u32, [INFO] [stdout] 149 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 150 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 153 | | pub fn virgl_renderer_get_fd_for_texture2( [INFO] [stdout] 154 | | tex_id: u32, [INFO] [stdout] 155 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 158 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 223 | | pub fn virgl_renderer_resource_create( [INFO] [stdout] 224 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 225 | | iov: *mut iovec, [INFO] [stdout] 226 | | num_iovs: u32, [INFO] [stdout] 227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 230 | | pub fn virgl_renderer_resource_import_eglimage( [INFO] [stdout] 231 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 232 | | image: *mut ::std::os::raw::c_void, [INFO] [stdout] 233 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 236 | | pub fn virgl_renderer_resource_unref(res_handle: u32); [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 239 | | pub fn virgl_renderer_resource_set_priv(res_handle: u32, priv_: *mut ::std::os::raw::c_void); [INFO] [stdout] 240 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 242 | | pub fn virgl_renderer_resource_get_priv(res_handle: u32) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 245 | | pub fn virgl_renderer_context_create( [INFO] [stdout] 246 | | handle: u32, [INFO] [stdout] 247 | | nlen: u32, [INFO] [stdout] 248 | | name: *const ::std::os::raw::c_char, [INFO] [stdout] 249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 252 | | pub fn virgl_renderer_context_destroy(handle: u32); [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 255 | | pub fn virgl_renderer_submit_cmd( [INFO] [stdout] 256 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 257 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 258 | | ndw: ::std::os::raw::c_int, [INFO] [stdout] 259 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 262 | | pub fn virgl_renderer_transfer_read_iov( [INFO] [stdout] 263 | | handle: u32, [INFO] [stdout] 264 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 272 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 275 | | pub fn virgl_renderer_transfer_write_iov( [INFO] [stdout] 276 | | handle: u32, [INFO] [stdout] 277 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 285 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 288 | | pub fn virgl_renderer_get_cap_set(set: u32, max_ver: *mut u32, max_size: *mut u32); [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 291 | | pub fn virgl_renderer_fill_caps(set: u32, version: u32, caps: *mut ::std::os::raw::c_void); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | pub fn virgl_renderer_resource_attach_iov( [INFO] [stdout] 295 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 296 | | iov: *mut iovec, [INFO] [stdout] 297 | | num_iovs: ::std::os::raw::c_int, [INFO] [stdout] 298 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 301 | | pub fn virgl_renderer_resource_detach_iov( [INFO] [stdout] 302 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 303 | | iov: *mut *mut iovec, [INFO] [stdout] 304 | | num_iovs: *mut ::std::os::raw::c_int, [INFO] [stdout] 305 | | ); [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 308 | | pub fn virgl_renderer_create_fence( [INFO] [stdout] 309 | | client_fence_id: ::std::os::raw::c_int, [INFO] [stdout] 310 | | ctx_id: u32, [INFO] [stdout] 311 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 314 | | pub fn virgl_renderer_force_ctx_0(); [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 317 | | pub fn virgl_renderer_ctx_attach_resource( [INFO] [stdout] 318 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 319 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 320 | | ); [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 323 | | pub fn virgl_renderer_ctx_detach_resource( [INFO] [stdout] 324 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 325 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 326 | | ); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 329 | | pub fn virgl_set_log_callback( [INFO] [stdout] 330 | | cb: virgl_log_callback_type, [INFO] [stdout] 331 | | user_data: *mut ::std::os::raw::c_void, [INFO] [stdout] 332 | | free_user_data_cb: virgl_free_data_callback_type, [INFO] [stdout] 333 | | ); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 371 | | pub fn virgl_renderer_resource_get_info( [INFO] [stdout] 372 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 373 | | info: *mut virgl_renderer_resource_info, [INFO] [stdout] 374 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 375 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 377 | | pub fn virgl_renderer_resource_get_info_ext( [INFO] [stdout] 378 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 379 | | info: *mut virgl_renderer_resource_info_ext, [INFO] [stdout] 380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 381 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 383 | | pub fn virgl_renderer_cleanup(cookie: *mut ::std::os::raw::c_void); [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 386 | | pub fn virgl_renderer_reset(); [INFO] [stdout] 387 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 389 | | pub fn virgl_renderer_get_poll_fd() -> ::std::os::raw::c_int; [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 392 | | pub fn virgl_renderer_execute( [INFO] [stdout] 393 | | execute_args: *mut ::std::os::raw::c_void, [INFO] [stdout] 394 | | execute_size: u32, [INFO] [stdout] 395 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 398 | | pub fn virgl_renderer_context_create_with_flags( [INFO] [stdout] 399 | | ctx_id: u32, [INFO] [stdout] 400 | | ctx_flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 403 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 429 | | pub fn virgl_renderer_resource_create_blob( [INFO] [stdout] 430 | | args: *const virgl_renderer_resource_create_blob_args, [INFO] [stdout] 431 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 434 | | pub fn virgl_renderer_resource_map( [INFO] [stdout] 435 | | res_handle: u32, [INFO] [stdout] 436 | | map: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 437 | | out_size: *mut u64, [INFO] [stdout] 438 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 439 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 441 | | pub fn virgl_renderer_resource_unmap(res_handle: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 444 | | pub fn virgl_renderer_resource_get_map_info( [INFO] [stdout] 445 | | res_handle: u32, [INFO] [stdout] 446 | | map_info: *mut u32, [INFO] [stdout] 447 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 450 | | pub fn virgl_renderer_resource_export_blob( [INFO] [stdout] 451 | | res_id: u32, [INFO] [stdout] 452 | | fd_type: *mut u32, [INFO] [stdout] 453 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 454 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:465:1 [INFO] [stdout] | [INFO] [stdout] 465 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 466 | | pub fn virgl_renderer_resource_import_blob( [INFO] [stdout] 467 | | args: *const virgl_renderer_resource_import_blob_args, [INFO] [stdout] 468 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 470 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 471 | | pub fn virgl_renderer_context_create_fence( [INFO] [stdout] 472 | | ctx_id: u32, [INFO] [stdout] 473 | | flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 476 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 477 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 479 | | pub fn virgl_renderer_export_fence( [INFO] [stdout] 480 | | client_fence_id: u64, [INFO] [stdout] 481 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 482 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 483 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 485 | | pub fn virgl_renderer_export_signalled_fence() -> ::std::os::raw::c_int; [INFO] [stdout] 486 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 488 | | pub fn virgl_renderer_context_poll(ctx_id: u32); [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 491 | | pub fn virgl_renderer_context_get_poll_fd(ctx_id: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 494 | | pub fn virgl_renderer_submit_cmd2( [INFO] [stdout] 495 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 496 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 500 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | ($x:expr; <= $y: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] 9 | ($x:expr_2021; <= $y: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/macros.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | ($x:expr; <= $y: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] 9 | ($x:expr; <= $y:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ($x:ident $op:ident $y:ident $op_name: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] 26 | ($x:ident $op:ident $y:ident $op_name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shm::round_up_to_page_size` [INFO] [stdout] --> src/rutabaga_os/sys/linux/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use shm::round_up_to_page_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `descriptor::AsRawDescriptors` [INFO] [stdout] --> src/rutabaga_os/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use descriptor::AsRawDescriptors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_raw_descriptors` is never used [INFO] [stdout] --> src/rutabaga_os/descriptor.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait AsRawDescriptors { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn as_raw_descriptors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(queue) = jobs.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match jobs.as_mut() { Some(queue) => { [INFO] [stdout] 203 | queue.push_back(job); [INFO] [stdout] 204 | self.jobs_cvar.notify_one(); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | while let Some(job) = self.state.wait_for_job() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | if let Some(state) = &self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 593 ~ match &self.state { Some(state) => { [INFO] [stdout] 594 | response.blob_id = add_item(&self.item_state, CrossDomainItem::ImageRequirements(reqs)); [INFO] [stdout] 595 | state.write_to_ring(RingWrite::Write(response, None), state.query_ring_id)?; [INFO] [stdout] 596 | Ok(()) [INFO] [stdout] 597 ~ } _ => { [INFO] [stdout] 598 | Err(RutabagaError::InvalidCrossDomainState) [INFO] [stdout] 599 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | if let Some(kill_evt) = self.kill_evt.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 640 ~ match self.kill_evt.take() { Some(kill_evt) => { [INFO] [stdout] 641 | // Log the error, but still try to join the worker thread [INFO] [stdout] ... [INFO] [stdout] 651 | } [INFO] [stdout] 652 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | if let Some(worker_thread) = self.worker_thread.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 649 ~ match self.worker_thread.take() { Some(worker_thread) => { [INFO] [stdout] 650 | let _ = worker_thread.join(); [INFO] [stdout] 651 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:858:19 [INFO] [stdout] | [INFO] [stdout] 858 | } else if let Some(ref handle) = resource.handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:866:9 [INFO] [stdout] | [INFO] [stdout] 866 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 858 ~ } else { match resource.handle { Some(ref handle) => { [INFO] [stdout] 859 | self.context_resources.lock().unwrap().insert( [INFO] [stdout] ... [INFO] [stdout] 865 | ); [INFO] [stdout] 866 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:880:20 [INFO] [stdout] | [INFO] [stdout] 880 | if let Some(state) = &self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:882:17 [INFO] [stdout] | [INFO] [stdout] 882 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 880 ~ match &self.state { Some(state) => { [INFO] [stdout] 881 | state.add_job(CrossDomainJob::HandleFence(fence)); [INFO] [stdout] 882 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(connection) = &self.connection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match &self.connection { Some(connection) => { [INFO] [stdout] 111 | let r = recvmsg::<()>( [INFO] [stdout] ... [INFO] [stdout] 133 | Ok((len, files)) [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | Err(RutabagaError::InvalidCrossDomainChannel) [INFO] [stdout] 136 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(ref handle) = context_resource.handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 201 ~ match context_resource.handle { Some(ref handle) => { [INFO] [stdout] 202 | *descriptor = handle.os_handle.as_raw_descriptor(); [INFO] [stdout] 203 ~ } _ => { [INFO] [stdout] 204 | return Err(RutabagaError::InvalidRutabagaHandle); [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | if let (Some(state), Some(resample_evt)) = (&self.state, &self.resample_evt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match (&self.state, &self.resample_evt) { (Some(state), Some(resample_evt)) => { [INFO] [stdout] 244 | state.send_msg(opaque_data, &descriptors[..num_identifiers])?; [INFO] [stdout] ... [INFO] [stdout] 249 | } [INFO] [stdout] 250 ~ } _ => { [INFO] [stdout] 251 | return Err(RutabagaError::InvalidCrossDomainState); [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(component) = self.components.get(&self.default_component) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 522 ~ match self.components.get(&self.default_component) { Some(component) => { [INFO] [stdout] 523 | component.force_ctx_0(); [INFO] [stdout] 524 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | if let Some(component) = self.components.get(&self.default_component) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ match self.components.get(&self.default_component) { Some(component) => { [INFO] [stdout] 553 | component.event_poll(); [INFO] [stdout] 554 ~ } _ => {}} [INFO] [stdout] | [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] warning: failed to automatically apply fixes suggested by rustc to crate `rutabaga_gfx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($x:expr_2021; <= $y: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/macros.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | ($x:expr_2021; <= $y: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/macros.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | ($x:ident $op:ident $y:ident $op_name: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 3 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: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | pub fn vsnprintf( [INFO] [stdout] 13 | | __s: *mut ::std::os::raw::c_char, [INFO] [stdout] 14 | | __maxlen: ::std::os::raw::c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 74 | | pub fn virgl_set_debug_callback(cb: virgl_debug_callback_type) -> virgl_debug_callback_type; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 118 | | pub fn virgl_renderer_init( [INFO] [stdout] 119 | | cookie: *mut ::std::os::raw::c_void, [INFO] [stdout] 120 | | flags: ::std::os::raw::c_int, [INFO] [stdout] 121 | | cb: *mut virgl_renderer_callbacks, [INFO] [stdout] 122 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 125 | | pub fn virgl_renderer_poll(); [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 128 | | pub fn virgl_renderer_get_cursor_data( [INFO] [stdout] 129 | | resource_id: u32, [INFO] [stdout] 130 | | width: *mut u32, [INFO] [stdout] 131 | | height: *mut u32, [INFO] [stdout] 132 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 135 | | pub fn virgl_renderer_get_rect( [INFO] [stdout] 136 | | resource_id: ::std::os::raw::c_int, [INFO] [stdout] 137 | | iov: *mut iovec, [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 147 | | pub fn virgl_renderer_get_fd_for_texture( [INFO] [stdout] 148 | | tex_id: u32, [INFO] [stdout] 149 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 150 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 153 | | pub fn virgl_renderer_get_fd_for_texture2( [INFO] [stdout] 154 | | tex_id: u32, [INFO] [stdout] 155 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 158 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 223 | | pub fn virgl_renderer_resource_create( [INFO] [stdout] 224 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 225 | | iov: *mut iovec, [INFO] [stdout] 226 | | num_iovs: u32, [INFO] [stdout] 227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 230 | | pub fn virgl_renderer_resource_import_eglimage( [INFO] [stdout] 231 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 232 | | image: *mut ::std::os::raw::c_void, [INFO] [stdout] 233 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 236 | | pub fn virgl_renderer_resource_unref(res_handle: u32); [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 239 | | pub fn virgl_renderer_resource_set_priv(res_handle: u32, priv_: *mut ::std::os::raw::c_void); [INFO] [stdout] 240 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 242 | | pub fn virgl_renderer_resource_get_priv(res_handle: u32) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 245 | | pub fn virgl_renderer_context_create( [INFO] [stdout] 246 | | handle: u32, [INFO] [stdout] 247 | | nlen: u32, [INFO] [stdout] 248 | | name: *const ::std::os::raw::c_char, [INFO] [stdout] 249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 252 | | pub fn virgl_renderer_context_destroy(handle: u32); [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 255 | | pub fn virgl_renderer_submit_cmd( [INFO] [stdout] 256 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 257 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 258 | | ndw: ::std::os::raw::c_int, [INFO] [stdout] 259 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 262 | | pub fn virgl_renderer_transfer_read_iov( [INFO] [stdout] 263 | | handle: u32, [INFO] [stdout] 264 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 272 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 275 | | pub fn virgl_renderer_transfer_write_iov( [INFO] [stdout] 276 | | handle: u32, [INFO] [stdout] 277 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 285 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 288 | | pub fn virgl_renderer_get_cap_set(set: u32, max_ver: *mut u32, max_size: *mut u32); [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 291 | | pub fn virgl_renderer_fill_caps(set: u32, version: u32, caps: *mut ::std::os::raw::c_void); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | pub fn virgl_renderer_resource_attach_iov( [INFO] [stdout] 295 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 296 | | iov: *mut iovec, [INFO] [stdout] 297 | | num_iovs: ::std::os::raw::c_int, [INFO] [stdout] 298 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 301 | | pub fn virgl_renderer_resource_detach_iov( [INFO] [stdout] 302 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 303 | | iov: *mut *mut iovec, [INFO] [stdout] 304 | | num_iovs: *mut ::std::os::raw::c_int, [INFO] [stdout] 305 | | ); [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 308 | | pub fn virgl_renderer_create_fence( [INFO] [stdout] 309 | | client_fence_id: ::std::os::raw::c_int, [INFO] [stdout] 310 | | ctx_id: u32, [INFO] [stdout] 311 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 314 | | pub fn virgl_renderer_force_ctx_0(); [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 317 | | pub fn virgl_renderer_ctx_attach_resource( [INFO] [stdout] 318 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 319 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 320 | | ); [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 323 | | pub fn virgl_renderer_ctx_detach_resource( [INFO] [stdout] 324 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 325 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 326 | | ); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 329 | | pub fn virgl_set_log_callback( [INFO] [stdout] 330 | | cb: virgl_log_callback_type, [INFO] [stdout] 331 | | user_data: *mut ::std::os::raw::c_void, [INFO] [stdout] 332 | | free_user_data_cb: virgl_free_data_callback_type, [INFO] [stdout] 333 | | ); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 371 | | pub fn virgl_renderer_resource_get_info( [INFO] [stdout] 372 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 373 | | info: *mut virgl_renderer_resource_info, [INFO] [stdout] 374 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 375 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 377 | | pub fn virgl_renderer_resource_get_info_ext( [INFO] [stdout] 378 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 379 | | info: *mut virgl_renderer_resource_info_ext, [INFO] [stdout] 380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 381 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 383 | | pub fn virgl_renderer_cleanup(cookie: *mut ::std::os::raw::c_void); [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 386 | | pub fn virgl_renderer_reset(); [INFO] [stdout] 387 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 389 | | pub fn virgl_renderer_get_poll_fd() -> ::std::os::raw::c_int; [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 392 | | pub fn virgl_renderer_execute( [INFO] [stdout] 393 | | execute_args: *mut ::std::os::raw::c_void, [INFO] [stdout] 394 | | execute_size: u32, [INFO] [stdout] 395 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 398 | | pub fn virgl_renderer_context_create_with_flags( [INFO] [stdout] 399 | | ctx_id: u32, [INFO] [stdout] 400 | | ctx_flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 403 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 429 | | pub fn virgl_renderer_resource_create_blob( [INFO] [stdout] 430 | | args: *const virgl_renderer_resource_create_blob_args, [INFO] [stdout] 431 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 434 | | pub fn virgl_renderer_resource_map( [INFO] [stdout] 435 | | res_handle: u32, [INFO] [stdout] 436 | | map: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 437 | | out_size: *mut u64, [INFO] [stdout] 438 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 439 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 441 | | pub fn virgl_renderer_resource_unmap(res_handle: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 444 | | pub fn virgl_renderer_resource_get_map_info( [INFO] [stdout] 445 | | res_handle: u32, [INFO] [stdout] 446 | | map_info: *mut u32, [INFO] [stdout] 447 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 450 | | pub fn virgl_renderer_resource_export_blob( [INFO] [stdout] 451 | | res_id: u32, [INFO] [stdout] 452 | | fd_type: *mut u32, [INFO] [stdout] 453 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 454 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:465:1 [INFO] [stdout] | [INFO] [stdout] 465 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 466 | | pub fn virgl_renderer_resource_import_blob( [INFO] [stdout] 467 | | args: *const virgl_renderer_resource_import_blob_args, [INFO] [stdout] 468 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 470 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 471 | | pub fn virgl_renderer_context_create_fence( [INFO] [stdout] 472 | | ctx_id: u32, [INFO] [stdout] 473 | | flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 476 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 477 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 479 | | pub fn virgl_renderer_export_fence( [INFO] [stdout] 480 | | client_fence_id: u64, [INFO] [stdout] 481 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 482 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 483 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 485 | | pub fn virgl_renderer_export_signalled_fence() -> ::std::os::raw::c_int; [INFO] [stdout] 486 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 488 | | pub fn virgl_renderer_context_poll(ctx_id: u32); [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 491 | | pub fn virgl_renderer_context_get_poll_fd(ctx_id: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 494 | | pub fn virgl_renderer_submit_cmd2( [INFO] [stdout] 495 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 496 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 500 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | ($x:expr; <= $y: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] 9 | ($x:expr_2021; <= $y: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/macros.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | ($x:expr; <= $y: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] 9 | ($x:expr; <= $y:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ($x:ident $op:ident $y:ident $op_name: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] 26 | ($x:ident $op:ident $y:ident $op_name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shm::round_up_to_page_size` [INFO] [stdout] --> src/rutabaga_os/sys/linux/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use shm::round_up_to_page_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `descriptor::AsRawDescriptors` [INFO] [stdout] --> src/rutabaga_os/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use descriptor::AsRawDescriptors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_raw_descriptors` is never used [INFO] [stdout] --> src/rutabaga_os/descriptor.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait AsRawDescriptors { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn as_raw_descriptors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(queue) = jobs.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match jobs.as_mut() { Some(queue) => { [INFO] [stdout] 203 | queue.push_back(job); [INFO] [stdout] 204 | self.jobs_cvar.notify_one(); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | while let Some(job) = self.state.wait_for_job() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | if let Some(state) = &self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 593 ~ match &self.state { Some(state) => { [INFO] [stdout] 594 | response.blob_id = add_item(&self.item_state, CrossDomainItem::ImageRequirements(reqs)); [INFO] [stdout] 595 | state.write_to_ring(RingWrite::Write(response, None), state.query_ring_id)?; [INFO] [stdout] 596 | Ok(()) [INFO] [stdout] 597 ~ } _ => { [INFO] [stdout] 598 | Err(RutabagaError::InvalidCrossDomainState) [INFO] [stdout] 599 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | if let Some(kill_evt) = self.kill_evt.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 640 ~ match self.kill_evt.take() { Some(kill_evt) => { [INFO] [stdout] 641 | // Log the error, but still try to join the worker thread [INFO] [stdout] ... [INFO] [stdout] 651 | } [INFO] [stdout] 652 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | if let Some(worker_thread) = self.worker_thread.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 649 ~ match self.worker_thread.take() { Some(worker_thread) => { [INFO] [stdout] 650 | let _ = worker_thread.join(); [INFO] [stdout] 651 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:858:19 [INFO] [stdout] | [INFO] [stdout] 858 | } else if let Some(ref handle) = resource.handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:866:9 [INFO] [stdout] | [INFO] [stdout] 866 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 858 ~ } else { match resource.handle { Some(ref handle) => { [INFO] [stdout] 859 | self.context_resources.lock().unwrap().insert( [INFO] [stdout] ... [INFO] [stdout] 865 | ); [INFO] [stdout] 866 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:880:20 [INFO] [stdout] | [INFO] [stdout] 880 | if let Some(state) = &self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/mod.rs:882:17 [INFO] [stdout] | [INFO] [stdout] 882 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 880 ~ match &self.state { Some(state) => { [INFO] [stdout] 881 | state.add_job(CrossDomainJob::HandleFence(fence)); [INFO] [stdout] 882 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(connection) = &self.connection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match &self.connection { Some(connection) => { [INFO] [stdout] 111 | let r = recvmsg::<()>( [INFO] [stdout] ... [INFO] [stdout] 133 | Ok((len, files)) [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | Err(RutabagaError::InvalidCrossDomainChannel) [INFO] [stdout] 136 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(ref handle) = context_resource.handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 201 ~ match context_resource.handle { Some(ref handle) => { [INFO] [stdout] 202 | *descriptor = handle.os_handle.as_raw_descriptor(); [INFO] [stdout] 203 ~ } _ => { [INFO] [stdout] 204 | return Err(RutabagaError::InvalidRutabagaHandle); [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | if let (Some(state), Some(resample_evt)) = (&self.state, &self.resample_evt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cross_domain/sys/linux.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match (&self.state, &self.resample_evt) { (Some(state), Some(resample_evt)) => { [INFO] [stdout] 244 | state.send_msg(opaque_data, &descriptors[..num_identifiers])?; [INFO] [stdout] ... [INFO] [stdout] 249 | } [INFO] [stdout] 250 ~ } _ => { [INFO] [stdout] 251 | return Err(RutabagaError::InvalidCrossDomainState); [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(component) = self.components.get(&self.default_component) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 522 ~ match self.components.get(&self.default_component) { Some(component) => { [INFO] [stdout] 523 | component.force_ctx_0(); [INFO] [stdout] 524 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | if let Some(component) = self.components.get(&self.default_component) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rutabaga_core.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ match self.components.get(&self.default_component) { Some(component) => { [INFO] [stdout] 553 | component.event_poll(); [INFO] [stdout] 554 ~ } _ => {}} [INFO] [stdout] | [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rutabaga_gfx v0.1.3 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | pub fn vsnprintf( [INFO] [stdout] 13 | | __s: *mut ::std::os::raw::c_char, [INFO] [stdout] 14 | | __maxlen: ::std::os::raw::c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / extern "C" { [INFO] [stdout] 74 | | pub fn virgl_set_debug_callback(cb: virgl_debug_callback_type) -> virgl_debug_callback_type; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / extern "C" { [INFO] [stdout] 118 | | pub fn virgl_renderer_init( [INFO] [stdout] 119 | | cookie: *mut ::std::os::raw::c_void, [INFO] [stdout] 120 | | flags: ::std::os::raw::c_int, [INFO] [stdout] 121 | | cb: *mut virgl_renderer_callbacks, [INFO] [stdout] 122 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / extern "C" { [INFO] [stdout] 125 | | pub fn virgl_renderer_poll(); [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / extern "C" { [INFO] [stdout] 128 | | pub fn virgl_renderer_get_cursor_data( [INFO] [stdout] 129 | | resource_id: u32, [INFO] [stdout] 130 | | width: *mut u32, [INFO] [stdout] 131 | | height: *mut u32, [INFO] [stdout] 132 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / extern "C" { [INFO] [stdout] 135 | | pub fn virgl_renderer_get_rect( [INFO] [stdout] 136 | | resource_id: ::std::os::raw::c_int, [INFO] [stdout] 137 | | iov: *mut iovec, [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / extern "C" { [INFO] [stdout] 147 | | pub fn virgl_renderer_get_fd_for_texture( [INFO] [stdout] 148 | | tex_id: u32, [INFO] [stdout] 149 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 150 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / extern "C" { [INFO] [stdout] 153 | | pub fn virgl_renderer_get_fd_for_texture2( [INFO] [stdout] 154 | | tex_id: u32, [INFO] [stdout] 155 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 158 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / extern "C" { [INFO] [stdout] 223 | | pub fn virgl_renderer_resource_create( [INFO] [stdout] 224 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 225 | | iov: *mut iovec, [INFO] [stdout] 226 | | num_iovs: u32, [INFO] [stdout] 227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | / extern "C" { [INFO] [stdout] 230 | | pub fn virgl_renderer_resource_import_eglimage( [INFO] [stdout] 231 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 232 | | image: *mut ::std::os::raw::c_void, [INFO] [stdout] 233 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | pub fn virgl_renderer_resource_unref(res_handle: u32); [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | / extern "C" { [INFO] [stdout] 239 | | pub fn virgl_renderer_resource_set_priv(res_handle: u32, priv_: *mut ::std::os::raw::c_void); [INFO] [stdout] 240 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / extern "C" { [INFO] [stdout] 242 | | pub fn virgl_renderer_resource_get_priv(res_handle: u32) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | / extern "C" { [INFO] [stdout] 245 | | pub fn virgl_renderer_context_create( [INFO] [stdout] 246 | | handle: u32, [INFO] [stdout] 247 | | nlen: u32, [INFO] [stdout] 248 | | name: *const ::std::os::raw::c_char, [INFO] [stdout] 249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | / extern "C" { [INFO] [stdout] 252 | | pub fn virgl_renderer_context_destroy(handle: u32); [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | pub fn virgl_renderer_submit_cmd( [INFO] [stdout] 256 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 257 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 258 | | ndw: ::std::os::raw::c_int, [INFO] [stdout] 259 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / extern "C" { [INFO] [stdout] 262 | | pub fn virgl_renderer_transfer_read_iov( [INFO] [stdout] 263 | | handle: u32, [INFO] [stdout] 264 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 272 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | / extern "C" { [INFO] [stdout] 275 | | pub fn virgl_renderer_transfer_write_iov( [INFO] [stdout] 276 | | handle: u32, [INFO] [stdout] 277 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 285 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | / extern "C" { [INFO] [stdout] 288 | | pub fn virgl_renderer_get_cap_set(set: u32, max_ver: *mut u32, max_size: *mut u32); [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / extern "C" { [INFO] [stdout] 291 | | pub fn virgl_renderer_fill_caps(set: u32, version: u32, caps: *mut ::std::os::raw::c_void); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | pub fn virgl_renderer_resource_attach_iov( [INFO] [stdout] 295 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 296 | | iov: *mut iovec, [INFO] [stdout] 297 | | num_iovs: ::std::os::raw::c_int, [INFO] [stdout] 298 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / extern "C" { [INFO] [stdout] 301 | | pub fn virgl_renderer_resource_detach_iov( [INFO] [stdout] 302 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 303 | | iov: *mut *mut iovec, [INFO] [stdout] 304 | | num_iovs: *mut ::std::os::raw::c_int, [INFO] [stdout] 305 | | ); [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | / extern "C" { [INFO] [stdout] 308 | | pub fn virgl_renderer_create_fence( [INFO] [stdout] 309 | | client_fence_id: ::std::os::raw::c_int, [INFO] [stdout] 310 | | ctx_id: u32, [INFO] [stdout] 311 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / extern "C" { [INFO] [stdout] 314 | | pub fn virgl_renderer_force_ctx_0(); [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | / extern "C" { [INFO] [stdout] 317 | | pub fn virgl_renderer_ctx_attach_resource( [INFO] [stdout] 318 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 319 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 320 | | ); [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | / extern "C" { [INFO] [stdout] 323 | | pub fn virgl_renderer_ctx_detach_resource( [INFO] [stdout] 324 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 325 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 326 | | ); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / extern "C" { [INFO] [stdout] 329 | | pub fn virgl_set_log_callback( [INFO] [stdout] 330 | | cb: virgl_log_callback_type, [INFO] [stdout] 331 | | user_data: *mut ::std::os::raw::c_void, [INFO] [stdout] 332 | | free_user_data_cb: virgl_free_data_callback_type, [INFO] [stdout] 333 | | ); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / extern "C" { [INFO] [stdout] 371 | | pub fn virgl_renderer_resource_get_info( [INFO] [stdout] 372 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 373 | | info: *mut virgl_renderer_resource_info, [INFO] [stdout] 374 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 375 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / extern "C" { [INFO] [stdout] 377 | | pub fn virgl_renderer_resource_get_info_ext( [INFO] [stdout] 378 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 379 | | info: *mut virgl_renderer_resource_info_ext, [INFO] [stdout] 380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 381 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | / extern "C" { [INFO] [stdout] 383 | | pub fn virgl_renderer_cleanup(cookie: *mut ::std::os::raw::c_void); [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / extern "C" { [INFO] [stdout] 386 | | pub fn virgl_renderer_reset(); [INFO] [stdout] 387 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / extern "C" { [INFO] [stdout] 389 | | pub fn virgl_renderer_get_poll_fd() -> ::std::os::raw::c_int; [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / extern "C" { [INFO] [stdout] 392 | | pub fn virgl_renderer_execute( [INFO] [stdout] 393 | | execute_args: *mut ::std::os::raw::c_void, [INFO] [stdout] 394 | | execute_size: u32, [INFO] [stdout] 395 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | / extern "C" { [INFO] [stdout] 398 | | pub fn virgl_renderer_context_create_with_flags( [INFO] [stdout] 399 | | ctx_id: u32, [INFO] [stdout] 400 | | ctx_flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 403 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | / extern "C" { [INFO] [stdout] 429 | | pub fn virgl_renderer_resource_create_blob( [INFO] [stdout] 430 | | args: *const virgl_renderer_resource_create_blob_args, [INFO] [stdout] 431 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | pub fn virgl_renderer_resource_map( [INFO] [stdout] 435 | | res_handle: u32, [INFO] [stdout] 436 | | map: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 437 | | out_size: *mut u64, [INFO] [stdout] 438 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 439 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | / extern "C" { [INFO] [stdout] 441 | | pub fn virgl_renderer_resource_unmap(res_handle: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | / extern "C" { [INFO] [stdout] 444 | | pub fn virgl_renderer_resource_get_map_info( [INFO] [stdout] 445 | | res_handle: u32, [INFO] [stdout] 446 | | map_info: *mut u32, [INFO] [stdout] 447 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / extern "C" { [INFO] [stdout] 450 | | pub fn virgl_renderer_resource_export_blob( [INFO] [stdout] 451 | | res_id: u32, [INFO] [stdout] 452 | | fd_type: *mut u32, [INFO] [stdout] 453 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 454 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:465:1 [INFO] [stdout] | [INFO] [stdout] 465 | / extern "C" { [INFO] [stdout] 466 | | pub fn virgl_renderer_resource_import_blob( [INFO] [stdout] 467 | | args: *const virgl_renderer_resource_import_blob_args, [INFO] [stdout] 468 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 470 | / extern "C" { [INFO] [stdout] 471 | | pub fn virgl_renderer_context_create_fence( [INFO] [stdout] 472 | | ctx_id: u32, [INFO] [stdout] 473 | | flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 476 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 477 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | / extern "C" { [INFO] [stdout] 479 | | pub fn virgl_renderer_export_fence( [INFO] [stdout] 480 | | client_fence_id: u64, [INFO] [stdout] 481 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 482 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 483 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | / extern "C" { [INFO] [stdout] 485 | | pub fn virgl_renderer_export_signalled_fence() -> ::std::os::raw::c_int; [INFO] [stdout] 486 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | / extern "C" { [INFO] [stdout] 488 | | pub fn virgl_renderer_context_poll(ctx_id: u32); [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | / extern "C" { [INFO] [stdout] 491 | | pub fn virgl_renderer_context_get_poll_fd(ctx_id: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / extern "C" { [INFO] [stdout] 494 | | pub fn virgl_renderer_submit_cmd2( [INFO] [stdout] 495 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 496 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 500 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | pub fn vsnprintf( [INFO] [stdout] 13 | | __s: *mut ::std::os::raw::c_char, [INFO] [stdout] 14 | | __maxlen: ::std::os::raw::c_ulong, [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_debug_callback_bindings.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / extern "C" { [INFO] [stdout] 74 | | pub fn virgl_set_debug_callback(cb: virgl_debug_callback_type) -> virgl_debug_callback_type; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / extern "C" { [INFO] [stdout] 118 | | pub fn virgl_renderer_init( [INFO] [stdout] 119 | | cookie: *mut ::std::os::raw::c_void, [INFO] [stdout] 120 | | flags: ::std::os::raw::c_int, [INFO] [stdout] 121 | | cb: *mut virgl_renderer_callbacks, [INFO] [stdout] 122 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / extern "C" { [INFO] [stdout] 125 | | pub fn virgl_renderer_poll(); [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / extern "C" { [INFO] [stdout] 128 | | pub fn virgl_renderer_get_cursor_data( [INFO] [stdout] 129 | | resource_id: u32, [INFO] [stdout] 130 | | width: *mut u32, [INFO] [stdout] 131 | | height: *mut u32, [INFO] [stdout] 132 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / extern "C" { [INFO] [stdout] 135 | | pub fn virgl_renderer_get_rect( [INFO] [stdout] 136 | | resource_id: ::std::os::raw::c_int, [INFO] [stdout] 137 | | iov: *mut iovec, [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / extern "C" { [INFO] [stdout] 147 | | pub fn virgl_renderer_get_fd_for_texture( [INFO] [stdout] 148 | | tex_id: u32, [INFO] [stdout] 149 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 150 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / extern "C" { [INFO] [stdout] 153 | | pub fn virgl_renderer_get_fd_for_texture2( [INFO] [stdout] 154 | | tex_id: u32, [INFO] [stdout] 155 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 158 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / extern "C" { [INFO] [stdout] 223 | | pub fn virgl_renderer_resource_create( [INFO] [stdout] 224 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 225 | | iov: *mut iovec, [INFO] [stdout] 226 | | num_iovs: u32, [INFO] [stdout] 227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | / extern "C" { [INFO] [stdout] 230 | | pub fn virgl_renderer_resource_import_eglimage( [INFO] [stdout] 231 | | args: *mut virgl_renderer_resource_create_args, [INFO] [stdout] 232 | | image: *mut ::std::os::raw::c_void, [INFO] [stdout] 233 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | pub fn virgl_renderer_resource_unref(res_handle: u32); [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | / extern "C" { [INFO] [stdout] 239 | | pub fn virgl_renderer_resource_set_priv(res_handle: u32, priv_: *mut ::std::os::raw::c_void); [INFO] [stdout] 240 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / extern "C" { [INFO] [stdout] 242 | | pub fn virgl_renderer_resource_get_priv(res_handle: u32) -> *mut ::std::os::raw::c_void; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | / extern "C" { [INFO] [stdout] 245 | | pub fn virgl_renderer_context_create( [INFO] [stdout] 246 | | handle: u32, [INFO] [stdout] 247 | | nlen: u32, [INFO] [stdout] 248 | | name: *const ::std::os::raw::c_char, [INFO] [stdout] 249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | / extern "C" { [INFO] [stdout] 252 | | pub fn virgl_renderer_context_destroy(handle: u32); [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | pub fn virgl_renderer_submit_cmd( [INFO] [stdout] 256 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 257 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 258 | | ndw: ::std::os::raw::c_int, [INFO] [stdout] 259 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / extern "C" { [INFO] [stdout] 262 | | pub fn virgl_renderer_transfer_read_iov( [INFO] [stdout] 263 | | handle: u32, [INFO] [stdout] 264 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 272 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | / extern "C" { [INFO] [stdout] 275 | | pub fn virgl_renderer_transfer_write_iov( [INFO] [stdout] 276 | | handle: u32, [INFO] [stdout] 277 | | ctx_id: u32, [INFO] [stdout] ... | [INFO] [stdout] 285 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | / extern "C" { [INFO] [stdout] 288 | | pub fn virgl_renderer_get_cap_set(set: u32, max_ver: *mut u32, max_size: *mut u32); [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / extern "C" { [INFO] [stdout] 291 | | pub fn virgl_renderer_fill_caps(set: u32, version: u32, caps: *mut ::std::os::raw::c_void); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | pub fn virgl_renderer_resource_attach_iov( [INFO] [stdout] 295 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 296 | | iov: *mut iovec, [INFO] [stdout] 297 | | num_iovs: ::std::os::raw::c_int, [INFO] [stdout] 298 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / extern "C" { [INFO] [stdout] 301 | | pub fn virgl_renderer_resource_detach_iov( [INFO] [stdout] 302 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 303 | | iov: *mut *mut iovec, [INFO] [stdout] 304 | | num_iovs: *mut ::std::os::raw::c_int, [INFO] [stdout] 305 | | ); [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | / extern "C" { [INFO] [stdout] 308 | | pub fn virgl_renderer_create_fence( [INFO] [stdout] 309 | | client_fence_id: ::std::os::raw::c_int, [INFO] [stdout] 310 | | ctx_id: u32, [INFO] [stdout] 311 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / extern "C" { [INFO] [stdout] 314 | | pub fn virgl_renderer_force_ctx_0(); [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | / extern "C" { [INFO] [stdout] 317 | | pub fn virgl_renderer_ctx_attach_resource( [INFO] [stdout] 318 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 319 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 320 | | ); [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | / extern "C" { [INFO] [stdout] 323 | | pub fn virgl_renderer_ctx_detach_resource( [INFO] [stdout] 324 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] 325 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 326 | | ); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / extern "C" { [INFO] [stdout] 329 | | pub fn virgl_set_log_callback( [INFO] [stdout] 330 | | cb: virgl_log_callback_type, [INFO] [stdout] 331 | | user_data: *mut ::std::os::raw::c_void, [INFO] [stdout] 332 | | free_user_data_cb: virgl_free_data_callback_type, [INFO] [stdout] 333 | | ); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / extern "C" { [INFO] [stdout] 371 | | pub fn virgl_renderer_resource_get_info( [INFO] [stdout] 372 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 373 | | info: *mut virgl_renderer_resource_info, [INFO] [stdout] 374 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 375 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / extern "C" { [INFO] [stdout] 377 | | pub fn virgl_renderer_resource_get_info_ext( [INFO] [stdout] 378 | | res_handle: ::std::os::raw::c_int, [INFO] [stdout] 379 | | info: *mut virgl_renderer_resource_info_ext, [INFO] [stdout] 380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 381 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | / extern "C" { [INFO] [stdout] 383 | | pub fn virgl_renderer_cleanup(cookie: *mut ::std::os::raw::c_void); [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / extern "C" { [INFO] [stdout] 386 | | pub fn virgl_renderer_reset(); [INFO] [stdout] 387 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / extern "C" { [INFO] [stdout] 389 | | pub fn virgl_renderer_get_poll_fd() -> ::std::os::raw::c_int; [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / extern "C" { [INFO] [stdout] 392 | | pub fn virgl_renderer_execute( [INFO] [stdout] 393 | | execute_args: *mut ::std::os::raw::c_void, [INFO] [stdout] 394 | | execute_size: u32, [INFO] [stdout] 395 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | / extern "C" { [INFO] [stdout] 398 | | pub fn virgl_renderer_context_create_with_flags( [INFO] [stdout] 399 | | ctx_id: u32, [INFO] [stdout] 400 | | ctx_flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 403 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | / extern "C" { [INFO] [stdout] 429 | | pub fn virgl_renderer_resource_create_blob( [INFO] [stdout] 430 | | args: *const virgl_renderer_resource_create_blob_args, [INFO] [stdout] 431 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | pub fn virgl_renderer_resource_map( [INFO] [stdout] 435 | | res_handle: u32, [INFO] [stdout] 436 | | map: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 437 | | out_size: *mut u64, [INFO] [stdout] 438 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 439 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | / extern "C" { [INFO] [stdout] 441 | | pub fn virgl_renderer_resource_unmap(res_handle: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | / extern "C" { [INFO] [stdout] 444 | | pub fn virgl_renderer_resource_get_map_info( [INFO] [stdout] 445 | | res_handle: u32, [INFO] [stdout] 446 | | map_info: *mut u32, [INFO] [stdout] 447 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / extern "C" { [INFO] [stdout] 450 | | pub fn virgl_renderer_resource_export_blob( [INFO] [stdout] 451 | | res_id: u32, [INFO] [stdout] 452 | | fd_type: *mut u32, [INFO] [stdout] 453 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 454 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:465:1 [INFO] [stdout] | [INFO] [stdout] 465 | / extern "C" { [INFO] [stdout] 466 | | pub fn virgl_renderer_resource_import_blob( [INFO] [stdout] 467 | | args: *const virgl_renderer_resource_import_blob_args, [INFO] [stdout] 468 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 470 | / extern "C" { [INFO] [stdout] 471 | | pub fn virgl_renderer_context_create_fence( [INFO] [stdout] 472 | | ctx_id: u32, [INFO] [stdout] 473 | | flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 476 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 477 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | / extern "C" { [INFO] [stdout] 479 | | pub fn virgl_renderer_export_fence( [INFO] [stdout] 480 | | client_fence_id: u64, [INFO] [stdout] 481 | | fd: *mut ::std::os::raw::c_int, [INFO] [stdout] 482 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 483 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | / extern "C" { [INFO] [stdout] 485 | | pub fn virgl_renderer_export_signalled_fence() -> ::std::os::raw::c_int; [INFO] [stdout] 486 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | / extern "C" { [INFO] [stdout] 488 | | pub fn virgl_renderer_context_poll(ctx_id: u32); [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | / extern "C" { [INFO] [stdout] 491 | | pub fn virgl_renderer_context_get_poll_fd(ctx_id: u32) -> ::std::os::raw::c_int; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/generated/virgl_renderer_bindings.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / extern "C" { [INFO] [stdout] 494 | | pub fn virgl_renderer_submit_cmd2( [INFO] [stdout] 495 | | buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] 496 | | ctx_id: ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 500 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shm::round_up_to_page_size` [INFO] [stdout] --> src/rutabaga_os/sys/linux/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use shm::round_up_to_page_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `descriptor::AsRawDescriptors` [INFO] [stdout] --> src/rutabaga_os/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use descriptor::AsRawDescriptors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shm::round_up_to_page_size` [INFO] [stdout] --> src/rutabaga_os/sys/linux/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use shm::round_up_to_page_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `descriptor::AsRawDescriptors` [INFO] [stdout] --> src/rutabaga_os/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use descriptor::AsRawDescriptors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | FromRawDescriptor!(File); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | $name::from_raw_fd(descriptor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rutabaga_os/sys/linux/descriptor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | FromRawDescriptor!(OwnedFd); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `FromRawDescriptor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 4 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 `rutabaga_gfx` (lib) due to 47 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 46 previous errors; 4 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 `rutabaga_gfx` (lib test) due to 47 previous errors; 4 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" "f90d446a52fc43828f08f2822bd36b30933c5938491e824a8ffe4ef391a16fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90d446a52fc43828f08f2822bd36b30933c5938491e824a8ffe4ef391a16fa7", kill_on_drop: false }` [INFO] [stdout] f90d446a52fc43828f08f2822bd36b30933c5938491e824a8ffe4ef391a16fa7