[INFO] fetching crate phantom-editor 0.1.0...
[INFO] building phantom-editor-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate phantom-editor 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate phantom-editor 0.1.0
[INFO] finished tweaking crates.io crate phantom-editor 0.1.0
[INFO] tweaked toml for crates.io crate phantom-editor 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate phantom-editor 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate phantom-editor 0.1.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33ea4e496dd0cdabfddc499b637afffa3d6d1ac73299c4e8702e166108e65871
[INFO] running `Command { std: "docker" "start" "-a" "33ea4e496dd0cdabfddc499b637afffa3d6d1ac73299c4e8702e166108e65871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33ea4e496dd0cdabfddc499b637afffa3d6d1ac73299c4e8702e166108e65871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33ea4e496dd0cdabfddc499b637afffa3d6d1ac73299c4e8702e166108e65871", kill_on_drop: false }`
[INFO] [stdout] 33ea4e496dd0cdabfddc499b637afffa3d6d1ac73299c4e8702e166108e65871
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b68e78c88ad59a4fe6eb346895cf783af9d6309f92d9e0228ff53e46c539855f
[INFO] running `Command { std: "docker" "start" "-a" "b68e78c88ad59a4fe6eb346895cf783af9d6309f92d9e0228ff53e46c539855f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling str_indices v0.4.0
[INFO] [stderr]    Compiling ropey v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling phantom-editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/log.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Error, 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: variable `_Mouse` should have a snake case name
[INFO] [stdout]   --> src/input.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             _Mouse => Ok(Command::default()),
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `_mouse`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/buffer.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Result<T> = std::result::Result<T, BufError>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text` is never read
[INFO] [stdout]   --> src/buffer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Buffer {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 27 |     text: Rope,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Status` is never used
[INFO] [stdout]  --> src/screen/status.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Status {
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ScreenError` is never used
[INFO] [stdout]   --> src/screen.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ScreenError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ComponentError` is never used
[INFO] [stdout]   --> src/screen.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ComponentError {}
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]   --> src/screen/status.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct StatusBar {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_elapsed` are never used
[INFO] [stdout]   --> src/screen/status.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 20 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn is_elapsed(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `components` is never read
[INFO] [stdout]  --> src/screen/workspace.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Workspace {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     // Tree of Components!
[INFO] [stdout] 7 |     components: BTreeMap<u16, Box<dyn Component>>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_component`, `del_component`, `update`, and `draw` are never used
[INFO] [stdout]   --> src/screen/workspace.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Workspace {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn add_component(&mut self, id: u16, component: Box<dyn Component>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn del_component(&mut self, id: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn draw(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `file` are never read
[INFO] [stdout]  --> src/log.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Log {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 8 |     queue: VecDeque<String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     file: Option<File>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_file`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/log.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Log {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn with_file(&mut self, filename: Option<&str>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn push(&mut self, msg: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn pop(&mut self) -> Option<String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]  --> src/screen/draw.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rect {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]   --> src/document.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Position {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 26 |     pub row: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub col: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_name`, `pos`, and `buf` are never read
[INFO] [stdout]   --> src/document.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Document {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 42 |     pub file_name: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |     pos: Position,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     buf: Buffer,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `documents`, `log`, and `screen` are never read
[INFO] [stdout]   --> src/phantom.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Phantom {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     term: Terminal,
[INFO] [stdout] 39 |     documents: Vec<Document>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     input: Input,
[INFO] [stdout] 41 |     log: Log,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 42 |     screen: Screen,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_screen` is never used
[INFO] [stdout]   --> src/phantom.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Phantom {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn clear_screen(&mut self) -> PResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `line_count`, `insert`, `insert_char`, and `get_idx` are never used
[INFO] [stdout]   --> src/buffer.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Buffer {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn line_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(&mut self, s: &str, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn insert_char(&mut self, c: char, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_idx(&self, pos: &doc::Position) -> Result<usize> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Pane` is never used
[INFO] [stdout]  --> src/screen/pane.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Pane: Component {
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CResult` is never used
[INFO] [stdout]   --> src/screen.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type CResult<T> = std::result::Result<T, ComponentError>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SResult` is never used
[INFO] [stdout]   --> src/screen.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type SResult<T> = std::result::Result<T, ScreenError>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Component {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 26 |     fn draw(&self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_queue` and `workspaces` are never read
[INFO] [stdout]   --> src/screen.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Screen {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 35 |     event_queue: VecDeque<Event>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 36 |     workspaces: HashMap<u16, Workspace>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_update` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Screen {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn send_update(&mut self, event: Event) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn update(&mut self) -> SResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/terminal.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Mouse(e::MouseEvent),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     Mouse(e::MouseEvent),
[INFO] [stdout] 37 +     Mouse(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cols` and `rows` are never read
[INFO] [stdout]   --> src/terminal.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Size {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 43 |     cols: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |     rows: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/terminal.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl Terminal {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn flush(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn cursor_show(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn cursor_position(&mut self, col: u16, row: u16) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn clear_screen(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn clear_line(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn fg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn bg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn fg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn bg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn size_get(&self) -> &Size {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn size_set(&mut self, size: Size) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn startup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn cleanup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.06s
[INFO] running `Command { std: "docker" "inspect" "b68e78c88ad59a4fe6eb346895cf783af9d6309f92d9e0228ff53e46c539855f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b68e78c88ad59a4fe6eb346895cf783af9d6309f92d9e0228ff53e46c539855f", kill_on_drop: false }`
[INFO] [stdout] b68e78c88ad59a4fe6eb346895cf783af9d6309f92d9e0228ff53e46c539855f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f46ff13baad5e2236436a933e709d84c1dfde710dee1e8fc886d6d946d087dd0
[INFO] running `Command { std: "docker" "start" "-a" "f46ff13baad5e2236436a933e709d84c1dfde710dee1e8fc886d6d946d087dd0", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/log.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Error, 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: variable `_Mouse` should have a snake case name
[INFO] [stdout]   --> src/input.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             _Mouse => Ok(Command::default()),
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `_mouse`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/buffer.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Result<T> = std::result::Result<T, BufError>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text` is never read
[INFO] [stdout]   --> src/buffer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Buffer {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 27 |     text: Rope,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Status` is never used
[INFO] [stdout]  --> src/screen/status.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Status {
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ScreenError` is never used
[INFO] [stdout]   --> src/screen.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ScreenError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ComponentError` is never used
[INFO] [stdout]   --> src/screen.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ComponentError {}
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]   --> src/screen/status.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct StatusBar {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_elapsed` are never used
[INFO] [stdout]   --> src/screen/status.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 20 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn is_elapsed(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `components` is never read
[INFO] [stdout]  --> src/screen/workspace.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Workspace {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     // Tree of Components!
[INFO] [stdout] 7 |     components: BTreeMap<u16, Box<dyn Component>>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_component`, `del_component`, `update`, and `draw` are never used
[INFO] [stdout]   --> src/screen/workspace.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Workspace {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn add_component(&mut self, id: u16, component: Box<dyn Component>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn del_component(&mut self, id: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn draw(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `file` are never read
[INFO] [stdout]  --> src/log.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Log {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 8 |     queue: VecDeque<String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     file: Option<File>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_file`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/log.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Log {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn with_file(&mut self, filename: Option<&str>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn push(&mut self, msg: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn pop(&mut self) -> Option<String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]  --> src/screen/draw.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rect {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]   --> src/document.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Position {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 26 |     pub row: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub col: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_name`, `pos`, and `buf` are never read
[INFO] [stdout]   --> src/document.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Document {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 42 |     pub file_name: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |     pos: Position,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     buf: Buffer,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `documents`, `log`, and `screen` are never read
[INFO] [stdout]   --> src/phantom.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Phantom {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     term: Terminal,
[INFO] [stdout] 39 |     documents: Vec<Document>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     input: Input,
[INFO] [stdout] 41 |     log: Log,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 42 |     screen: Screen,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_screen` is never used
[INFO] [stdout]   --> src/phantom.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Phantom {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn clear_screen(&mut self) -> PResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `line_count`, `insert`, `insert_char`, and `get_idx` are never used
[INFO] [stdout]   --> src/buffer.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Buffer {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn line_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(&mut self, s: &str, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn insert_char(&mut self, c: char, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_idx(&self, pos: &doc::Position) -> Result<usize> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Pane` is never used
[INFO] [stdout]  --> src/screen/pane.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Pane: Component {
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CResult` is never used
[INFO] [stdout]   --> src/screen.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type CResult<T> = std::result::Result<T, ComponentError>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling phantom-editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `SResult` is never used
[INFO] [stdout]   --> src/screen.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type SResult<T> = std::result::Result<T, ScreenError>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Component {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 26 |     fn draw(&self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_queue` and `workspaces` are never read
[INFO] [stdout]   --> src/screen.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Screen {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 35 |     event_queue: VecDeque<Event>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 36 |     workspaces: HashMap<u16, Workspace>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_update` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Screen {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn send_update(&mut self, event: Event) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn update(&mut self) -> SResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/terminal.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Mouse(e::MouseEvent),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     Mouse(e::MouseEvent),
[INFO] [stdout] 37 +     Mouse(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cols` and `rows` are never read
[INFO] [stdout]   --> src/terminal.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Size {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 43 |     cols: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |     rows: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/terminal.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl Terminal {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn flush(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn cursor_show(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn cursor_position(&mut self, col: u16, row: u16) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn clear_screen(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn clear_line(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn fg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn bg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn fg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn bg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn size_get(&self) -> &Size {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn size_set(&mut self, size: Size) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn startup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn cleanup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/log.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Error, 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: type alias `Result` is never used
[INFO] [stdout]   --> src/buffer.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Result<T> = std::result::Result<T, BufError>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ScreenError` is never used
[INFO] [stdout]   --> src/screen.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ScreenError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ComponentError` is never used
[INFO] [stdout]   --> src/screen.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ComponentError {}
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]  --> src/screen/draw.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rect {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Pane` is never used
[INFO] [stdout]  --> src/screen/pane.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Pane: Component {
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `file` are never read
[INFO] [stdout]  --> src/log.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Log {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 8 |     queue: VecDeque<String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     file: Option<File>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `_Mouse` should have a snake case name
[INFO] [stdout]   --> src/input.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             _Mouse => Ok(Command::default()),
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `_mouse`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CResult` is never used
[INFO] [stdout]   --> src/screen.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type CResult<T> = std::result::Result<T, ComponentError>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SResult` is never used
[INFO] [stdout]   --> src/screen.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type SResult<T> = std::result::Result<T, ScreenError>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Status` is never used
[INFO] [stdout]  --> src/screen/status.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Status {
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]   --> src/screen/status.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct StatusBar {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_elapsed` are never used
[INFO] [stdout]   --> src/screen/status.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 20 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn is_elapsed(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `documents`, `log`, and `screen` are never read
[INFO] [stdout]   --> src/phantom.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Phantom {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     term: Terminal,
[INFO] [stdout] 39 |     documents: Vec<Document>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     input: Input,
[INFO] [stdout] 41 |     log: Log,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 42 |     screen: Screen,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_screen` is never used
[INFO] [stdout]   --> src/phantom.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Phantom {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn clear_screen(&mut self) -> PResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text` is never read
[INFO] [stdout]   --> src/buffer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Buffer {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 27 |     text: Rope,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/terminal.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Mouse(e::MouseEvent),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     Mouse(e::MouseEvent),
[INFO] [stdout] 37 +     Mouse(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_file`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/log.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Log {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn with_file(&mut self, filename: Option<&str>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn push(&mut self, msg: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn pop(&mut self) -> Option<String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `components` is never read
[INFO] [stdout]  --> src/screen/workspace.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Workspace {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     // Tree of Components!
[INFO] [stdout] 7 |     components: BTreeMap<u16, Box<dyn Component>>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `line_count`, `insert`, `insert_char`, and `get_idx` are never used
[INFO] [stdout]   --> src/buffer.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Buffer {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn line_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(&mut self, s: &str, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn insert_char(&mut self, c: char, pos: &doc::Position) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_idx(&self, pos: &doc::Position) -> Result<usize> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]   --> src/document.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Position {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 26 |     pub row: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub col: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Component {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 26 |     fn draw(&self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_queue` and `workspaces` are never read
[INFO] [stdout]   --> src/screen.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Screen {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 35 |     event_queue: VecDeque<Event>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 36 |     workspaces: HashMap<u16, Workspace>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_component`, `del_component`, `update`, and `draw` are never used
[INFO] [stdout]   --> src/screen/workspace.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Workspace {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn add_component(&mut self, id: u16, component: Box<dyn Component>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn del_component(&mut self, id: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn update(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn draw(&mut self) -> CResult<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_update` and `update` are never used
[INFO] [stdout]   --> src/screen.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Screen {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn send_update(&mut self, event: Event) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn update(&mut self) -> SResult<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cols` and `rows` are never read
[INFO] [stdout]   --> src/terminal.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Size {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 43 |     cols: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |     rows: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_name`, `pos`, and `buf` are never read
[INFO] [stdout]   --> src/document.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Document {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 42 |     pub file_name: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |     pos: Position,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     buf: Buffer,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/terminal.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl Terminal {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn flush(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn cursor_show(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn cursor_position(&mut self, col: u16, row: u16) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn clear_screen(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn clear_line(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn fg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn bg_set(&mut self, rgb: Rgb) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn fg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn bg_reset(&mut self) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn size_get(&self) -> &Size {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn size_set(&mut self, size: Size) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn startup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn cleanup(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s
[INFO] running `Command { std: "docker" "inspect" "f46ff13baad5e2236436a933e709d84c1dfde710dee1e8fc886d6d946d087dd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f46ff13baad5e2236436a933e709d84c1dfde710dee1e8fc886d6d946d087dd0", kill_on_drop: false }`
[INFO] [stdout] f46ff13baad5e2236436a933e709d84c1dfde710dee1e8fc886d6d946d087dd0
