[INFO] cloning repository https://github.com/anthonychavezdev/stte-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonychavezdev/stte-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonychavezdev%2Fstte-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonychavezdev%2Fstte-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e6e439e722509b272299fe64d794084925cdebc [INFO] building anthonychavezdev/stte-rs 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%2Fanthonychavezdev%2Fstte-rs" "/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/anthonychavezdev/stte-rs 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/anthonychavezdev/stte-rs [INFO] finished tweaking git repo https://github.com/anthonychavezdev/stte-rs [INFO] tweaked toml for git repo https://github.com/anthonychavezdev/stte-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anthonychavezdev/stte-rs 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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8aac9f5eb6e30c365228b38e566cd88ebf05c8b033821f1a81fc586f50ff5d1 [INFO] running `Command { std: "docker" "start" "-a" "a8aac9f5eb6e30c365228b38e566cd88ebf05c8b033821f1a81fc586f50ff5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8aac9f5eb6e30c365228b38e566cd88ebf05c8b033821f1a81fc586f50ff5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8aac9f5eb6e30c365228b38e566cd88ebf05c8b033821f1a81fc586f50ff5d1", kill_on_drop: false }` [INFO] [stdout] a8aac9f5eb6e30c365228b38e566cd88ebf05c8b033821f1a81fc586f50ff5d1 [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 -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] 03bfa229c4374b82b200e607c25acbd935e3d6cae8b9b7b4f0dae8efd7606e9a [INFO] running `Command { std: "docker" "start" "-a" "03bfa229c4374b82b200e607c25acbd935e3d6cae8b9b7b4f0dae8efd7606e9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling str_indices v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ropey v1.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling stte-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/buffer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, BufReader, BufWriter, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::screen::Screen` [INFO] [stdout] --> src/buffer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::screen::Screen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> src/event_handler.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{Event, KeyEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthChar` [INFO] [stdout] --> src/screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use unicode_width::UnicodeWidthChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/buffer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | for (idx, ch) in self.text.line(y).chars().take(x).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_line` [INFO] [stdout] --> src/buffer.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let target_line = self.text.line(target_y); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_line` [INFO] [stdout] --> src/buffer.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let target_line = self.text.line(target_y); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_line`, `bytes`, `chars`, `chunks`, and `status` are never used [INFO] [stdout] --> src/buffer.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_line(&self, idx: usize) -> RopeSlice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn bytes(&self) -> Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn chunks(&self) -> Chunks { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn status(&self) -> &Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window_size` is never used [INFO] [stdout] --> src/screen.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn window_size(&self) -> &WindowSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyEvent` should have a snake case name [INFO] [stdout] --> src/main.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | Event::Key(keyEvent) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `key_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "03bfa229c4374b82b200e607c25acbd935e3d6cae8b9b7b4f0dae8efd7606e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03bfa229c4374b82b200e607c25acbd935e3d6cae8b9b7b4f0dae8efd7606e9a", kill_on_drop: false }` [INFO] [stdout] 03bfa229c4374b82b200e607c25acbd935e3d6cae8b9b7b4f0dae8efd7606e9a [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 -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] 6deccf3a3fa17b7fed543d4aa69d50a4b4d9222f477026d3e6388763943e407a [INFO] running `Command { std: "docker" "start" "-a" "6deccf3a3fa17b7fed543d4aa69d50a4b4d9222f477026d3e6388763943e407a", kill_on_drop: false }` [INFO] [stderr] Compiling stte-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/buffer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, BufReader, BufWriter, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::screen::Screen` [INFO] [stdout] --> src/buffer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::screen::Screen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> src/event_handler.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{Event, KeyEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthChar` [INFO] [stdout] --> src/screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use unicode_width::UnicodeWidthChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/buffer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | for (idx, ch) in self.text.line(y).chars().take(x).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_line` [INFO] [stdout] --> src/buffer.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let target_line = self.text.line(target_y); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_line` [INFO] [stdout] --> src/buffer.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let target_line = self.text.line(target_y); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_line`, `bytes`, `chars`, `chunks`, and `status` are never used [INFO] [stdout] --> src/buffer.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_line(&self, idx: usize) -> RopeSlice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn bytes(&self) -> Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn chunks(&self) -> Chunks { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn status(&self) -> &Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window_size` is never used [INFO] [stdout] --> src/screen.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn window_size(&self) -> &WindowSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyEvent` should have a snake case name [INFO] [stdout] --> src/main.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | Event::Key(keyEvent) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `key_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "6deccf3a3fa17b7fed543d4aa69d50a4b4d9222f477026d3e6388763943e407a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6deccf3a3fa17b7fed543d4aa69d50a4b4d9222f477026d3e6388763943e407a", kill_on_drop: false }` [INFO] [stdout] 6deccf3a3fa17b7fed543d4aa69d50a4b4d9222f477026d3e6388763943e407a