[INFO] cloning repository https://github.com/rmchen-12/rust_editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmchen-12/rust_editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmchen-12%2Frust_editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmchen-12%2Frust_editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de5ad5f9a354fb38e6965baa7dfff6f9d3431c32 [INFO] checking rmchen-12/rust_editor against master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmchen-12%2Frust_editor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmchen-12/rust_editor on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rmchen-12/rust_editor [INFO] finished tweaking git repo https://github.com/rmchen-12/rust_editor [INFO] tweaked toml for git repo https://github.com/rmchen-12/rust_editor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rmchen-12/rust_editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rmchen-12/rust_editor against try#2466b92ed5feb282a98bb984f45d1e6d39f8c1aa for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmchen-12%2Frust_editor" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmchen-12/rust_editor on toolchain 2466b92ed5feb282a98bb984f45d1e6d39f8c1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rmchen-12/rust_editor [INFO] finished tweaking git repo https://github.com/rmchen-12/rust_editor [INFO] tweaked toml for git repo https://github.com/rmchen-12/rust_editor written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rmchen-12/rust_editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "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] 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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d624ae698483df75084703430c8b62aefaa24c9ea5927c19f7f0c3bd5f89cc67 [INFO] running `Command { std: "docker" "start" "-a" "d624ae698483df75084703430c8b62aefaa24c9ea5927c19f7f0c3bd5f89cc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d624ae698483df75084703430c8b62aefaa24c9ea5927c19f7f0c3bd5f89cc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d624ae698483df75084703430c8b62aefaa24c9ea5927c19f7f0c3bd5f89cc67", kill_on_drop: false }` [INFO] [stdout] d624ae698483df75084703430c8b62aefaa24c9ea5927c19f7f0c3bd5f89cc67 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bef7e4146b86bc0ef37872f2b57dd81de84bcca075e9a10ffa66a79acbd0f6 [INFO] running `Command { std: "docker" "start" "-a" "91bef7e4146b86bc0ef37872f2b57dd81de84bcca075e9a10ffa66a79acbd0f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking hec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `slice::Windows` [INFO] [stdout] --> src/editor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | slice::Windows, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `document`, `row` [INFO] [stdout] --> src/editor.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{document, row, Document, Row, Terminal}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::Windows` [INFO] [stdout] --> src/editor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | slice::Windows, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `document`, `row` [INFO] [stdout] --> src/editor.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{document, row, Document, Row, Terminal}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/editor.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | } else if { y > 0 } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 171 - } else if { y > 0 } { [INFO] [stdout] 171 + } else if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/editor.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | } else if { y > 0 } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 171 - } else if { y > 0 } { [INFO] [stdout] 171 + } else if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "91bef7e4146b86bc0ef37872f2b57dd81de84bcca075e9a10ffa66a79acbd0f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bef7e4146b86bc0ef37872f2b57dd81de84bcca075e9a10ffa66a79acbd0f6", kill_on_drop: false }` [INFO] [stdout] 91bef7e4146b86bc0ef37872f2b57dd81de84bcca075e9a10ffa66a79acbd0f6