[INFO] cloning repository https://github.com/zesterer/zte [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zesterer/zte" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzesterer%2Fzte", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzesterer%2Fzte'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 900902d41ce379771b4e32ae9dfd7a6a086c1845 [INFO] checking zesterer/zte against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzesterer%2Fzte" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zesterer/zte on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zesterer/zte [INFO] finished tweaking git repo https://github.com/zesterer/zte [INFO] tweaked toml for git repo https://github.com/zesterer/zte written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/zesterer/zte already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded regex v1.1.9 [INFO] [stderr] Downloaded vek v0.9.8 [INFO] [stderr] Downloaded backtrace-sys v0.1.30 [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded vte v0.8.0 [INFO] [stderr] Downloaded directories v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1a768dbcdf63b1115c57b01206afde6e6691959d7a5580b69a69176797215f [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" "ff1a768dbcdf63b1115c57b01206afde6e6691959d7a5580b69a69176797215f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1a768dbcdf63b1115c57b01206afde6e6691959d7a5580b69a69176797215f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1a768dbcdf63b1115c57b01206afde6e6691959d7a5580b69a69176797215f", kill_on_drop: false }` [INFO] [stdout] ff1a768dbcdf63b1115c57b01206afde6e6691959d7a5580b69a69176797215f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef52aae4ecba03c0f95c5f16f9189828d7016603c319584269b48935964fece1 [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" "ef52aae4ecba03c0f95c5f16f9189828d7016603c319584269b48935964fece1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking regex-syntax v0.6.8 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking nom v4.2.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking vte v0.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.30 [INFO] [stderr] Compiling vek v0.9.8 [INFO] [stderr] Checking dirs-sys v0.3.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking directories v2.0.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking backtrace v0.3.32 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking zte v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MouseEvent`, `MouseTerminal` [INFO] [stdout] --> src/input.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | input::{MouseTerminal, TermRead}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | event::{Event as InputEvent, Key as KeyEvent, MouseEvent}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferId`, `Dir` [INFO] [stdout] --> src/ui/editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BufferId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> src/ui/terminal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> src/ui/prompt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug`, `io` [INFO] [stdout] --> src/buffer/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vek::*` [INFO] [stdout] --> src/buffer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use vek::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `ops::Deref` [INFO] [stdout] --> src/state/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/state/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Event, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseEvent`, `MouseTerminal` [INFO] [stdout] --> src/input.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | input::{MouseTerminal, TermRead}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | event::{Event as InputEvent, Key as KeyEvent, MouseEvent}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferId`, `Dir` [INFO] [stdout] --> src/ui/editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BufferId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> src/ui/terminal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> src/ui/prompt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Dir, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug`, `io` [INFO] [stdout] --> src/buffer/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vek::*` [INFO] [stdout] --> src/buffer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use vek::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `ops::Deref` [INFO] [stdout] --> src/state/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/state/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Event, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | InputEvent::Key(KeyEvent::Ctrl('p')) => vec![Event::NewTerminal(Dir::Right)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let config = setup(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/display.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg` [INFO] [stdout] --> src/display.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | let Cell(c, fg, bg, attr) = self.grids.0.get((col, row)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg` [INFO] [stdout] --> src/display.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let Cell(c, fg, bg, attr) = self.grids.0.get((col, row)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/display.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let Cell(c, fg, bg, attr) = self.grids.0.get((col, row)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf_col` [INFO] [stdout] --> src/ui/editor.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let buf_col = col + self.loc.x; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/terminal.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn handle(&mut self, ctx: &mut Context, event: Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/ui/terminal.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | fn handle(&mut self, ctx: &mut Context, event: Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/terminal.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui/terminal.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/ui/terminal.rs:22:71 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/terminal.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [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] --> src/ui/switcher.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(ctx: &mut Context) -> Self { [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] --> src/ui/switcher.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui/switcher.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/ui/switcher.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/ui/switcher.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | fn render(&self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ui/opener.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | Event::Insert(c @ ('\n' | '\t')) => { [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] --> src/ui/prompt.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | fn handle(&mut self, ctx: &mut Context, event: Event) { [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] --> src/ui/prompt.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui/prompt.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/ui/prompt.rs:82:71 [INFO] [stdout] | [INFO] [stdout] 82 | fn update(&mut self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/prompt.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | fn render(&self, ctx: &mut Context, canvas: &mut impl Canvas, active: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | c => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | c => state = State::String(false), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | c => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | c => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | c if len >1 && !escaped => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 188 | c => state = State::Char(false), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/buffer/highlight.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 134 | assert_eq!(content.pos_loc(0), Vec2::new(0, 0)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 135 | assert_eq!(content.pos_loc(3), Vec2::new(3, 0)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(content.pos_loc(4), Vec2::new(4, 0)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 137 | assert_eq!(content.pos_loc(5), Vec2::new(5, 0)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 143 | assert_eq!(content.pos_loc(5), Vec2::new(5, 0)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 144 | assert_eq!(content.pos_loc(6), Vec2::new(0, 1)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos_loc` found for struct `content::Content` in the current scope [INFO] [stdout] --> src/buffer/content.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Content { [INFO] [stdout] | ------------------ method `pos_loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 145 | assert_eq!(content.pos_loc(11), Vec2::new(5, 1)); [INFO] [stdout] | ^^^^^^^ method not found in `content::Content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zte` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/display.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn size(&self) -> Extent2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/event.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rect_to_points` [INFO] [stdout] --> src/draw/mod.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn rect_to_points(canvas: &impl Canvas, pos: Vec2, size: Extent2) -> (Vec2, Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/ui/prompt.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn append(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_cursor` [INFO] [stdout] --> src/buffer/shared.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn remove_cursor(&mut self, id: &CursorId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultiComment` [INFO] [stdout] --> src/buffer/highlight.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | MultiComment, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bracket` [INFO] [stdout] --> src/buffer/highlight.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Bracket, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ef52aae4ecba03c0f95c5f16f9189828d7016603c319584269b48935964fece1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef52aae4ecba03c0f95c5f16f9189828d7016603c319584269b48935964fece1", kill_on_drop: false }` [INFO] [stdout] ef52aae4ecba03c0f95c5f16f9189828d7016603c319584269b48935964fece1