[INFO] cloning repository https://github.com/CountryTk/rim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CountryTk/rim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryTk%2Frim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryTk%2Frim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0483fd56ca7341b2f2bae6fe9a42ebde5e6e99dd [INFO] checking CountryTk/rim against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryTk%2Frim" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CountryTk/rim on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CountryTk/rim [INFO] finished tweaking git repo https://github.com/CountryTk/rim [INFO] tweaked toml for git repo https://github.com/CountryTk/rim written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/CountryTk/rim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ef6475ad92193b63ff759314dc50650685bc00cf77d88113398620487e2fa5b [INFO] running `Command { std: "docker" "start" "-a" "2ef6475ad92193b63ff759314dc50650685bc00cf77d88113398620487e2fa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ef6475ad92193b63ff759314dc50650685bc00cf77d88113398620487e2fa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef6475ad92193b63ff759314dc50650685bc00cf77d88113398620487e2fa5b", kill_on_drop: false }` [INFO] [stdout] 2ef6475ad92193b63ff759314dc50650685bc00cf77d88113398620487e2fa5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c0079786f8c91a5ec67422483367dce51182326f3a6aca5b683c751e7b3c61 [INFO] running `Command { std: "docker" "start" "-a" "19c0079786f8c91a5ec67422483367dce51182326f3a6aca5b683c751e7b3c61", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking rim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, stdin, stdout, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:264:36 [INFO] [stdout] | [INFO] [stdout] 264 | ... if (buffer_index < editor.buffer.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, stdin, stdout, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:264:36 [INFO] [stdout] | [INFO] [stdout] 264 | ... if (buffer_index < editor.buffer.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_x` [INFO] [stdout] --> src/main.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... let cur_x = editor.cur_pos.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_x` [INFO] [stdout] --> src/main.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | ... let cur_x = editor.cur_pos.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buffer_index` is never read [INFO] [stdout] --> src/main.rs:294:33 [INFO] [stdout] | [INFO] [stdout] 294 | ... buffer_index -= 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_x` [INFO] [stdout] --> src/main.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... let cur_x = editor.cur_pos.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_x` [INFO] [stdout] --> src/main.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | ... let cur_x = editor.cur_pos.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buffer_index` is never read [INFO] [stdout] --> src/main.rs:294:33 [INFO] [stdout] | [INFO] [stdout] 294 | ... buffer_index -= 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buf = vec![Line { [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/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buf = vec![Line { [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.54s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19c0079786f8c91a5ec67422483367dce51182326f3a6aca5b683c751e7b3c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c0079786f8c91a5ec67422483367dce51182326f3a6aca5b683c751e7b3c61", kill_on_drop: false }` [INFO] [stdout] 19c0079786f8c91a5ec67422483367dce51182326f3a6aca5b683c751e7b3c61