[INFO] cloning repository https://github.com/propbreakerfpv/gish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/propbreakerfpv/gish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fgish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fgish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39328a8bc22ed258c5b8e39019f319d607749ccd [INFO] testing propbreakerfpv/gish against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fgish" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/propbreakerfpv/gish on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/propbreakerfpv/gish [INFO] finished tweaking git repo https://github.com/propbreakerfpv/gish [INFO] tweaked toml for git repo https://github.com/propbreakerfpv/gish written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/propbreakerfpv/gish 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" "+61223975d46f794466efa832bc7562b9707ecc46" "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] testing propbreakerfpv/gish against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fgish" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/propbreakerfpv/gish on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/propbreakerfpv/gish [INFO] finished tweaking git repo https://github.com/propbreakerfpv/gish [INFO] tweaked toml for git repo https://github.com/propbreakerfpv/gish written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/propbreakerfpv/gish 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing propbreakerfpv/gish against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fgish" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/propbreakerfpv/gish on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/propbreakerfpv/gish [INFO] finished tweaking git repo https://github.com/propbreakerfpv/gish [INFO] tweaked toml for git repo https://github.com/propbreakerfpv/gish written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/propbreakerfpv/gish 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openpty v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 686c75ec7b2cdf61819308635f45dceb0849ecc879f2c5030a58e4025da98f60 [INFO] running `Command { std: "docker" "start" "-a" "686c75ec7b2cdf61819308635f45dceb0849ecc879f2c5030a58e4025da98f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "686c75ec7b2cdf61819308635f45dceb0849ecc879f2c5030a58e4025da98f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686c75ec7b2cdf61819308635f45dceb0849ecc879f2c5030a58e4025da98f60", kill_on_drop: false }` [INFO] [stdout] 686c75ec7b2cdf61819308635f45dceb0849ecc879f2c5030a58e4025da98f60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4578bbbb652fe7b493107412a5134b041c85e4316377f97a29e8d60c9073bffd [INFO] running `Command { std: "docker" "start" "-a" "4578bbbb652fe7b493107412a5134b041c85e4316377f97a29e8d60c9073bffd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling errno v0.1.8 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling pty v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling lua52-sys v0.1.2 [INFO] [stderr] Compiling openpty v0.2.0 [INFO] [stderr] Compiling hlua v0.4.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling gish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/pane.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | thread, io::{self, BufReader, BufRead}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MasterPty` [INFO] [stdout] --> src/app/pane.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | shell::test2::{open_pty, PtySize, MasterPty, CommandBuilder}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `ffi::CString`, `read`, `self`, `self`, `unix::prelude::FileExt` [INFO] [stdout] --> src/shell/test.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ptr, fs::{File, read, self}, os::{fd::FromRawFd, unix::prelude::FileExt}, process::Command, ffi::CString, io::{self, Read}}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_void` [INFO] [stdout] --> src/shell/test.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{winsize, c_char, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/shell/test2.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | vec, sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/app/pane.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 367 | panic!("bash just exited"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 368 | drop(pair.0); [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/app/pane.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let pair = open_pty(PtySize { row: 50, col: 80, px_width: 0, px_height: 0 }).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/app/pane.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | drop(pair.0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/pane.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | let mut cmd = cmd_rx.recv().unwrap(); [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: `master` [INFO] [stdout] --> src/shell/test.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | let (master, slave) = openpty(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slave` [INFO] [stdout] --> src/shell/test.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let (master, slave) = openpty(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/shell/test.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/ui/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut prompt = get_prompt(app); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pane = pane_ref.lock().unwrap(); [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/ui/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut prompt = get_prompt(app); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | Ansi::CursorNextLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | Ansi::CursorPreviousLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | Ansi::CursorHorizontalAbsolute(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | Ansi::CursorPosition(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Ansi::EraseInLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | Ansi::ScrollUp(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | Ansi::ScrollDown(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | Ansi::HorizontalVerticalPosition(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dbg` and `update_app` are never used [INFO] [stdout] --> src/app/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn dbg(&mut self, msg: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn update_app(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Searching` is never constructed [INFO] [stdout] --> src/app/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum AppMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 189 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plus_x`, `plus_y`, `plus_window`, `y`, and `window` are never used [INFO] [stdout] --> src/app/pane.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PaneLocation { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 37 | pub fn plus_x(mut self, x: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn plus_y(mut self, y: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn plus_window(mut self, window: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn y(mut self, y: u16) -> PaneLocation { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn window(mut self, window: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/pane.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl PaneLocation { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 121 | pub fn new(window: u16, x: u16, y: u16) -> PaneLocation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `in_window`, `x_in_window`, and `y_in_window` are never used [INFO] [stdout] --> src/app/pane.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> Panes<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn x_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn y_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dbg` is never used [INFO] [stdout] --> src/app/pane.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'a> Pane<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn dbg(&mut self, msg: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pane` is never constructed [INFO] [stdout] --> src/app/new_pane.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Pane { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/app/new_pane.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_internal` is never used [INFO] [stdout] --> src/lua/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn call_internal(app: &App, name: T) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/shell/test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `openpty` is never used [INFO] [stdout] --> src/shell/test.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn openpty() -> (File, File) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arg` is never used [INFO] [stdout] --> src/shell/test2.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl CommandBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn arg(&mut self, arg: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.35s [INFO] running `Command { std: "docker" "inspect" "4578bbbb652fe7b493107412a5134b041c85e4316377f97a29e8d60c9073bffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4578bbbb652fe7b493107412a5134b041c85e4316377f97a29e8d60c9073bffd", kill_on_drop: false }` [INFO] [stdout] 4578bbbb652fe7b493107412a5134b041c85e4316377f97a29e8d60c9073bffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88b690b396e1611c2ec860dea597b21d3eb0f84be4469754190448e25813a37 [INFO] running `Command { std: "docker" "start" "-a" "c88b690b396e1611c2ec860dea597b21d3eb0f84be4469754190448e25813a37", kill_on_drop: false }` [INFO] [stderr] Compiling gish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/pane.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | thread, io::{self, BufReader, BufRead}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MasterPty` [INFO] [stdout] --> src/app/pane.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | shell::test2::{open_pty, PtySize, MasterPty, CommandBuilder}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `ffi::CString`, `read`, `self`, `self`, `unix::prelude::FileExt` [INFO] [stdout] --> src/shell/test.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ptr, fs::{File, read, self}, os::{fd::FromRawFd, unix::prelude::FileExt}, process::Command, ffi::CString, io::{self, Read}}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_void` [INFO] [stdout] --> src/shell/test.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{winsize, c_char, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/shell/test2.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | vec, sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/app/pane.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 367 | panic!("bash just exited"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 368 | drop(pair.0); [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/app/pane.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let pair = open_pty(PtySize { row: 50, col: 80, px_width: 0, px_height: 0 }).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/app/pane.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | drop(pair.0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/pane.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | let mut cmd = cmd_rx.recv().unwrap(); [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: `master` [INFO] [stdout] --> src/shell/test.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | let (master, slave) = openpty(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slave` [INFO] [stdout] --> src/shell/test.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let (master, slave) = openpty(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/shell/test.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/ui/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut prompt = get_prompt(app); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pane = pane_ref.lock().unwrap(); [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/ui/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut prompt = get_prompt(app); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | Ansi::CursorNextLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | Ansi::CursorPreviousLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | Ansi::CursorHorizontalAbsolute(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | Ansi::CursorPosition(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Ansi::EraseInLine(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | Ansi::ScrollUp(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | Ansi::ScrollDown(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ansi/mod.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | Ansi::HorizontalVerticalPosition(n) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dbg` and `update_app` are never used [INFO] [stdout] --> src/app/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn dbg(&mut self, msg: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn update_app(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Searching` is never constructed [INFO] [stdout] --> src/app/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum AppMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 189 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plus_x`, `plus_y`, `plus_window`, `y`, and `window` are never used [INFO] [stdout] --> src/app/pane.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PaneLocation { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 37 | pub fn plus_x(mut self, x: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn plus_y(mut self, y: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn plus_window(mut self, window: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn y(mut self, y: u16) -> PaneLocation { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn window(mut self, window: u16) -> PaneLocation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/pane.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl PaneLocation { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 121 | pub fn new(window: u16, x: u16, y: u16) -> PaneLocation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `in_window`, `x_in_window`, and `y_in_window` are never used [INFO] [stdout] --> src/app/pane.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> Panes<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn x_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn y_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dbg` is never used [INFO] [stdout] --> src/app/pane.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'a> Pane<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn dbg(&mut self, msg: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pane` is never constructed [INFO] [stdout] --> src/app/new_pane.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Pane { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/app/new_pane.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_internal` is never used [INFO] [stdout] --> src/lua/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn call_internal(app: &App, name: T) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/shell/test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `openpty` is never used [INFO] [stdout] --> src/shell/test.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn openpty() -> (File, File) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arg` is never used [INFO] [stdout] --> src/shell/test2.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl CommandBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn arg(&mut self, arg: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "c88b690b396e1611c2ec860dea597b21d3eb0f84be4469754190448e25813a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88b690b396e1611c2ec860dea597b21d3eb0f84be4469754190448e25813a37", kill_on_drop: false }` [INFO] [stdout] c88b690b396e1611c2ec860dea597b21d3eb0f84be4469754190448e25813a37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51a066250253ea00b4e8aa509248b6f0d76ad981ea62b81b172b6771e570b88f [INFO] running `Command { std: "docker" "start" "-a" "51a066250253ea00b4e8aa509248b6f0d76ad981ea62b81b172b6771e570b88f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/app/pane.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | thread, io::{self, BufReader, BufRead}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MasterPty` [INFO] [stderr] --> src/app/pane.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | shell::test2::{open_pty, PtySize, MasterPty, CommandBuilder}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `ffi::CString`, `read`, `self`, `self`, `unix::prelude::FileExt` [INFO] [stderr] --> src/shell/test.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ptr, fs::{File, read, self}, os::{fd::FromRawFd, unix::prelude::FileExt}, process::Command, ffi::CString, io::{self, Read}}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_void` [INFO] [stderr] --> src/shell/test.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use libc::{winsize, c_char, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sync::Arc` [INFO] [stderr] --> src/shell/test2.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | vec, sync::Arc, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/app/pane.rs:368:17 [INFO] [stderr] | [INFO] [stderr] 367 | panic!("bash just exited"); [INFO] [stderr] | -------------------------- any code following this expression is unreachable [INFO] [stderr] 368 | drop(pair.0); [INFO] [stderr] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pair` [INFO] [stderr] --> src/app/pane.rs:227:13 [INFO] [stderr] | [INFO] [stderr] 227 | let pair = open_pty(PtySize { row: 50, col: 80, px_width: 0, px_height: 0 }).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pair` [INFO] [stderr] --> src/app/pane.rs:368:22 [INFO] [stderr] | [INFO] [stderr] 368 | drop(pair.0); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app/pane.rs:356:29 [INFO] [stderr] | [INFO] [stderr] 356 | let mut cmd = cmd_rx.recv().unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `master` [INFO] [stderr] --> src/shell/test.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | let (master, slave) = openpty(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_master` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slave` [INFO] [stderr] --> src/shell/test.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | let (master, slave) = openpty(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slave` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/shell/test.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/shell/test.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut child = cmd.spawn().unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prompt` [INFO] [stderr] --> src/ui/mod.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | let mut prompt = get_prompt(app); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ui/mod.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut pane = pane_ref.lock().unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ui/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let mut prompt = get_prompt(app); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:162:38 [INFO] [stderr] | [INFO] [stderr] 162 | Ansi::CursorNextLine(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:163:42 [INFO] [stderr] | [INFO] [stderr] 163 | Ansi::CursorPreviousLine(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:164:48 [INFO] [stderr] | [INFO] [stderr] 164 | Ansi::CursorHorizontalAbsolute(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:165:38 [INFO] [stderr] | [INFO] [stderr] 165 | Ansi::CursorPosition(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:187:35 [INFO] [stderr] | [INFO] [stderr] 187 | Ansi::EraseInLine(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:188:32 [INFO] [stderr] | [INFO] [stderr] 188 | Ansi::ScrollUp(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:189:34 [INFO] [stderr] | [INFO] [stderr] 189 | Ansi::ScrollDown(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/ansi/mod.rs:190:50 [INFO] [stderr] | [INFO] [stderr] 190 | Ansi::HorizontalVerticalPosition(n) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: methods `dbg` and `update_app` are never used [INFO] [stderr] --> src/app/mod.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl<'a> App<'a> { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn dbg(&mut self, msg: T) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn update_app(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Searching` is never constructed [INFO] [stderr] --> src/app/mod.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 186 | pub enum AppMode { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 189 | Searching, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `plus_x`, `plus_y`, `plus_window`, `y`, and `window` are never used [INFO] [stderr] --> src/app/pane.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl PaneLocation { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 37 | pub fn plus_x(mut self, x: u16) -> PaneLocation { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn plus_y(mut self, y: u16) -> PaneLocation { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn plus_window(mut self, window: u16) -> PaneLocation { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn y(mut self, y: u16) -> PaneLocation { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn window(mut self, window: u16) -> PaneLocation { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/app/pane.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 120 | impl PaneLocation { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 121 | pub fn new(window: u16, x: u16, y: u16) -> PaneLocation { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `in_window`, `x_in_window`, and `y_in_window` are never used [INFO] [stderr] --> src/app/pane.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 126 | impl<'a> Panes<'a> { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn x_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn y_in_window(&'a self, location: PaneLocation) -> PanesIter<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `dbg` is never used [INFO] [stderr] --> src/app/pane.rs:405:12 [INFO] [stderr] | [INFO] [stderr] 222 | impl<'a> Pane<'a> { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 405 | pub fn dbg(&mut self, msg: T) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pane` is never constructed [INFO] [stderr] --> src/app/new_pane.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Pane { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/app/new_pane.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_internal` is never used [INFO] [stderr] --> src/lua/mod.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn call_internal(app: &App, name: T) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/shell/test.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `openpty` is never used [INFO] [stderr] --> src/shell/test.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn openpty() -> (File, File) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `arg` is never used [INFO] [stderr] --> src/shell/test2.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 102 | impl CommandBuilder { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn arg(&mut self, arg: S) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `gish` (bin "gish" test) generated 36 warnings (run `cargo fix --bin "gish" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gish-0252ce6544bad0f2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51a066250253ea00b4e8aa509248b6f0d76ad981ea62b81b172b6771e570b88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a066250253ea00b4e8aa509248b6f0d76ad981ea62b81b172b6771e570b88f", kill_on_drop: false }` [INFO] [stdout] 51a066250253ea00b4e8aa509248b6f0d76ad981ea62b81b172b6771e570b88f