[INFO] cloning repository https://github.com/nacleric/jaecheondaeseong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nacleric/jaecheondaeseong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b09d019f74f119ee6a369f8ae07284d9ea93c3c5 [INFO] checking nacleric/jaecheondaeseong against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacleric/jaecheondaeseong on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] finished tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] tweaked toml for git repo https://github.com/nacleric/jaecheondaeseong written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nacleric/jaecheondaeseong 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded non-empty-vec v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6defd488d54b41d2c59822027435b9b4ff89b59a0671f47024ed7be1f5fc86f4 [INFO] running `Command { std: "docker" "start" "-a" "6defd488d54b41d2c59822027435b9b4ff89b59a0671f47024ed7be1f5fc86f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6defd488d54b41d2c59822027435b9b4ff89b59a0671f47024ed7be1f5fc86f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6defd488d54b41d2c59822027435b9b4ff89b59a0671f47024ed7be1f5fc86f4", kill_on_drop: false }` [INFO] [stdout] 6defd488d54b41d2c59822027435b9b4ff89b59a0671f47024ed7be1f5fc86f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a3e5a45a04535583903c8e6a1390d07a0fb5160bfac29b167070b73a0d5ba2e [INFO] running `Command { std: "docker" "start" "-a" "3a3e5a45a04535583903c8e6a1390d07a0fb5160bfac29b167070b73a0d5ba2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking non-empty-vec v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking mori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/delete_grapheme.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/delete_grapheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/insert_grapheme.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/insert_grapheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/position_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/position_buffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `cursor_position::CursorPosition`, `position_buffer::PositionBuffer`, `utf8_buffer::Utf8Buffer`, `view::Terminal` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | model::{ [INFO] [stdout] 12 | cursor_position::CursorPosition, position_buffer::PositionBuffer, utf8_buffer::Utf8Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | view::Terminal, // might replace this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdout` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{self, stdout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `cursor_position::CursorPosition`, `position_buffer::PositionBuffer`, `utf8_buffer::Utf8Buffer`, `view::Terminal` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | model::{ [INFO] [stdout] 12 | cursor_position::CursorPosition, position_buffer::PositionBuffer, utf8_buffer::Utf8Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | view::Terminal, // might replace this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdout` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{self, stdout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_row`, `col_count`, `delete_row`, `edit_row`, `insert_row`, and `row_count` are never used [INFO] [stdout] --> src/interfaces/row_buffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait RowBuffer { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn append_row(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn col_count(&self, row_index: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn delete_row(&mut self, row_index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | fn edit_row(&mut self, row_index: usize) -> Option<&mut Self::Row>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | fn insert_row(&mut self, row_index: usize) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn row_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_tuple`, `col`, and `row` are never used [INFO] [stdout] --> src/model/cursor_position.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CursorPosition { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(col: usize, row: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn as_tuple(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn row(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model/position_buffer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PositionBuffer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: Utf8Buffer, position: CursorPosition) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn delete_grapheme(&mut self, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn index(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert_grapheme(&mut self, grapheme: char) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_down(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn move_left(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn move_right(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn move_up(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/model/utf8_buffer/direction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position_buffer`, `input`, and `output` are never read [INFO] [stdout] --> src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Terminal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | position_buffer: PositionBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | input: Stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | output: Stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terminal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/view.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: PositionBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn clear_screen(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/editor.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/model/position_buffer.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PositionBuffer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn index(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position_buffer`, `input`, and `output` are never read [INFO] [stdout] --> src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Terminal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | position_buffer: PositionBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | input: Stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | output: Stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terminal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/view.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: PositionBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn clear_screen(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/editor.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "3a3e5a45a04535583903c8e6a1390d07a0fb5160bfac29b167070b73a0d5ba2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3e5a45a04535583903c8e6a1390d07a0fb5160bfac29b167070b73a0d5ba2e", kill_on_drop: false }` [INFO] [stdout] 3a3e5a45a04535583903c8e6a1390d07a0fb5160bfac29b167070b73a0d5ba2e [INFO] checking nacleric/jaecheondaeseong against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacleric/jaecheondaeseong on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] finished tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] tweaked toml for git repo https://github.com/nacleric/jaecheondaeseong written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nacleric/jaecheondaeseong 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9db77f27bae3a2fc9c7784f8d1fafd7f8da8935a60e4009a26763fa90e00c35d [INFO] running `Command { std: "docker" "start" "-a" "9db77f27bae3a2fc9c7784f8d1fafd7f8da8935a60e4009a26763fa90e00c35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db77f27bae3a2fc9c7784f8d1fafd7f8da8935a60e4009a26763fa90e00c35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db77f27bae3a2fc9c7784f8d1fafd7f8da8935a60e4009a26763fa90e00c35d", kill_on_drop: false }` [INFO] [stdout] 9db77f27bae3a2fc9c7784f8d1fafd7f8da8935a60e4009a26763fa90e00c35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b957b604ca39fdfb293de715f3eb99fd7b2650c0b08dab03b4eb9b0d849289e [INFO] running `Command { std: "docker" "start" "-a" "1b957b604ca39fdfb293de715f3eb99fd7b2650c0b08dab03b4eb9b0d849289e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking non-empty-vec v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking mori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `cursor_position::CursorPosition`, `position_buffer::PositionBuffer`, `utf8_buffer::Utf8Buffer`, `view::Terminal` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | model::{ [INFO] [stdout] 12 | cursor_position::CursorPosition, position_buffer::PositionBuffer, utf8_buffer::Utf8Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | view::Terminal, // might replace this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdout` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{self, stdout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/delete_grapheme.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/delete_grapheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/insert_grapheme.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/insert_grapheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CursorPosition` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/position_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cursor_position::CursorPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `CursorPosition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utf8Buffer` is imported redundantly [INFO] [stdout] --> src/model/position_buffer/unit_tests/position_buffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::utf8_buffer::Utf8Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Utf8Buffer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `cursor_position::CursorPosition`, `position_buffer::PositionBuffer`, `utf8_buffer::Utf8Buffer`, `view::Terminal` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | model::{ [INFO] [stdout] 12 | cursor_position::CursorPosition, position_buffer::PositionBuffer, utf8_buffer::Utf8Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | view::Terminal, // might replace this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdout` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{self, stdout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_row`, `col_count`, `delete_row`, `edit_row`, `insert_row`, and `row_count` are never used [INFO] [stdout] --> src/interfaces/row_buffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait RowBuffer { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn append_row(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn col_count(&self, row_index: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn delete_row(&mut self, row_index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | fn edit_row(&mut self, row_index: usize) -> Option<&mut Self::Row>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | fn insert_row(&mut self, row_index: usize) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn row_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_tuple`, `col`, and `row` are never used [INFO] [stdout] --> src/model/cursor_position.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CursorPosition { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(col: usize, row: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn as_tuple(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn row(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model/position_buffer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PositionBuffer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: Utf8Buffer, position: CursorPosition) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn delete_grapheme(&mut self, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn index(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert_grapheme(&mut self, grapheme: char) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_down(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn move_left(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn move_right(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn move_up(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/model/utf8_buffer/direction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position_buffer`, `input`, and `output` are never read [INFO] [stdout] --> src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Terminal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | position_buffer: PositionBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | input: Stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | output: Stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terminal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/view.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: PositionBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn clear_screen(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/editor.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/model/position_buffer.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PositionBuffer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn index(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position_buffer`, `input`, and `output` are never read [INFO] [stdout] --> src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Terminal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | position_buffer: PositionBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | input: Stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | output: Stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terminal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/view.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(buffer: PositionBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn clear_screen(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/editor.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model/utf8_buffer.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!(ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or_else(|| unreachable!("{}", ERR_INTERNAL_NON_EMPTY_VEC_REQUIRED)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "1b957b604ca39fdfb293de715f3eb99fd7b2650c0b08dab03b4eb9b0d849289e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b957b604ca39fdfb293de715f3eb99fd7b2650c0b08dab03b4eb9b0d849289e", kill_on_drop: false }` [INFO] [stdout] 1b957b604ca39fdfb293de715f3eb99fd7b2650c0b08dab03b4eb9b0d849289e