[INFO] cloning repository https://github.com/LaviejaD/text-editor-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaviejaD/text-editor-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73fea8802421d342104622b07b1f6990a21b75e8 [INFO] checking LaviejaD/text-editor-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaviejaD/text-editor-rust 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/LaviejaD/text-editor-rust [INFO] finished tweaking git repo https://github.com/LaviejaD/text-editor-rust [INFO] tweaked toml for git repo https://github.com/LaviejaD/text-editor-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LaviejaD/text-editor-rust 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] Downloading crates ... [INFO] [stderr] Downloaded text2art v1.0.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 548949daedb7451745703dfc49d63851792369e576069b56173791cf4581e2e4 [INFO] running `Command { std: "docker" "start" "-a" "548949daedb7451745703dfc49d63851792369e576069b56173791cf4581e2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "548949daedb7451745703dfc49d63851792369e576069b56173791cf4581e2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548949daedb7451745703dfc49d63851792369e576069b56173791cf4581e2e4", kill_on_drop: false }` [INFO] [stdout] 548949daedb7451745703dfc49d63851792369e576069b56173791cf4581e2e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2d46efdd5a05a76b1918acf76067f95eb36a35fc21c4c992c6857a174674947e [INFO] running `Command { std: "docker" "start" "-a" "2d46efdd5a05a76b1918acf76067f95eb36a35fc21c4c992c6857a174674947e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking text2art v1.0.1 [INFO] [stderr] Checking text-editor-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `crossterm` is imported redundantly [INFO] [stdout] --> src/editormod/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm; [INFO] [stdout] | ^^^^^^^^^ the item `crossterm` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/editormod/rows.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `crossterm` is imported redundantly [INFO] [stdout] --> src/editormod/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm; [INFO] [stdout] | ^^^^^^^^^ the item `crossterm` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/editormod/rows.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "2d46efdd5a05a76b1918acf76067f95eb36a35fc21c4c992c6857a174674947e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d46efdd5a05a76b1918acf76067f95eb36a35fc21c4c992c6857a174674947e", kill_on_drop: false }` [INFO] [stdout] 2d46efdd5a05a76b1918acf76067f95eb36a35fc21c4c992c6857a174674947e [INFO] checking LaviejaD/text-editor-rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaviejaD/text-editor-rust 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/LaviejaD/text-editor-rust [INFO] finished tweaking git repo https://github.com/LaviejaD/text-editor-rust [INFO] tweaked toml for git repo https://github.com/LaviejaD/text-editor-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LaviejaD/text-editor-rust 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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa59adcd52d001b12b47a8d47f2ed5afb7d07b104b272928a347d3a5ce5647ea [INFO] running `Command { std: "docker" "start" "-a" "fa59adcd52d001b12b47a8d47f2ed5afb7d07b104b272928a347d3a5ce5647ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa59adcd52d001b12b47a8d47f2ed5afb7d07b104b272928a347d3a5ce5647ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa59adcd52d001b12b47a8d47f2ed5afb7d07b104b272928a347d3a5ce5647ea", kill_on_drop: false }` [INFO] [stdout] fa59adcd52d001b12b47a8d47f2ed5afb7d07b104b272928a347d3a5ce5647ea [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463ce0ccfdc7183f5de7ed4518fdd67a1f5cf779b6983d61bf7a5ebb67b6730f [INFO] running `Command { std: "docker" "start" "-a" "463ce0ccfdc7183f5de7ed4518fdd67a1f5cf779b6983d61bf7a5ebb67b6730f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking text2art v1.0.1 [INFO] [stderr] Checking text-editor-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `crossterm` is imported redundantly [INFO] [stdout] --> src/editormod/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm; [INFO] [stdout] | ^^^^^^^^^ the item `crossterm` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/editormod/rows.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `crossterm` is imported redundantly [INFO] [stdout] --> src/editormod/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm; [INFO] [stdout] | ^^^^^^^^^ the item `crossterm` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/editormod/rows.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "463ce0ccfdc7183f5de7ed4518fdd67a1f5cf779b6983d61bf7a5ebb67b6730f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463ce0ccfdc7183f5de7ed4518fdd67a1f5cf779b6983d61bf7a5ebb67b6730f", kill_on_drop: false }` [INFO] [stdout] 463ce0ccfdc7183f5de7ed4518fdd67a1f5cf779b6983d61bf7a5ebb67b6730f