[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#1c4199da70f816f2239f41c55168ff75a3663718 for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Fxi-example-frontend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spwilson2/xi-example-frontend on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spwilson2/xi-example-frontend already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding xi-core-lib v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]       Adding xi-rope v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]       Adding xi-rpc v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]       Adding xi-trace v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]       Adding xi-unicode v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3212a034a8020723f2567beda5f1176623cc1361464b580bab4491554935944
[INFO] running `Command { std: "docker" "start" "-a" "d3212a034a8020723f2567beda5f1176623cc1361464b580bab4491554935944", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3212a034a8020723f2567beda5f1176623cc1361464b580bab4491554935944", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3212a034a8020723f2567beda5f1176623cc1361464b580bab4491554935944", kill_on_drop: false }`
[INFO] [stdout] d3212a034a8020723f2567beda5f1176623cc1361464b580bab4491554935944
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27b8b7a8b9d1a1f30925f36430bcaeee1cdeed29b0df83028a01c0f5bce871ab
[INFO] running `Command { std: "docker" "start" "-a" "27b8b7a8b9d1a1f30925f36430bcaeee1cdeed29b0df83028a01c0f5bce871ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.7
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking miniz_oxide v0.3.5
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]     Checking line-wrap v0.1.1
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking inotify-sys v0.1.3
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking thread_local v1.0.0
[INFO] [stderr]     Checking regex-syntax v0.6.13
[INFO] [stderr]     Checking xml-rs v0.8.0
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking parking_lot v0.4.8
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking flate2 v1.0.13
[INFO] [stderr]     Checking chashmap v2.2.2
[INFO] [stderr]     Checking inotify v0.7.0
[INFO] [stderr]     Checking filetime v0.2.8
[INFO] [stderr]     Checking anymap v0.12.1
[INFO] [stderr]     Checking bytecount v0.6.0
[INFO] [stderr]     Checking unicode-segmentation v1.6.0
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking xi-unicode v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]     Checking notify v5.0.0-pre.1
[INFO] [stderr]     Checking termion v1.5.4
[INFO] [stderr]     Checking fern v0.5.9
[INFO] [stderr]     Checking regex v1.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]     Checking serde_json v1.0.44
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking plist v0.4.2
[INFO] [stderr]     Checking xi-rope v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]     Checking toml v0.5.5
[INFO] [stderr]     Checking xi-trace v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]     Checking syntect v3.3.0
[INFO] [stderr]     Checking xi-rpc v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[INFO] [stderr]     Checking xi-core-lib v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#53c5b962)
[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[E0425]: 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 std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 6 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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 std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 6 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]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 let action = Some(Action::InsertKeyStroke(key));
[INFO] [stdout]    |                 +++
[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]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] help: import `InputController` through the re-export
[INFO] [stdout]    |
[INFO] [stdout] 27 - use ui::InputController;
[INFO] [stdout] 27 + use controller::InputController;
[INFO] [stdout]    |
[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0425]: 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 std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 6 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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 std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 6 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]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 let action = Some(Action::InsertKeyStroke(key));
[INFO] [stdout]    |                 +++
[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]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] help: import `InputController` through the re-export
[INFO] [stdout]    |
[INFO] [stdout] 27 - use ui::InputController;
[INFO] [stdout] 27 + use controller::InputController;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/events.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn handle_notification(&mut self, ctx: &xi_rpc::RpcCtx, rpc: Self::Notification) {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |   let mut keyboard_device = TermionKeyboard::from_reader(std::io::stdin());
[INFO] [stdout]    |       ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_to_client_writer`
[INFO] [stdout]   --> src/main.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |   let (client_to_core_writer, core_to_client_reader, client_to_client_writer) =
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_to_client_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyboard_device`
[INFO] [stdout]   --> src/main.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |   let mut keyboard_device = TermionKeyboard::from_reader(std::io::stdin());
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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] Some errors have detailed explanations: E0425, E0432, E0433, E0603, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xi-example-cli` (bin "xi-example-cli") due to 23 previous errors; 4 warnings emitted
[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: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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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[E0433]: cannot find type `Mode` in this scope
[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[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] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/events.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn handle_notification(&mut self, ctx: &xi_rpc::RpcCtx, rpc: Self::Notification) {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |   let mut keyboard_device = TermionKeyboard::from_reader(std::io::stdin());
[INFO] [stdout]    |       ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_to_client_writer`
[INFO] [stdout]   --> src/main.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |   let (client_to_core_writer, core_to_client_reader, client_to_client_writer) =
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_to_client_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyboard_device`
[INFO] [stdout]   --> src/main.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |   let mut keyboard_device = TermionKeyboard::from_reader(std::io::stdin());
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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]: cannot find type `Response` in this scope
[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] Some errors have detailed explanations: E0425, E0432, E0433, E0603, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xi-example-cli` (bin "xi-example-cli" test) due to 23 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "27b8b7a8b9d1a1f30925f36430bcaeee1cdeed29b0df83028a01c0f5bce871ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27b8b7a8b9d1a1f30925f36430bcaeee1cdeed29b0df83028a01c0f5bce871ab", kill_on_drop: false }`
[INFO] [stdout] 27b8b7a8b9d1a1f30925f36430bcaeee1cdeed29b0df83028a01c0f5bce871ab
