[INFO] cloning repository https://github.com/spwilson2/xi-example-frontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spwilson2/xi-example-frontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Fxi-example-frontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Fxi-example-frontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5f777d3add4f283e21dd16cd25e084c3078b2f1 [INFO] checking spwilson2/xi-example-frontend against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Fxi-example-frontend" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spwilson2/xi-example-frontend on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spwilson2/xi-example-frontend [INFO] finished tweaking git repo https://github.com/spwilson2/xi-example-frontend [INFO] tweaked toml for git repo https://github.com/spwilson2/xi-example-frontend written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/spwilson2/xi-example-frontend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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/xi-editor/xi-editor` [INFO] [stderr] Updating git submodule `https://github.com/xi-editor/syntect-resources` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/xi-editor/xi-editor` [INFO] [stderr] Updating git submodule `https://github.com/xi-editor/syntect-resources` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syntect v3.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d9975547d3ae370aa8269a09b75ccd0ca438f98f2157b6c20102748991a9e5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29d9975547d3ae370aa8269a09b75ccd0ca438f98f2157b6c20102748991a9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d9975547d3ae370aa8269a09b75ccd0ca438f98f2157b6c20102748991a9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d9975547d3ae370aa8269a09b75ccd0ca438f98f2157b6c20102748991a9e5", kill_on_drop: false }` [INFO] [stdout] 29d9975547d3ae370aa8269a09b75ccd0ca438f98f2157b6c20102748991a9e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a505fa8b1552c3e2222626dd3545b8cff0da4bf011a7320d016886198963ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "97a505fa8b1552c3e2222626dd3545b8cff0da4bf011a7320d016886198963ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking xi-unicode v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#52bf3436) [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking notify v5.0.0-pre.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking xi-rope v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#52bf3436) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking xi-trace v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#52bf3436) [INFO] [stderr] Checking syntect v3.3.0 [INFO] [stderr] Checking xi-rpc v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#52bf3436) [INFO] [stderr] Checking xi-core-lib v0.4.0 (https://github.com/xi-editor/xi-editor?branch=master#52bf3436) [INFO] [stderr] Checking xi-example-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::actions` [INFO] [stdout] --> src/ui/controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use super::actions::Action; [INFO] [stdout] | ^^^^^^^ could not find `actions` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::actions` [INFO] [stdout] --> src/ui/controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use super::actions::Action; [INFO] [stdout] | ^^^^^^^ could not find `actions` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Response::Continue => continue, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | Response::Stop => break, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:74:65 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/ui/controller.rs:25:81 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn open_file(&mut self, core: &dyn Peer, file_path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::raw_fd::net::parser::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::rand::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 10 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/ui/controller.rs:53:80 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn start_keyboard_event_loop(&mut self, core: &dyn Peer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::raw_fd::net::parser::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::rand::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 10 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | action = Some(Action::InsertKeyStroke(key)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | if action.is_none() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | action [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `InputController` is private [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use ui::InputController; [INFO] [stdout] | ^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `InputController` is defined here... [INFO] [stdout] --> src/ui/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::controller::InputController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `InputController` which is defined here [INFO] [stdout] --> src/ui/controller.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InputController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Response::Continue => continue, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | Response::Stop => break, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:74:65 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/ui/controller.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/ui/controller.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/ui/controller.rs:25:81 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn open_file(&mut self, core: &dyn Peer, file_path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::raw_fd::net::parser::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::rand::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 10 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/ui/controller.rs:53:80 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn start_keyboard_event_loop(&mut self, core: &dyn Peer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::raw_fd::net::parser::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::rand::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 10 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | action = Some(Action::InsertKeyStroke(key)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | if action.is_none() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `action` in this scope [INFO] [stdout] --> src/ui/controller.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | action [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `InputController` is private [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use ui::InputController; [INFO] [stdout] | ^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `InputController` is defined here... [INFO] [stdout] --> src/ui/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::controller::InputController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `InputController` which is defined here [INFO] [stdout] --> src/ui/controller.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InputController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | "value": self.mode.to_string(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:74:58 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | "value": self.mode.to_string(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xi-example-cli` [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | "value": self.mode.to_string(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | Response::SwitchToInsertMode => self.mode = Mode::Insert, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | Response::SwitchToNormalMode => self.mode = Mode::Normal, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:74:58 [INFO] [stdout] | [INFO] [stdout] 74 | Response::SwitchToVisualMode => self.mode = Mode::Visual, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 75 | Response::SwitchToActionMode => self.mode = Mode::Action, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `&mut InputController` [INFO] [stdout] --> src/ui/controller.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | "value": self.mode.to_string(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `keyboard`, `view_id`, `front_event_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "97a505fa8b1552c3e2222626dd3545b8cff0da4bf011a7320d016886198963ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a505fa8b1552c3e2222626dd3545b8cff0da4bf011a7320d016886198963ad", kill_on_drop: false }` [INFO] [stdout] 97a505fa8b1552c3e2222626dd3545b8cff0da4bf011a7320d016886198963ad