[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmchen-12%2Frust_editor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmchen-12/rust_editor 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/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-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4c58a04f387b851ee1c993a56d37cbbc70fb63c077baa2ac85570ec3b65142e1 [INFO] running `Command { std: "docker" "start" "-a" "4c58a04f387b851ee1c993a56d37cbbc70fb63c077baa2ac85570ec3b65142e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c58a04f387b851ee1c993a56d37cbbc70fb63c077baa2ac85570ec3b65142e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c58a04f387b851ee1c993a56d37cbbc70fb63c077baa2ac85570ec3b65142e1", kill_on_drop: false }` [INFO] [stdout] 4c58a04f387b851ee1c993a56d37cbbc70fb63c077baa2ac85570ec3b65142e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3905599966aef2b0e12f7e8505d0d1bd0d5d3b74a3c49e516a1d3f458665ed54 [INFO] running `Command { std: "docker" "start" "-a" "3905599966aef2b0e12f7e8505d0d1bd0d5d3b74a3c49e516a1d3f458665ed54", 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: 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: 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: 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 2.05s [INFO] running `Command { std: "docker" "inspect" "3905599966aef2b0e12f7e8505d0d1bd0d5d3b74a3c49e516a1d3f458665ed54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3905599966aef2b0e12f7e8505d0d1bd0d5d3b74a3c49e516a1d3f458665ed54", kill_on_drop: false }` [INFO] [stdout] 3905599966aef2b0e12f7e8505d0d1bd0d5d3b74a3c49e516a1d3f458665ed54