[INFO] cloning repository https://github.com/lhybdv/rmdt.nvim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lhybdv/rmdt.nvim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhybdv%2Frmdt.nvim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhybdv%2Frmdt.nvim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a35ecbfe9350d76f28316c624660061953b7f9a [INFO] checking lhybdv/rmdt.nvim against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhybdv%2Frmdt.nvim" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lhybdv/rmdt.nvim [INFO] finished tweaking git repo https://github.com/lhybdv/rmdt.nvim [INFO] tweaked toml for git repo https://github.com/lhybdv/rmdt.nvim written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lhybdv/rmdt.nvim on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/noib3/nvim-oxi.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua_derive v0.11.0 [INFO] [stderr] Downloaded mlua-sys v0.10.0 [INFO] [stderr] Downloaded mlua v0.11.6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bec9baf8fb363d17f2f5044fbf90eea3e44ef803c2d9de26d1914bbf0695321a [INFO] running `Command { std: "docker" "start" "-a" "bec9baf8fb363d17f2f5044fbf90eea3e44ef803c2d9de26d1914bbf0695321a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bec9baf8fb363d17f2f5044fbf90eea3e44ef803c2d9de26d1914bbf0695321a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec9baf8fb363d17f2f5044fbf90eea3e44ef803c2d9de26d1914bbf0695321a", kill_on_drop: false }` [INFO] [stdout] bec9baf8fb363d17f2f5044fbf90eea3e44ef803c2d9de26d1914bbf0695321a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20c912aa6c7937a4af10bc2fa813f9bbba7dc86f65569d9fe58dce3a2848ebef [INFO] running `Command { std: "docker" "start" "-a" "20c912aa6c7937a4af10bc2fa813f9bbba7dc86f65569d9fe58dce3a2848ebef", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling nvim-oxi v0.6.0 (https://github.com/noib3/nvim-oxi.git#fef0f727) [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling nvim-oxi-macros v0.6.0 (https://github.com/noib3/nvim-oxi.git#fef0f727) [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking nvim-oxi-luajit v0.6.0 (https://github.com/noib3/nvim-oxi.git#fef0f727) [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking nvim-oxi-types v0.6.0 (https://github.com/noib3/nvim-oxi.git#fef0f727) [INFO] [stderr] Checking nvim-oxi-api v0.6.0 (https://github.com/noib3/nvim-oxi.git#fef0f727) [INFO] [stderr] Checking rmdt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `lua_State` in module `lua::ffi` [INFO] [stdout] --> src/opts.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] | ^^^^^^^^^ not found in `lua::ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `lua_State` in module `lua::ffi` [INFO] [stdout] --> src/opts.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] | ^^^^^^^^^ not found in `lua::ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/swap.rs:40:8","p":1,"ph":4,"wa":0,"pa":0,"a":4,"pos":4,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":4,"a_opt":4,"sz_no_dedup":64,"sz_old":64,"sz_opt":64} [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/swap.rs:73:22","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/utils.rs:90:28","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fmt.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | api::echo([("Markdown Table formatted", None)], false, &Default::default())?; [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Into` [INFO] [stdout] note: required by a bound in `echo` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn echo( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 159 | HlGroup: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `echo` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 133 | api::echo([("Markdown Table formatted", None::)], false, &Default::default())?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/swap.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | api::echo([(msg.as_str(), None)], false, &Default::default())?; [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Into` [INFO] [stdout] note: required by a bound in `echo` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn echo( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 159 | HlGroup: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `echo` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 74 | api::echo([(msg.as_str(), None::)], false, &Default::default())?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | api::feedkeys("vip", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | api::feedkeys("vip", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | api::feedkeys("o", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | api::feedkeys("o", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | api::feedkeys("", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | api::feedkeys("", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nvim_oxi::Error: Pushable` is not satisfied [INFO] [stdout] --> src/lib.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | _________________^ [INFO] [stdout] 15 | | let opts = CreateCommandOpts::builder() [INFO] [stdout] 16 | | .bang(true) [INFO] [stdout] 17 | | .nargs(CommandNArgs::ZeroOrOne) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(()) [INFO] [stdout] 39 | | }); [INFO] [stdout] | |______^ the trait `Pushable` is not implemented for `nvim_oxi::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Pushable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `nvim_oxi::Function::::from_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/function.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_fn(fun: F) -> Self [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 89 | R: Pushable, [INFO] [stdout] | ^^^^^^^^ required by this bound in `Function::::from_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:34:72 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 34 | api::create_user_command("RFormatTable", r_format_table, &opts)?; [INFO] [stdout] | ^ cannot use the `?` operator in a closure that returns `nvim_oxi::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 36 | api::create_user_command("RColumnSwap", r_col_swap, &opts)?; [INFO] [stdout] | ^ cannot use the `?` operator in a closure that returns `nvim_oxi::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `Error`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nvim_oxi::Error` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] note: return type inferred to be `nvim_oxi::Error` here [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | api::create_user_command("RFormatTable", r_format_table, &opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmdt` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/swap.rs:40:8","p":1,"ph":4,"wa":0,"pa":0,"a":4,"pos":4,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":4,"a_opt":4,"sz_no_dedup":64,"sz_old":64,"sz_opt":64} [INFO] [stdout] error[E0425]: cannot find type `lua_State` in module `lua::ffi` [INFO] [stdout] --> src/opts.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] | ^^^^^^^^^ not found in `lua::ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `lua_State` in module `lua::ffi` [INFO] [stdout] --> src/opts.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | lstate: *mut lua::ffi::lua_State, [INFO] [stdout] | ^^^^^^^^^ not found in `lua::ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/swap.rs:73:22","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"rmdt","loc":"src/utils.rs:90:28","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fmt.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | api::echo([("Markdown Table formatted", None)], false, &Default::default())?; [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Into` [INFO] [stdout] note: required by a bound in `echo` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn echo( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 159 | HlGroup: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `echo` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 133 | api::echo([("Markdown Table formatted", None::)], false, &Default::default())?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/swap.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | api::echo([(msg.as_str(), None)], false, &Default::default())?; [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Into` [INFO] [stdout] note: required by a bound in `echo` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn echo( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 159 | HlGroup: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `echo` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 74 | api::echo([(msg.as_str(), None::)], false, &Default::default())?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | api::feedkeys("vip", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | api::feedkeys("vip", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | api::feedkeys("o", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | api::feedkeys("o", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From<&str>` is not satisfied [INFO] [stdout] --> src/utils.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | api::feedkeys("", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^ the trait `From<&str>` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `&str` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NvimStr<'_>: From` is not satisfied [INFO] [stdout] --> src/utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | api::feedkeys("", Mode::Visual, false); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ the trait `From` is not implemented for `NvimStr<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: `NvimStr<'_>` implements trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/str.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> From<&'a NvimString> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&nvim_oxi::String>` [INFO] [stdout] ... [INFO] [stdout] 184 | impl<'a> From<&'a CStr> for NvimStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<&CStr>` [INFO] [stdout] = note: required for `nvim_oxi::api::types::Mode` to implement `Into>` [INFO] [stdout] note: required by a bound in `feedkeys` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/api/src/vim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn feedkeys<'a>( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 237 | keys: impl Into>, [INFO] [stdout] 238 | mode: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `feedkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nvim_oxi::Error: Pushable` is not satisfied [INFO] [stdout] --> src/lib.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | _________________^ [INFO] [stdout] 15 | | let opts = CreateCommandOpts::builder() [INFO] [stdout] 16 | | .bang(true) [INFO] [stdout] 17 | | .nargs(CommandNArgs::ZeroOrOne) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(()) [INFO] [stdout] 39 | | }); [INFO] [stdout] | |______^ the trait `Pushable` is not implemented for `nvim_oxi::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Pushable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `nvim_oxi::Function::::from_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/nvim-oxi-9be75678b09d2d8d/fef0f72/crates/types/src/function.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_fn(fun: F) -> Self [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 89 | R: Pushable, [INFO] [stdout] | ^^^^^^^^ required by this bound in `Function::::from_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:34:72 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 34 | api::create_user_command("RFormatTable", r_format_table, &opts)?; [INFO] [stdout] | ^ cannot use the `?` operator in a closure that returns `nvim_oxi::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 14 | let setup = Function::from_fn::<_, Error>(move |()| { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 36 | api::create_user_command("RColumnSwap", r_col_swap, &opts)?; [INFO] [stdout] | ^ cannot use the `?` operator in a closure that returns `nvim_oxi::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `Error`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nvim_oxi::Error` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] note: return type inferred to be `nvim_oxi::Error` here [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | api::create_user_command("RFormatTable", r_format_table, &opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmdt` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "20c912aa6c7937a4af10bc2fa813f9bbba7dc86f65569d9fe58dce3a2848ebef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c912aa6c7937a4af10bc2fa813f9bbba7dc86f65569d9fe58dce3a2848ebef", kill_on_drop: false }` [INFO] [stdout] 20c912aa6c7937a4af10bc2fa813f9bbba7dc86f65569d9fe58dce3a2848ebef