[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 try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LaviejaD/text-editor-rust on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking LaviejaD/text-editor-rust against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LaviejaD/text-editor-rust on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text2art v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1198edafe01f548c577302c83e2125bc3d7767d03bf1c401af0dac421c9100 [INFO] running `Command { std: "docker" "start" "-a" "eb1198edafe01f548c577302c83e2125bc3d7767d03bf1c401af0dac421c9100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1198edafe01f548c577302c83e2125bc3d7767d03bf1c401af0dac421c9100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1198edafe01f548c577302c83e2125bc3d7767d03bf1c401af0dac421c9100", kill_on_drop: false }` [INFO] [stdout] eb1198edafe01f548c577302c83e2125bc3d7767d03bf1c401af0dac421c9100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a87a281993d968ec31e42cf3b36f8c13238e5839a4d275bdcd02ce585741be24 [INFO] running `Command { std: "docker" "start" "-a" "a87a281993d968ec31e42cf3b36f8c13238e5839a4d275bdcd02ce585741be24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [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: 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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, and `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 import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, and `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] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/editormod/editorcontents.rs:37:39","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/editormod/rows.rs:62:38","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/output.rs:120:27","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/editormod/editorcontents.rs:37:39","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/editormod/rows.rs:62:38","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"text_editor_rust","loc":"src/output.rs:120:27","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 2.68s [INFO] running `Command { std: "docker" "inspect" "a87a281993d968ec31e42cf3b36f8c13238e5839a4d275bdcd02ce585741be24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87a281993d968ec31e42cf3b36f8c13238e5839a4d275bdcd02ce585741be24", kill_on_drop: false }` [INFO] [stdout] a87a281993d968ec31e42cf3b36f8c13238e5839a4d275bdcd02ce585741be24