[INFO] cloning repository https://github.com/brleinad/hecto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brleinad/hecto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrleinad%2Fhecto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrleinad%2Fhecto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c3373ed20e915143b16ed8d2a3438ac2346df42 [INFO] building brleinad/hecto against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrleinad%2Fhecto" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brleinad/hecto on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brleinad/hecto [INFO] finished tweaking git repo https://github.com/brleinad/hecto [INFO] tweaked toml for git repo https://github.com/brleinad/hecto written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brleinad/hecto 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4b469fd9ec70b94f94e17841d764811fbb6537ca3088b3e9592f39cc495d10d [INFO] running `Command { std: "docker" "start" "-a" "c4b469fd9ec70b94f94e17841d764811fbb6537ca3088b3e9592f39cc495d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4b469fd9ec70b94f94e17841d764811fbb6537ca3088b3e9592f39cc495d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b469fd9ec70b94f94e17841d764811fbb6537ca3088b3e9592f39cc495d10d", kill_on_drop: false }` [INFO] [stdout] c4b469fd9ec70b94f94e17841d764811fbb6537ca3088b3e9592f39cc495d10d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47c50b2e187a5d094bfe479f3b5ee6b7fbefd6c49eeeebd1cdd9521b8c24d9fb [INFO] running `Command { std: "docker" "start" "-a" "47c50b2e187a5d094bfe479f3b5ee6b7fbefd6c49eeeebd1cdd9521b8c24d9fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling hecto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::terminal::Size` [INFO] [stdout] --> src/row.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::terminal::Size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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: unused variable: `y` [INFO] [stdout] --> src/editor.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `y: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/editor.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let size = self.terminal.size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | let Position {mut y, mut x} = pos; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let Position {mut y, mut x} = pos; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | y = if y > terminal_height { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | y = if y.saturating_add(terminal_height) < height { [INFO] [stdout] | ^ [INFO] [stdout] | [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/editor.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_cursor_page_down` is never used [INFO] [stdout] --> src/editor.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Editor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | fn move_cursor_page_down(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "47c50b2e187a5d094bfe479f3b5ee6b7fbefd6c49eeeebd1cdd9521b8c24d9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c50b2e187a5d094bfe479f3b5ee6b7fbefd6c49eeeebd1cdd9521b8c24d9fb", kill_on_drop: false }` [INFO] [stdout] 47c50b2e187a5d094bfe479f3b5ee6b7fbefd6c49eeeebd1cdd9521b8c24d9fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e00f3c924fdd24d80eff462e9750d6bdf1ed5280fc36fbf445cb7c005ee737 [INFO] running `Command { std: "docker" "start" "-a" "65e00f3c924fdd24d80eff462e9750d6bdf1ed5280fc36fbf445cb7c005ee737", kill_on_drop: false }` [INFO] [stderr] Compiling hecto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::terminal::Size` [INFO] [stdout] --> src/row.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::terminal::Size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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: unused variable: `y` [INFO] [stdout] --> src/editor.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `y: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/editor.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let size = self.terminal.size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | let Position {mut y, mut x} = pos; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let Position {mut y, mut x} = pos; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | y = if y > terminal_height { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | y = if y.saturating_add(terminal_height) < height { [INFO] [stdout] | ^ [INFO] [stdout] | [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/editor.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let Position {mut y, mut x} = self.cursor_position; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_cursor_page_down` is never used [INFO] [stdout] --> src/editor.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Editor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | fn move_cursor_page_down(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "65e00f3c924fdd24d80eff462e9750d6bdf1ed5280fc36fbf445cb7c005ee737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e00f3c924fdd24d80eff462e9750d6bdf1ed5280fc36fbf445cb7c005ee737", kill_on_drop: false }` [INFO] [stdout] 65e00f3c924fdd24d80eff462e9750d6bdf1ed5280fc36fbf445cb7c005ee737