[INFO] cloning repository https://github.com/the10thWiz/rust-vim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the10thWiz/rust-vim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Frust-vim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Frust-vim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fe7e0565058391a3e3666f2a046670166435116 [INFO] checking the10thWiz/rust-vim against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Frust-vim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/rust-vim on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/the10thWiz/rust-vim [INFO] finished tweaking git repo https://github.com/the10thWiz/rust-vim [INFO] tweaked toml for git repo https://github.com/the10thWiz/rust-vim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking the10thWiz/rust-vim against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Frust-vim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/rust-vim on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/the10thWiz/rust-vim [INFO] finished tweaking git repo https://github.com/the10thWiz/rust-vim [INFO] tweaked toml for git repo https://github.com/the10thWiz/rust-vim written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flexi_logger v0.22.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3905b5b4b17f05db5d5bee1ac0edca7f50775373716f4cb05c5f1f31a3590a64 [INFO] running `Command { std: "docker" "start" "-a" "3905b5b4b17f05db5d5bee1ac0edca7f50775373716f4cb05c5f1f31a3590a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3905b5b4b17f05db5d5bee1ac0edca7f50775373716f4cb05c5f1f31a3590a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3905b5b4b17f05db5d5bee1ac0edca7f50775373716f4cb05c5f1f31a3590a64", kill_on_drop: false }` [INFO] [stdout] 3905b5b4b17f05db5d5bee1ac0edca7f50775373716f4cb05c5f1f31a3590a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e564ae45f370310dd07efd9ddbd8afded13d9621a828566e00099195de73638 [INFO] running `Command { std: "docker" "start" "-a" "5e564ae45f370310dd07efd9ddbd8afded13d9621a828566e00099195de73638", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling zerocopy v0.7.31 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling winnow v0.5.28 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bevy_ptr v0.12.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.24.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.12.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking vimscript v0.1.0 (/opt/rustwide/workdir/vimscript) [INFO] [stderr] Checking flexi_logger v0.22.6 [INFO] [stdout] warning: unused import: `VimType` [INFO] [stdout] --> vimscript/src/builtin.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{VimScriptCtx, BuiltinFunction, value::{Value, Function, VimType}, VimError, State, Command, CmdRange}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VimType` [INFO] [stdout] --> vimscript/src/builtin.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{VimScriptCtx, BuiltinFunction, value::{Value, Function, VimType}, VimError, State, Command, CmdRange}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> vimscript/src/expr.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, LinkedList}, sync::{Mutex, Arc}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::linked_list` [INFO] [stdout] --> vimscript/src/value.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::linked_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> vimscript/src/expr.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, LinkedList}, sync::{Mutex, Arc}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::linked_list` [INFO] [stdout] --> vimscript/src/value.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::linked_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> vimscript/src/value.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::{HashMap, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> vimscript/src/value.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::{HashMap, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:609:35 [INFO] [stdout] | [INFO] [stdout] 609 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:609:66 [INFO] [stdout] | [INFO] [stdout] 609 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:621:35 [INFO] [stdout] | [INFO] [stdout] 621 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:621:66 [INFO] [stdout] | [INFO] [stdout] 621 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/builtin.rs:152:55 [INFO] [stdout] | [INFO] [stdout] 152 | self.functions.insert_builtin("copy", nargs!(|ctx, a| a)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> vimscript/src/builtin.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | Function::Builtin(Arc::new(Builtin(|v: Vec, $ctx: &mut VimScriptCtx<_>| -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | self.functions.insert_builtin("copy", nargs!(|ctx, a| a)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nargs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/builtin.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 154 | self.functions.insert_builtin("deepcopy", nargs!(|ctx, a| a.deep_copy())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> vimscript/src/builtin.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | Function::Builtin(Arc::new(Builtin(|v: Vec, $ctx: &mut VimScriptCtx<_>| -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | self.functions.insert_builtin("deepcopy", nargs!(|ctx, a| a.deep_copy())); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nargs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/builtin.rs:259:55 [INFO] [stdout] | [INFO] [stdout] 259 | self.functions.insert_builtin("type", nargs!(|ctx, a| Value::Integer(a.ty().as_int()))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> vimscript/src/builtin.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | Function::Builtin(Arc::new(Builtin(|v: Vec, $ctx: &mut VimScriptCtx<_>| -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | self.functions.insert_builtin("type", nargs!(|ctx, a| Value::Integer(a.ty().as_int()))); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nargs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/builtin.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | self.functions.insert_builtin("garbagecollect", nargs!(|ctx| Value::Nil)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> vimscript/src/builtin.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | Function::Builtin(Arc::new(Builtin(|v: Vec, $ctx: &mut VimScriptCtx<_>| -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | self.functions.insert_builtin("garbagecollect", nargs!(|ctx| Value::Nil)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nargs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bevy_utils v0.12.1 [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/expr.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | ctx: &mut VimScriptCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> vimscript/src/expr.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | assert_eq!(Value::Object(HashMap::new()), test_parse("{}")); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ expected `Arc>>`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>>` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> vimscript/src/value.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | Object(Arc>>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> vimscript/src/expr.rs:443:27 [INFO] [stdout] | [INFO] [stdout] 443 | Value::Object(HashMap::from_iter([("a".into(), Value::Integer(0))])), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc>>`, found `HashMap<_, Value, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>>` [INFO] [stdout] found struct `HashMap<_, value::Value, _>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> vimscript/src/value.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | Object(Arc>>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> vimscript/src/expr.rs:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(Value::List(LinkedList::new()), test_parse("[]")); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `Arc>>`, found `LinkedList<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>>` [INFO] [stdout] found struct `LinkedList<_>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> vimscript/src/value.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | List(Arc>>), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> vimscript/src/value.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | (Self::List(l), Self::List(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> vimscript/src/value.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | let index = index.nil_or(|| Self::Integer(r.lock().unwrap().len() as isize))?.to_int(ctx); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> vimscript/src/value.rs:646:27 [INFO] [stdout] | [INFO] [stdout] 646 | (Self::Object(l), Self::Object(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> vimscript/src/value.rs:646:44 [INFO] [stdout] | [INFO] [stdout] 646 | (Self::Object(l), Self::Object(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> vimscript/src/value.rs:661:29 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn remove(&self, index: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:661:42 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn remove(&self, index: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:695:28 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn items(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:699:29 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn values(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:703:27 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn keys(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> vimscript/src/value.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn has_key(&self, key: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:707:41 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn has_key(&self, key: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_depth` [INFO] [stdout] --> vimscript/src/value.rs:711:30 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn flatten(&self, max_depth: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:711:47 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn flatten(&self, max_depth: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> vimscript/src/value.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn repeat(&self, times: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:715:42 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn repeat(&self, times: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> vimscript/src/value.rs:719:28 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn count(&self, val: Self, c: Self, d: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> vimscript/src/value.rs:719:39 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn count(&self, val: Self, c: Self, d: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> vimscript/src/value.rs:719:48 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn count(&self, val: Self, c: Self, d: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:719:57 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn count(&self, val: Self, c: Self, d: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:723:26 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn min(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:727:26 [INFO] [stdout] | [INFO] [stdout] 727 | pub fn max(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> vimscript/src/value.rs:731:27 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn call(&self, args: Self, dict: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> vimscript/src/value.rs:731:39 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn call(&self, args: Self, dict: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:731:51 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn call(&self, args: Self, dict: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seperator` [INFO] [stdout] --> vimscript/src/value.rs:735:27 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn join(&self, seperator: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seperator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:735:44 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn join(&self, seperator: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> vimscript/src/value.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn range(&self, end: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> vimscript/src/value.rs:739:39 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn range(&self, end: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:739:53 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn range(&self, end: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> vimscript/src/value.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn split(&self, pattern: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> vimscript/src/value.rs:743:43 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn split(&self, pattern: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:743:57 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn split(&self, pattern: Self, stride: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> vimscript/src/value.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn unique(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> vimscript/src/value.rs:747:38 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn unique(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:747:47 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn unique(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:751:30 [INFO] [stdout] | [INFO] [stdout] 751 | pub fn reverse(&self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> vimscript/src/value.rs:755:27 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn sort(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> vimscript/src/value.rs:755:36 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn sort(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:755:45 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn sort(&self, b: Self, c: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::sync::Arc>>` cannot be built from an iterator over elements of type `value::Value` [INFO] [stdout] --> vimscript/src/expr.rs:452:61 [INFO] [stdout] | [INFO] [stdout] 452 | Value::List([Value::Integer(0)].iter().cloned().collect()), [INFO] [stdout] | ^^^^^^^ value of type `std::sync::Arc>>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `std::sync::Arc>>` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `std::sync::Arc<[value::Value]>` [INFO] [stdout] = help: for that trait implementation, expected `[value::Value]`, found `Mutex>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> vimscript/src/expr.rs:452:52 [INFO] [stdout] | [INFO] [stdout] 452 | Value::List([Value::Integer(0)].iter().cloned().collect()), [INFO] [stdout] | ------------------- ------ ^^^^^^^^ `Iterator::Item` changed to `Value` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Value` here [INFO] [stdout] | this expression has type `[Value; 1]` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/iter/traits/iterator.rs:2050:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> vimscript/src/value.rs:759:26 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn map(&self, b: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:759:35 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn map(&self, b: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> vimscript/src/value.rs:763:29 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn filter(&self, b: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> vimscript/src/value.rs:763:38 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn filter(&self, b: Self, ctx: &VimScriptCtx) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vimscript/src/value.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | let mut vals = vals.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vimscript/src/value.rs:902:38 [INFO] [stdout] | [INFO] [stdout] 902 | if let Value::Object(mut vals) = v { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> vimscript/src/lib.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | fn get_func(&self, id: Option, name: impl AsRef) -> Option<&Function> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:609:35 [INFO] [stdout] | [INFO] [stdout] 609 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:609:66 [INFO] [stdout] | [INFO] [stdout] 609 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:621:35 [INFO] [stdout] | [INFO] [stdout] 621 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::ptr::const_ptr::::to_bits`: replaced by the `expose_addr` method, or update your code to follow the strict provenance rules using its APIs [INFO] [stdout] --> vimscript/src/value.rs:621:66 [INFO] [stdout] | [INFO] [stdout] 621 | if Arc::as_ptr(v).to_bits() == Arc::as_ptr(list).to_bits() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> vimscript/src/lib.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 55 | VariableUndefined(String), [INFO] [stdout] | ----------------- `VariableUndefined` defines an enum variant constructor here, which should be called [INFO] [stdout] ... [INFO] [stdout] 714 | Err(VimError::VariableUndefined) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `VimError`, found enum constructor [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `VimError` [INFO] [stdout] found enum constructor `fn(String) -> VimError {VimError::VariableUndefined}` [INFO] [stdout] help: the type constructed contains `fn(String) -> VimError {VimError::VariableUndefined}` due to the type of the argument passed [INFO] [stdout] --> vimscript/src/lib.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | Err(VimError::VariableUndefined) [INFO] [stdout] | ^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/result.rs:511:5 [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 714 | Err(VimError::VariableUndefined(/* String */)) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vimscript` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5e564ae45f370310dd07efd9ddbd8afded13d9621a828566e00099195de73638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e564ae45f370310dd07efd9ddbd8afded13d9621a828566e00099195de73638", kill_on_drop: false }` [INFO] [stdout] 5e564ae45f370310dd07efd9ddbd8afded13d9621a828566e00099195de73638