[INFO] cloning repository https://github.com/dorakueyon/rust-editor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dorakueyon/rust-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Frust-editor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Frust-editor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 62a51791d4d56afdd4dd8f66d026115f21f8879e
[INFO] testing dorakueyon/rust-editor against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Frust-editor" "/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/dorakueyon/rust-editor
[INFO] finished tweaking git repo https://github.com/dorakueyon/rust-editor
[INFO] tweaked toml for git repo https://github.com/dorakueyon/rust-editor written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dorakueyon/rust-editor on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dorakueyon/rust-editor 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fa76b7fb981500d7dd652029504130e1add890b0b09d1b55d94782984f58a2c
[INFO] running `Command { std: "docker" "start" "-a" "5fa76b7fb981500d7dd652029504130e1add890b0b09d1b55d94782984f58a2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fa76b7fb981500d7dd652029504130e1add890b0b09d1b55d94782984f58a2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fa76b7fb981500d7dd652029504130e1add890b0b09d1b55d94782984f58a2c", kill_on_drop: false }`
[INFO] [stdout] 5fa76b7fb981500d7dd652029504130e1add890b0b09d1b55d94782984f58a2c
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc9f1564ca1004d0b7da80cf15481ee5c8f352e16b6476059d656e40fd6e92dc
[INFO] running `Command { std: "docker" "start" "-a" "cc9f1564ca1004d0b7da80cf15481ee5c8f352e16b6476059d656e40fd6e92dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling termion v1.5.5
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rust-editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `stdin` and `stdout`
[INFO] [stdout]   --> src/editor.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]    |               ^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation`
[INFO] [stdout]  --> src/row.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use unicode_segmentation::UnicodeSegmentation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/terminal.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, stdout, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/editor.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 384 | /         loop {
[INFO] [stdout] 385 | |             let r = Terminal::read_key();
[INFO] [stdout] 386 | |             match &r {
[INFO] [stdout] 387 | |                 Ok(Key::Esc) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | |             self.editor_refresh_screen();
[INFO] [stdout] 409 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 410 |
[INFO] [stdout] 411 |           prompt
[INFO] [stdout]     |           ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_offset`
[INFO] [stdout]    --> src/editor.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let row_offset = 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_offset`
[INFO] [stdout]    --> src/editor.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let column_offset = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/editor.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |         let mut offset = &mut self.offset;
[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: `render_x`
[INFO] [stdout]    --> src/editor.rs:826:30
[INFO] [stdout]     |
[INFO] [stdout] 826 |         let Position { x, y, render_x } = self.position;
[INFO] [stdout]     |                              ^^^^^^^^ help: try ignoring the field: `render_x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quit_times` is never read
[INFO] [stdout]   --> src/editor.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct Editor {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     quit_times: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `editor_row_cx2rx` is never used
[INFO] [stdout]    --> src/editor.rs:587:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Editor {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn editor_row_cx2rx(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/editor.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |     panic!(e)
[INFO] [stdout]    |            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 75 |     panic!("{}", e)
[INFO] [stdout]    |            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 75 -     panic!(e)
[INFO] [stdout] 75 +     std::panic::panic_any(e)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let _ = self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 382 |         self.editor_refresh_screen();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let _ = self.editor_refresh_screen();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:408:13
[INFO] [stdout]     |
[INFO] [stdout] 408 |             self.editor_refresh_screen();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 408 |             let _ = self.editor_refresh_screen();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:507:21
[INFO] [stdout]     |
[INFO] [stdout] 507 | /                     self.document.replace_char_highlight(
[INFO] [stdout] 508 | |                         current_row as usize,
[INFO] [stdout] 509 | |                         x + 1,
[INFO] [stdout] 510 | |                         Highlight::Match,
[INFO] [stdout] 511 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 507 |                     let _ = self.document.replace_char_highlight(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:775:13
[INFO] [stdout]     |
[INFO] [stdout] 775 | /             self.document
[INFO] [stdout] 776 | |                 .replace_render(i as usize, new_vec[i as usize].clone());
[INFO] [stdout]     | |________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 775 |             let _ = self.document
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:864:13
[INFO] [stdout]     |
[INFO] [stdout] 864 | /             self.document
[INFO] [stdout] 865 | |                 .replace_highlight(i as usize, highlight[i as usize].clone());
[INFO] [stdout]     | |_____________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 864 |             let _ = self.document
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/editor.rs:1081:13
[INFO] [stdout]      |
[INFO] [stdout] 1081 | /             self.document
[INFO] [stdout] 1082 | |                 .replace_highlight(i as usize, highlight_matrix[i as usize].clone());
[INFO] [stdout]      | |____________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1081 |             let _ = self.document
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s
[INFO] running `Command { std: "docker" "inspect" "cc9f1564ca1004d0b7da80cf15481ee5c8f352e16b6476059d656e40fd6e92dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc9f1564ca1004d0b7da80cf15481ee5c8f352e16b6476059d656e40fd6e92dc", kill_on_drop: false }`
[INFO] [stdout] cc9f1564ca1004d0b7da80cf15481ee5c8f352e16b6476059d656e40fd6e92dc
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 741033f23384c43bdfb1abd59ed8a2eb744b6560d7290a8ddcc40d7bffc472de
[INFO] running `Command { std: "docker" "start" "-a" "741033f23384c43bdfb1abd59ed8a2eb744b6560d7290a8ddcc40d7bffc472de", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `stdin` and `stdout`
[INFO] [stdout]   --> src/editor.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]    |               ^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation`
[INFO] [stdout]  --> src/row.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use unicode_segmentation::UnicodeSegmentation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/terminal.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, stdout, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/editor.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 384 | /         loop {
[INFO] [stdout] 385 | |             let r = Terminal::read_key();
[INFO] [stdout] 386 | |             match &r {
[INFO] [stdout] 387 | |                 Ok(Key::Esc) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | |             self.editor_refresh_screen();
[INFO] [stdout] 409 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 410 |
[INFO] [stdout] 411 |           prompt
[INFO] [stdout]     |           ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_offset`
[INFO] [stdout]    --> src/editor.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let row_offset = 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_offset`
[INFO] [stdout]    --> src/editor.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let column_offset = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/editor.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |         let mut offset = &mut self.offset;
[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: `render_x`
[INFO] [stdout]    --> src/editor.rs:826:30
[INFO] [stdout]     |
[INFO] [stdout] 826 |         let Position { x, y, render_x } = self.position;
[INFO] [stdout]     |                              ^^^^^^^^ help: try ignoring the field: `render_x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_edge`
[INFO] [stdout]     --> src/editor.rs:1183:13
[INFO] [stdout]      |
[INFO] [stdout] 1183 |         let buf_edge = editor.document.row(0).unwrap().buf_len();
[INFO] [stdout]      |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_edge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quit_times` is never read
[INFO] [stdout]   --> src/editor.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct Editor {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     quit_times: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `editor_row_cx2rx` is never used
[INFO] [stdout]    --> src/editor.rs:587:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Editor {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn editor_row_cx2rx(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/editor.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |     panic!(e)
[INFO] [stdout]    |            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 75 |     panic!("{}", e)
[INFO] [stdout]    |            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 75 -     panic!(e)
[INFO] [stdout] 75 +     std::panic::panic_any(e)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let _ = self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 382 |         self.editor_refresh_screen();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let _ = self.editor_refresh_screen();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:408:13
[INFO] [stdout]     |
[INFO] [stdout] 408 |             self.editor_refresh_screen();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 408 |             let _ = self.editor_refresh_screen();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:507:21
[INFO] [stdout]     |
[INFO] [stdout] 507 | /                     self.document.replace_char_highlight(
[INFO] [stdout] 508 | |                         current_row as usize,
[INFO] [stdout] 509 | |                         x + 1,
[INFO] [stdout] 510 | |                         Highlight::Match,
[INFO] [stdout] 511 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 507 |                     let _ = self.document.replace_char_highlight(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:775:13
[INFO] [stdout]     |
[INFO] [stdout] 775 | /             self.document
[INFO] [stdout] 776 | |                 .replace_render(i as usize, new_vec[i as usize].clone());
[INFO] [stdout]     | |________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 775 |             let _ = self.document
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:864:13
[INFO] [stdout]     |
[INFO] [stdout] 864 | /             self.document
[INFO] [stdout] 865 | |                 .replace_highlight(i as usize, highlight[i as usize].clone());
[INFO] [stdout]     | |_____________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 864 |             let _ = self.document
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/editor.rs:1081:13
[INFO] [stdout]      |
[INFO] [stdout] 1081 | /             self.document
[INFO] [stdout] 1082 | |                 .replace_highlight(i as usize, highlight_matrix[i as usize].clone());
[INFO] [stdout]      | |____________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1081 |             let _ = self.document
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/editor.rs:1132:30
[INFO] [stdout]      |
[INFO] [stdout] 1132 |             Err(e) => panic!(e),
[INFO] [stdout]      |                              ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]      |
[INFO] [stdout] 1132 |             Err(e) => panic!("{}", e),
[INFO] [stdout]      |                              +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]      |
[INFO] [stdout] 1132 -             Err(e) => panic!(e),
[INFO] [stdout] 1132 +             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "741033f23384c43bdfb1abd59ed8a2eb744b6560d7290a8ddcc40d7bffc472de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "741033f23384c43bdfb1abd59ed8a2eb744b6560d7290a8ddcc40d7bffc472de", kill_on_drop: false }`
[INFO] [stdout] 741033f23384c43bdfb1abd59ed8a2eb744b6560d7290a8ddcc40d7bffc472de
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 26cc892c95e6e32cba6cc354da9db2cb00f14f61c4babf97ffdc30d50d68b6fa
[INFO] running `Command { std: "docker" "start" "-a" "26cc892c95e6e32cba6cc354da9db2cb00f14f61c4babf97ffdc30d50d68b6fa", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `stdin` and `stdout`
[INFO] [stderr]   --> src/editor.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::io::{stdin, stdout, Write};
[INFO] [stderr]    |               ^^^^^  ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `unicode_segmentation::UnicodeSegmentation`
[INFO] [stderr]  --> src/row.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use unicode_segmentation::UnicodeSegmentation;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/terminal.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::{self, stdout, Write};
[INFO] [stderr]   |               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/editor.rs:411:9
[INFO] [stderr]     |
[INFO] [stderr] 384 | /         loop {
[INFO] [stderr] 385 | |             let r = Terminal::read_key();
[INFO] [stderr] 386 | |             match &r {
[INFO] [stderr] 387 | |                 Ok(Key::Esc) => {
[INFO] [stderr] ...   |
[INFO] [stderr] 408 | |             self.editor_refresh_screen();
[INFO] [stderr] 409 | |         }
[INFO] [stderr]     | |_________- any code following this expression is unreachable
[INFO] [stderr] 410 |
[INFO] [stderr] 411 |           prompt
[INFO] [stderr]     |           ^^^^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `row_offset`
[INFO] [stderr]    --> src/editor.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let row_offset = 0;
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_offset`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `column_offset`
[INFO] [stderr]    --> src/editor.rs:124:13
[INFO] [stderr]     |
[INFO] [stderr] 124 |         let column_offset = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_offset`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/editor.rs:829:13
[INFO] [stderr]     |
[INFO] [stderr] 829 |         let mut offset = &mut self.offset;
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `render_x`
[INFO] [stderr]    --> src/editor.rs:826:30
[INFO] [stderr]     |
[INFO] [stderr] 826 |         let Position { x, y, render_x } = self.position;
[INFO] [stderr]     |                              ^^^^^^^^ help: try ignoring the field: `render_x: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf_edge`
[INFO] [stderr]     --> src/editor.rs:1183:13
[INFO] [stderr]      |
[INFO] [stderr] 1183 |         let buf_edge = editor.document.row(0).unwrap().buf_len();
[INFO] [stderr]      |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_edge`
[INFO] [stderr] 
[INFO] [stderr] warning: field `quit_times` is never read
[INFO] [stderr]   --> src/editor.rs:95:5
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub struct Editor {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 95 |     quit_times: u8,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `editor_row_cx2rx` is never used
[INFO] [stderr]    --> src/editor.rs:587:8
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl Editor {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 587 |     fn editor_row_cx2rx(&self) -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/editor.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 75 |     panic!(e)
[INFO] [stderr]    |            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 75 |     panic!("{}", e)
[INFO] [stderr]    |            +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 75 -     panic!(e)
[INFO] [stderr] 75 +     std::panic::panic_any(e)
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:234:9
[INFO] [stderr]     |
[INFO] [stderr] 234 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 234 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 |         self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 259 |         let _ = self.document.replace_buf(self.position.y as usize, new_buf);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:280:9
[INFO] [stderr]     |
[INFO] [stderr] 280 |         self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 280 |         let _ = self.document.replace_buf(append_to_row_index, move_to_buf);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:382:9
[INFO] [stderr]     |
[INFO] [stderr] 382 |         self.editor_refresh_screen();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 382 |         let _ = self.editor_refresh_screen();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:408:13
[INFO] [stderr]     |
[INFO] [stderr] 408 |             self.editor_refresh_screen();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 408 |             let _ = self.editor_refresh_screen();
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:507:21
[INFO] [stderr]     |
[INFO] [stderr] 507 | /                     self.document.replace_char_highlight(
[INFO] [stderr] 508 | |                         current_row as usize,
[INFO] [stderr] 509 | |                         x + 1,
[INFO] [stderr] 510 | |                         Highlight::Match,
[INFO] [stderr] 511 | |                     );
[INFO] [stderr]     | |_____________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 507 |                     let _ = self.document.replace_char_highlight(
[INFO] [stderr]     |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:775:13
[INFO] [stderr]     |
[INFO] [stderr] 775 | /             self.document
[INFO] [stderr] 776 | |                 .replace_render(i as usize, new_vec[i as usize].clone());
[INFO] [stderr]     | |________________________________________________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 775 |             let _ = self.document
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/editor.rs:864:13
[INFO] [stderr]     |
[INFO] [stderr] 864 | /             self.document
[INFO] [stderr] 865 | |                 .replace_highlight(i as usize, highlight[i as usize].clone());
[INFO] [stderr]     | |_____________________________________________________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 864 |             let _ = self.document
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]     --> src/editor.rs:1081:13
[INFO] [stderr]      |
[INFO] [stderr] 1081 | /             self.document
[INFO] [stderr] 1082 | |                 .replace_highlight(i as usize, highlight_matrix[i as usize].clone());
[INFO] [stderr]      | |____________________________________________________________________________________^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1081 |             let _ = self.document
[INFO] [stderr]      |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]     --> src/editor.rs:1132:30
[INFO] [stderr]      |
[INFO] [stderr] 1132 |             Err(e) => panic!(e),
[INFO] [stderr]      |                              ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]      |
[INFO] [stderr] 1132 |             Err(e) => panic!("{}", e),
[INFO] [stderr]      |                              +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]      |
[INFO] [stderr] 1132 -             Err(e) => panic!(e),
[INFO] [stderr] 1132 +             Err(e) => std::panic::panic_any(e),
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-editor` (bin "rust-editor" test) generated 22 warnings (run `cargo fix --bin "rust-editor" -p rust-editor --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_editor-1e3b3d81d9cdff0e)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test editor::test::test_move_cursor ... FAILED
[INFO] [stdout] test editor::test::test_move_cursor_within_terminal_size ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- editor::test::test_move_cursor stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'editor::test::test_move_cursor' (25) panicked at src/terminal.rs:30:56:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 25, kind: Uncategorized, message: "Inappropriate ioctl for device" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57b13f262d72 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57b13f262d72 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57b13f262d72 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x57b13f262d72 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x57b13f272dbf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x57b13f272dbf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x57b13f230783 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57b13f230783 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x57b13f23c522 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x57b13f2410bf - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x57b13f240f51 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x57b13f1ff22e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x57b13f1ff22e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57b13f2416cf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x57b13f2416cf - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x57b13f24152a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x57b13f23c659 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x57b13f224f4d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x57b13f27a6e0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57b13f279dc6 - core::result::unwrap_failed::he05762ef9e6bdf9c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1862:5
[INFO] [stdout]   20:     0x57b13f1db98b - core::result::Result<T,E>::unwrap::he98bde405b9b0ccc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x57b13f1db98b - rust_editor::terminal::Terminal::get_window_size::h4d308b81e3ea4b60
[INFO] [stdout]                                at /opt/rustwide/workdir/src/terminal.rs:30:56
[INFO] [stdout]   22:     0x57b13f1db9f6 - rust_editor::terminal::Terminal::default::ha5ba11ba2795de90
[INFO] [stdout]                                at /opt/rustwide/workdir/src/terminal.rs:20:59
[INFO] [stdout]   23:     0x57b13f1db274 - rust_editor::editor::Editor::new::hc985716ac8d4a728
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:134:23
[INFO] [stdout]   24:     0x57b13f1db54b - rust_editor::editor::Editor::default::h08e6739015308779
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1087:26
[INFO] [stdout]   25:     0x57b13f1d5811 - rust_editor::editor::test::test_move_cursor::h9e1103ca07655c2f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1144:26
[INFO] [stdout]   26:     0x57b13f1d5de7 - rust_editor::editor::test::test_move_cursor::{{closure}}::h08568526a10e0a76
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1143:26
[INFO] [stdout]   27:     0x57b13f1dc596 - core::ops::function::FnOnce::call_once::h3a075bcba7d5ca57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x57b13f1ff02b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   29:     0x57b13f1ff02b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   30:     0x57b13f21308d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   31:     0x57b13f21308d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   32:     0x57b13f21308d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   33:     0x57b13f21308d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   34:     0x57b13f21308d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   35:     0x57b13f21308d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   36:     0x57b13f21308d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   37:     0x57b13f1ec5d4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   38:     0x57b13f1ec5d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   39:     0x57b13f1efe2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   40:     0x57b13f1efe2a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   41:     0x57b13f1efe2a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   42:     0x57b13f1efe2a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   43:     0x57b13f1efe2a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   44:     0x57b13f1efe2a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   45:     0x57b13f1efe2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x57b13f237a5f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   47:     0x57b13f237a5f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   48:     0x78495d6eeaa4 - <unknown>
[INFO] [stdout]   49:     0x78495d77ba64 - clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- editor::test::test_move_cursor_within_terminal_size stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'editor::test::test_move_cursor_within_terminal_size' (26) panicked at src/terminal.rs:30:56:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 25, kind: Uncategorized, message: "Inappropriate ioctl for device" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57b13f262d72 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57b13f262d72 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57b13f262d72 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x57b13f262d72 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x57b13f272dbf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x57b13f272dbf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x57b13f230783 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57b13f230783 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x57b13f23c522 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x57b13f2410bf - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x57b13f240f51 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x57b13f1ff22e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x57b13f1ff22e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57b13f2416cf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x57b13f2416cf - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x57b13f24152a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x57b13f23c659 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x57b13f224f4d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x57b13f27a6e0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57b13f279dc6 - core::result::unwrap_failed::he05762ef9e6bdf9c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1862:5
[INFO] [stdout]   20:     0x57b13f1db98b - core::result::Result<T,E>::unwrap::he98bde405b9b0ccc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x57b13f1db98b - rust_editor::terminal::Terminal::get_window_size::h4d308b81e3ea4b60
[INFO] [stdout]                                at /opt/rustwide/workdir/src/terminal.rs:30:56
[INFO] [stdout]   22:     0x57b13f1db9f6 - rust_editor::terminal::Terminal::default::ha5ba11ba2795de90
[INFO] [stdout]                                at /opt/rustwide/workdir/src/terminal.rs:20:59
[INFO] [stdout]   23:     0x57b13f1db274 - rust_editor::editor::Editor::new::hc985716ac8d4a728
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:134:23
[INFO] [stdout]   24:     0x57b13f1db54b - rust_editor::editor::Editor::default::h08e6739015308779
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1087:26
[INFO] [stdout]   25:     0x57b13f1d6461 - rust_editor::editor::test::test_move_cursor_within_terminal_size::h880b192dd2c57dd4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1170:26
[INFO] [stdout]   26:     0x57b13f1d6687 - rust_editor::editor::test::test_move_cursor_within_terminal_size::{{closure}}::h1e94dcd828d66942
[INFO] [stdout]                                at /opt/rustwide/workdir/src/editor.rs:1169:47
[INFO] [stdout]   27:     0x57b13f1dc616 - core::ops::function::FnOnce::call_once::hf65c4a9efaa9d652
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x57b13f1ff02b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   29:     0x57b13f1ff02b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   30:     0x57b13f21308d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   31:     0x57b13f21308d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   32:     0x57b13f21308d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   33:     0x57b13f21308d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   34:     0x57b13f21308d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   35:     0x57b13f21308d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   36:     0x57b13f21308d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   37:     0x57b13f1ec5d4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   38:     0x57b13f1ec5d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   39:     0x57b13f1efe2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   40:     0x57b13f1efe2a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   41:     0x57b13f1efe2a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   42:     0x57b13f1efe2a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   43:     0x57b13f1efe2a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   44:     0x57b13f1efe2a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   45:     0x57b13f1efe2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x57b13f237a5f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   47:     0x57b13f237a5f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   48:     0x78495d6eeaa4 - <unknown>
[INFO] [stdout]   49:     0x78495d77ba64 - clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     editor::test::test_move_cursor
[INFO] [stdout]     editor::test::test_move_cursor_within_terminal_size
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust-editor`
[INFO] running `Command { std: "docker" "inspect" "26cc892c95e6e32cba6cc354da9db2cb00f14f61c4babf97ffdc30d50d68b6fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26cc892c95e6e32cba6cc354da9db2cb00f14f61c4babf97ffdc30d50d68b6fa", kill_on_drop: false }`
[INFO] [stdout] 26cc892c95e6e32cba6cc354da9db2cb00f14f61c4babf97ffdc30d50d68b6fa
