[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] testing spwilson2/xi-example-frontend against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Fxi-example-frontend" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spwilson2/xi-example-frontend on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] error: the lock file /workspace/builds/worker-4/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71221cecf0cc0a215d7aba5d1cbb06a7e06ae1f70fec34eb8420927ce946c9f2 [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" "71221cecf0cc0a215d7aba5d1cbb06a7e06ae1f70fec34eb8420927ce946c9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71221cecf0cc0a215d7aba5d1cbb06a7e06ae1f70fec34eb8420927ce946c9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71221cecf0cc0a215d7aba5d1cbb06a7e06ae1f70fec34eb8420927ce946c9f2", kill_on_drop: false }` [INFO] [stdout] 71221cecf0cc0a215d7aba5d1cbb06a7e06ae1f70fec34eb8420927ce946c9f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e7fd107937156b1a0a80c59e4a08e2be61818a485dcadd1d051549298658bc3 [INFO] running `Command { std: "docker" "start" "-a" "4e7fd107937156b1a0a80c59e4a08e2be61818a485dcadd1d051549298658bc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 (https://github.com/xi-editor/xi-editor?branch=master#1c95252f) [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling notify v5.0.0-pre.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling xi-rope v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#1c95252f) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling xi-trace v0.2.0 (https://github.com/xi-editor/xi-editor?branch=master#1c95252f) [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling xi-rpc v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#1c95252f) [INFO] [stderr] Compiling xi-core-lib v0.3.0 (https://github.com/xi-editor/xi-editor?branch=master#1c95252f) [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of undeclared type or module `Response` [INFO] [stdout] --> src/ui/controller.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Response::Continue => continue, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Response` [INFO] [stdout] --> src/ui/controller.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | Response::Stop => break, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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::args::vec::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::sys_common::thread::env::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::args::vec::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::logging::io::sys::ext::net::sys_common::thread::env::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 ui::controller::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 ui::controller::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 ui::controller::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 ui::controller::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 ui::controller::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 ui::controller::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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4e7fd107937156b1a0a80c59e4a08e2be61818a485dcadd1d051549298658bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7fd107937156b1a0a80c59e4a08e2be61818a485dcadd1d051549298658bc3", kill_on_drop: false }` [INFO] [stdout] 4e7fd107937156b1a0a80c59e4a08e2be61818a485dcadd1d051549298658bc3