[INFO] fetching crate nvim-api 0.2.0... [INFO] checking nvim-api-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate nvim-api 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate nvim-api 0.2.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nvim-api 0.2.0 [INFO] finished tweaking crates.io crate nvim-api 0.2.0 [INFO] tweaked toml for crates.io crate nvim-api 0.2.0 written to /workspace/builds/worker-0-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 darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_builder v0.11.2 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.11.2 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.11.2 (available: v0.20.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 704b857b9df0bb5a8ecf0604fbf442726788268420458a9c05c888e207849b30 [INFO] running `Command { std: "docker" "start" "-a" "704b857b9df0bb5a8ecf0604fbf442726788268420458a9c05c888e207849b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "704b857b9df0bb5a8ecf0604fbf442726788268420458a9c05c888e207849b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704b857b9df0bb5a8ecf0604fbf442726788268420458a9c05c888e207849b30", kill_on_drop: false }` [INFO] [stdout] 704b857b9df0bb5a8ecf0604fbf442726788268420458a9c05c888e207849b30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e46e63dfb29f210c804c943d92dec87fe479195c1bc2b326d0f57e1dd1080e1d [INFO] running `Command { std: "docker" "start" "-a" "e46e63dfb29f210c804c943d92dec87fe479195c1bc2b326d0f57e1dd1080e1d", 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 syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking luajit-bindings v0.2.0 [INFO] [stderr] Checking nvim-types v0.2.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking nvim-api v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `nvim_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:53:6 [INFO] [stderr] | [INFO] [stderr] 53 | ($err: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/lib.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | ($err:expr_2021, $other: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/lib.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | ($err:expr_2021, $other: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/ffi/autocmd.rs:11:1 [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 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/autocmd.c#L621 [INFO] [stdout] 13 | | pub(crate) fn nvim_clear_autocmds( [INFO] [stdout] 14 | | opts: *const KeyDict_clear_autocmds, [INFO] [stdout] ... | [INFO] [stdout] 57 | | ) -> Array; [INFO] [stdout] 58 | | } [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/ffi/buffer.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/buffer.c#L145 [INFO] [stdout] 21 | | pub(crate) fn nvim_buf_attach( [INFO] [stdout] 22 | | channel_id: u64, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ); [INFO] [stdout] 236 | | } [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/ffi/extmark.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/extmark.c#L863 [INFO] [stdout] 16 | | pub(crate) fn nvim_buf_add_highlight( [INFO] [stdout] 17 | | buf: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] 84 | | } [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/ffi/global.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 17 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/vim.c#L1231 [INFO] [stdout] 18 | | pub(crate) fn nvim_chan_send( [INFO] [stdout] 19 | | chan: Integer, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> Integer; [INFO] [stdout] 376 | | } [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/ffi/tabpage.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 13 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/tabpage.c#L85 [INFO] [stdout] 14 | | pub(crate) fn nvim_tabpage_del_var( [INFO] [stdout] 15 | | tabpage: TabHandle, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ); [INFO] [stdout] 55 | | } [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/ffi/vimscript.rs:11:1 [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 | | // https://github.com/neovim/neovim/blob/mastert/src/nvim/api/vimscript.c#L248 [INFO] [stdout] 13 | | pub(crate) fn nvim_call_dict_function( [INFO] [stdout] 14 | | dict: NonOwning, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> Dictionary; [INFO] [stdout] 68 | | } [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/ffi/win_config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/win_config.c#L144 [INFO] [stdout] 7 | | pub(crate) fn nvim_open_win( [INFO] [stdout] 8 | | buffer: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] 26 | | } [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/ffi/window.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 16 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/window.c#L410 [INFO] [stdout] 17 | | pub(crate) fn nvim_win_call( [INFO] [stdout] 18 | | win: WinHandle, [INFO] [stdout] ... | [INFO] [stdout] 142 | | ); [INFO] [stdout] 143 | | } [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/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | ($err: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] 53 | ($err: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/lib.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | ($err:expr, $other: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] 61 | ($err:expr_2021, $other: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/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | ($err:expr, $other: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] 61 | ($err:expr, $other:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | BufHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / unsafe fn pop( [INFO] [stdout] 75 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 76 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe fn push( [INFO] [stdout] 83 | | self, [INFO] [stdout] 84 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 85 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TabHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn pop( [INFO] [stdout] 49 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 50 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / unsafe fn push( [INFO] [stdout] 57 | | self, [INFO] [stdout] 58 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 59 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/autocmd_callback_args.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/autocmd_callback_args.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn pop( [INFO] [stdout] 50 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 51 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/command_args.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/command_args.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / unsafe fn pop( [INFO] [stdout] 65 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WinHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / unsafe fn pop( [INFO] [stdout] 64 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 65 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / unsafe fn push( [INFO] [stdout] 72 | | self, [INFO] [stdout] 73 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 74 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/autocmd.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/autocmd.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | opts: &GetAutocmdsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 256 | opts: &GetCommandsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 274 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | ) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 304 | ) -> Result + use> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | &self, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 393 | opts: &GetTextOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result + use> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator<(u32, usize, usize, std::option::Option)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/extmark.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result)>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/extmark.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | opts: &GetExtmarksOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result)> + use<>> [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/global.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/global.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251 | opts: &GetCommandsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 252 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tabpage.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tabpage.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 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 `nvim_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:53:6 [INFO] [stderr] | [INFO] [stderr] 53 | ($err: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/lib.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | ($err:expr_2021, $other: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/lib.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | ($err:expr_2021, $other: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/ffi/autocmd.rs:11:1 [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 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/autocmd.c#L621 [INFO] [stdout] 13 | | pub(crate) fn nvim_clear_autocmds( [INFO] [stdout] 14 | | opts: *const KeyDict_clear_autocmds, [INFO] [stdout] ... | [INFO] [stdout] 57 | | ) -> Array; [INFO] [stdout] 58 | | } [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/ffi/buffer.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/buffer.c#L145 [INFO] [stdout] 21 | | pub(crate) fn nvim_buf_attach( [INFO] [stdout] 22 | | channel_id: u64, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ); [INFO] [stdout] 236 | | } [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/ffi/extmark.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/extmark.c#L863 [INFO] [stdout] 16 | | pub(crate) fn nvim_buf_add_highlight( [INFO] [stdout] 17 | | buf: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] 84 | | } [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/ffi/global.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 17 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/vim.c#L1231 [INFO] [stdout] 18 | | pub(crate) fn nvim_chan_send( [INFO] [stdout] 19 | | chan: Integer, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> Integer; [INFO] [stdout] 376 | | } [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/ffi/tabpage.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 13 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/tabpage.c#L85 [INFO] [stdout] 14 | | pub(crate) fn nvim_tabpage_del_var( [INFO] [stdout] 15 | | tabpage: TabHandle, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ); [INFO] [stdout] 55 | | } [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/ffi/vimscript.rs:11:1 [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 | | // https://github.com/neovim/neovim/blob/mastert/src/nvim/api/vimscript.c#L248 [INFO] [stdout] 13 | | pub(crate) fn nvim_call_dict_function( [INFO] [stdout] 14 | | dict: NonOwning, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> Dictionary; [INFO] [stdout] 68 | | } [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/ffi/win_config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/win_config.c#L144 [INFO] [stdout] 7 | | pub(crate) fn nvim_open_win( [INFO] [stdout] 8 | | buffer: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] 26 | | } [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/ffi/window.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 16 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/window.c#L410 [INFO] [stdout] 17 | | pub(crate) fn nvim_win_call( [INFO] [stdout] 18 | | win: WinHandle, [INFO] [stdout] ... | [INFO] [stdout] 142 | | ); [INFO] [stdout] 143 | | } [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/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | ($err: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] 53 | ($err: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/lib.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | ($err:expr, $other: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] 61 | ($err:expr_2021, $other: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/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | ($err:expr, $other: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] 61 | ($err:expr, $other:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | BufHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / unsafe fn pop( [INFO] [stdout] 75 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 76 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe fn push( [INFO] [stdout] 83 | | self, [INFO] [stdout] 84 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 85 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TabHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn pop( [INFO] [stdout] 49 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 50 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / unsafe fn push( [INFO] [stdout] 57 | | self, [INFO] [stdout] 58 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 59 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/autocmd_callback_args.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/autocmd_callback_args.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn pop( [INFO] [stdout] 50 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 51 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/command_args.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/command_args.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / unsafe fn pop( [INFO] [stdout] 65 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WinHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / unsafe fn pop( [INFO] [stdout] 64 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 65 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / unsafe fn push( [INFO] [stdout] 72 | | self, [INFO] [stdout] 73 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 74 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/autocmd.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/autocmd.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | opts: &GetAutocmdsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 256 | opts: &GetCommandsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 274 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | ) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 304 | ) -> Result + use> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/buffer.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/buffer.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | &self, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 393 | opts: &GetTextOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result + use> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator<(u32, usize, usize, std::option::Option)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/extmark.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result)>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/extmark.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | opts: &GetExtmarksOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result)> + use<>> [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/global.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/global.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251 | opts: &GetCommandsOpts, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 252 | ) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl SuperIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tabpage.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tabpage.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn list_wins(&self) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 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 9.72s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking nvim-api v0.2.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/autocmd.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/autocmd.c#L621 [INFO] [stdout] 13 | | pub(crate) fn nvim_clear_autocmds( [INFO] [stdout] 14 | | opts: *const KeyDict_clear_autocmds, [INFO] [stdout] ... | [INFO] [stdout] 57 | | ) -> Array; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/buffer.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / extern "C" { [INFO] [stdout] 20 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/buffer.c#L145 [INFO] [stdout] 21 | | pub(crate) fn nvim_buf_attach( [INFO] [stdout] 22 | | channel_id: u64, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ); [INFO] [stdout] 236 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/extmark.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/extmark.c#L863 [INFO] [stdout] 16 | | pub(crate) fn nvim_buf_add_highlight( [INFO] [stdout] 17 | | buf: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/global.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / extern "C" { [INFO] [stdout] 17 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/vim.c#L1231 [INFO] [stdout] 18 | | pub(crate) fn nvim_chan_send( [INFO] [stdout] 19 | | chan: Integer, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> Integer; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/tabpage.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / extern "C" { [INFO] [stdout] 13 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/tabpage.c#L85 [INFO] [stdout] 14 | | pub(crate) fn nvim_tabpage_del_var( [INFO] [stdout] 15 | | tabpage: TabHandle, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/vimscript.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | // https://github.com/neovim/neovim/blob/mastert/src/nvim/api/vimscript.c#L248 [INFO] [stdout] 13 | | pub(crate) fn nvim_call_dict_function( [INFO] [stdout] 14 | | dict: NonOwning, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> Dictionary; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/win_config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / extern "C" { [INFO] [stdout] 6 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/win_config.c#L144 [INFO] [stdout] 7 | | pub(crate) fn nvim_open_win( [INFO] [stdout] 8 | | buffer: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/window.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / extern "C" { [INFO] [stdout] 16 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/window.c#L410 [INFO] [stdout] 17 | | pub(crate) fn nvim_win_call( [INFO] [stdout] 18 | | win: WinHandle, [INFO] [stdout] ... | [INFO] [stdout] 142 | | ); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/autocmd.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/autocmd.c#L621 [INFO] [stdout] 13 | | pub(crate) fn nvim_clear_autocmds( [INFO] [stdout] 14 | | opts: *const KeyDict_clear_autocmds, [INFO] [stdout] ... | [INFO] [stdout] 57 | | ) -> Array; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/buffer.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / extern "C" { [INFO] [stdout] 20 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/buffer.c#L145 [INFO] [stdout] 21 | | pub(crate) fn nvim_buf_attach( [INFO] [stdout] 22 | | channel_id: u64, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ); [INFO] [stdout] 236 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/extmark.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/extmark.c#L863 [INFO] [stdout] 16 | | pub(crate) fn nvim_buf_add_highlight( [INFO] [stdout] 17 | | buf: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/global.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / extern "C" { [INFO] [stdout] 17 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/vim.c#L1231 [INFO] [stdout] 18 | | pub(crate) fn nvim_chan_send( [INFO] [stdout] 19 | | chan: Integer, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> Integer; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/tabpage.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / extern "C" { [INFO] [stdout] 13 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/tabpage.c#L85 [INFO] [stdout] 14 | | pub(crate) fn nvim_tabpage_del_var( [INFO] [stdout] 15 | | tabpage: TabHandle, [INFO] [stdout] ... | [INFO] [stdout] 54 | | ); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/vimscript.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | // https://github.com/neovim/neovim/blob/mastert/src/nvim/api/vimscript.c#L248 [INFO] [stdout] 13 | | pub(crate) fn nvim_call_dict_function( [INFO] [stdout] 14 | | dict: NonOwning, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> Dictionary; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/win_config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / extern "C" { [INFO] [stdout] 6 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/win_config.c#L144 [INFO] [stdout] 7 | | pub(crate) fn nvim_open_win( [INFO] [stdout] 8 | | buffer: BufHandle, [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/window.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / extern "C" { [INFO] [stdout] 16 | | // https://github.com/neovim/neovim/blob/master/src/nvim/api/window.c#L410 [INFO] [stdout] 17 | | pub(crate) fn nvim_win_call( [INFO] [stdout] 18 | | win: WinHandle, [INFO] [stdout] ... | [INFO] [stdout] 142 | | ); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | BufHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / unsafe fn pop( [INFO] [stdout] 75 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 76 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe fn push( [INFO] [stdout] 83 | | self, [INFO] [stdout] 84 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 85 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | BufHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / unsafe fn pop( [INFO] [stdout] 75 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 76 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe fn push( [INFO] [stdout] 83 | | self, [INFO] [stdout] 84 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 85 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TabHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn pop( [INFO] [stdout] 49 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 50 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / unsafe fn push( [INFO] [stdout] 57 | | self, [INFO] [stdout] 58 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 59 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/autocmd_callback_args.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/autocmd_callback_args.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn pop( [INFO] [stdout] 50 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 51 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TabHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn pop( [INFO] [stdout] 49 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 50 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/tabpage.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tabpage.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / unsafe fn push( [INFO] [stdout] 57 | | self, [INFO] [stdout] 58 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 59 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/autocmd_callback_args.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/autocmd_callback_args.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn pop( [INFO] [stdout] 50 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 51 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/command_args.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/command_args.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / unsafe fn pop( [INFO] [stdout] 65 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/command_args.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let obj = Object::pop(lstate)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/command_args.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / unsafe fn pop( [INFO] [stdout] 65 | | lstate: *mut luajit_bindings::ffi::lua_State, [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WinHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / unsafe fn pop( [INFO] [stdout] 64 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 65 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / unsafe fn push( [INFO] [stdout] 72 | | self, [INFO] [stdout] 73 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 74 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 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 `nvim-api` (lib test) due to 9 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Poppable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WinHandle::pop(lstate).map(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / unsafe fn pop( [INFO] [stdout] 64 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 65 | | ) -> std::result::Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luajit_bindings::Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/window.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | self.0.push(lstate) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/window.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / unsafe fn push( [INFO] [stdout] 72 | | self, [INFO] [stdout] 73 | | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] 74 | | ) -> std::result::Result { [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 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 `nvim-api` (lib) due to 9 previous errors; 8 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" "e46e63dfb29f210c804c943d92dec87fe479195c1bc2b326d0f57e1dd1080e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46e63dfb29f210c804c943d92dec87fe479195c1bc2b326d0f57e1dd1080e1d", kill_on_drop: false }` [INFO] [stdout] e46e63dfb29f210c804c943d92dec87fe479195c1bc2b326d0f57e1dd1080e1d