[INFO] cloning repository https://github.com/codethread/pigeon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codethread/pigeon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodethread%2Fpigeon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodethread%2Fpigeon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 098e22d3be05af7bd7c2e551b7412ca4e3577802 [INFO] testing codethread/pigeon against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodethread%2Fpigeon" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codethread/pigeon on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codethread/pigeon [INFO] finished tweaking git repo https://github.com/codethread/pigeon [INFO] tweaked toml for git repo https://github.com/codethread/pigeon written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/codethread/pigeon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-fsm v0.6.0 [INFO] [stderr] Downloaded ropey v1.3.2 [INFO] [stderr] Downloaded rust-fsm-dsl v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2bd575be9cfbcfb8ed20d2e604e5535a297ac3e70e8d052306205e3202a70d9 [INFO] running `Command { std: "docker" "start" "-a" "d2bd575be9cfbcfb8ed20d2e604e5535a297ac3e70e8d052306205e3202a70d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2bd575be9cfbcfb8ed20d2e604e5535a297ac3e70e8d052306205e3202a70d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bd575be9cfbcfb8ed20d2e604e5535a297ac3e70e8d052306205e3202a70d9", kill_on_drop: false }` [INFO] [stdout] d2bd575be9cfbcfb8ed20d2e604e5535a297ac3e70e8d052306205e3202a70d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daec093f8932cde74f3be8adaee53cb96e2630130945ccb3c2f748ef32e413eb [INFO] running `Command { std: "docker" "start" "-a" "daec093f8932cde74f3be8adaee53cb96e2630130945ccb3c2f748ef32e413eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ropey v1.3.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling simplelog v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling rust-fsm-dsl v0.6.0 [INFO] [stderr] Compiling rust-fsm v0.6.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling pigeon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RopeSlice`, `iter::Chunks` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use ropey::{iter::Chunks, RopeSlice}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/main.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{BufReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `update_modeline` [INFO] [stdout] --> src/app.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | modes::{update_modeline, Ctx, Cursor, Modes}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveToNextLine` [INFO] [stdout] --> src/renderer.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::cursor::{Hide, MoveTo, MoveToNextLine, RestorePosition, SavePosition, Show}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `Color`, `SetAttribute`, `SetBackgroundColor`, `SetForegroundColor` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, Color, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/renderer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Error, Stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colors` [INFO] [stdout] --> src/renderer/widgets.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, Color, Colors, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write`, `self` [INFO] [stdout] --> src/renderer/widgets.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Error, Stdout, Write}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutableCommand` [INFO] [stdout] --> src/renderer/widgets.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use crossterm::{ExecutableCommand, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let ui = self.modes.ui.for_tui(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/renderer.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/renderer.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/renderer.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/renderer.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | fn update(&mut self, cb: impl FnMut(&mut Self::Components)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/modes.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty` [INFO] [stdout] --> src/renderer/widgets.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let Lines { lines, empty } = lines; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `empty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TextChange` in public interface (error E0446) [INFO] [stdout] --> src/app.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | TextChange(TextChange), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file` [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_file(file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_id` [INFO] [stdout] --> src/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | buffer_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextChange` [INFO] [stdout] --> src/app.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | TextChange(TextChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cursor` [INFO] [stdout] --> src/renderer.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cursor(&mut self, cursor: &Cursor) -> RendResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `widgets` [INFO] [stdout] --> src/renderer.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | widgets: List, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/renderer.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Key` [INFO] [stdout] --> src/experiments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Key(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/experiments.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/experiments.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/experiments.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_u16` [INFO] [stdout] --> src/modes.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_u16` [INFO] [stdout] --> src/modes.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/modes.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | left: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row` [INFO] [stdout] --> src/modes.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | row: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col` [INFO] [stdout] --> src/modes.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | col: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_modeline` [INFO] [stdout] --> src/modes.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn update_modeline(ctx: &mut Ctx, e: &AppEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `doc` [INFO] [stdout] --> src/app.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | doc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/app.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open_in_window` [INFO] [stdout] --> src/app.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn open_in_window(&mut self, win_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_from_window` [INFO] [stdout] --> src/app.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn remove_from_window(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/renderer/widgets.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn style(mut self, atrr: Attribute) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.69s [INFO] running `Command { std: "docker" "inspect" "daec093f8932cde74f3be8adaee53cb96e2630130945ccb3c2f748ef32e413eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daec093f8932cde74f3be8adaee53cb96e2630130945ccb3c2f748ef32e413eb", kill_on_drop: false }` [INFO] [stdout] daec093f8932cde74f3be8adaee53cb96e2630130945ccb3c2f748ef32e413eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac464a95410226b46a75a63c12ad131f8cf3c0ff042a597b482a4ac8c7585180 [INFO] running `Command { std: "docker" "start" "-a" "ac464a95410226b46a75a63c12ad131f8cf3c0ff042a597b482a4ac8c7585180", kill_on_drop: false }` [INFO] [stderr] Compiling pigeon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RopeSlice`, `iter::Chunks` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use ropey::{iter::Chunks, RopeSlice}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/main.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{BufReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `update_modeline` [INFO] [stdout] --> src/app.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | modes::{update_modeline, Ctx, Cursor, Modes}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveToNextLine` [INFO] [stdout] --> src/renderer.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::cursor::{Hide, MoveTo, MoveToNextLine, RestorePosition, SavePosition, Show}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `Color`, `SetAttribute`, `SetBackgroundColor`, `SetForegroundColor` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, Color, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/renderer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Error, Stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colors` [INFO] [stdout] --> src/renderer/widgets.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, Color, Colors, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write`, `self` [INFO] [stdout] --> src/renderer/widgets.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Error, Stdout, Write}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutableCommand` [INFO] [stdout] --> src/renderer/widgets.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use crossterm::{ExecutableCommand, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let ui = self.modes.ui.for_tui(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/renderer.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/renderer.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/renderer.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/renderer.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | fn update(&mut self, cb: impl FnMut(&mut Self::Components)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/modes.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty` [INFO] [stdout] --> src/renderer/widgets.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let Lines { lines, empty } = lines; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `empty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TextChange` in public interface (error E0446) [INFO] [stdout] --> src/app.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | TextChange(TextChange), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file` [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_file(file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_id` [INFO] [stdout] --> src/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | buffer_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextChange` [INFO] [stdout] --> src/app.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | TextChange(TextChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cursor` [INFO] [stdout] --> src/renderer.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cursor(&mut self, cursor: &Cursor) -> RendResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `widgets` [INFO] [stdout] --> src/renderer.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | widgets: List, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/renderer.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Key` [INFO] [stdout] --> src/experiments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Key(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/experiments.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/experiments.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/experiments.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_u16` [INFO] [stdout] --> src/modes.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_u16` [INFO] [stdout] --> src/modes.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/modes.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | left: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row` [INFO] [stdout] --> src/modes.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | row: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col` [INFO] [stdout] --> src/modes.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | col: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/modes.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_modeline` [INFO] [stdout] --> src/modes.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn update_modeline(ctx: &mut Ctx, e: &AppEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `doc` [INFO] [stdout] --> src/app.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | doc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/app.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open_in_window` [INFO] [stdout] --> src/app.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn open_in_window(&mut self, win_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_from_window` [INFO] [stdout] --> src/app.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn remove_from_window(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/renderer/widgets.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn style(mut self, atrr: Attribute) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "ac464a95410226b46a75a63c12ad131f8cf3c0ff042a597b482a4ac8c7585180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac464a95410226b46a75a63c12ad131f8cf3c0ff042a597b482a4ac8c7585180", kill_on_drop: false }` [INFO] [stdout] ac464a95410226b46a75a63c12ad131f8cf3c0ff042a597b482a4ac8c7585180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd3e20a63082fffb5bcc10b4e7798526fa0a957033a322519598fa88ad352607 [INFO] running `Command { std: "docker" "start" "-a" "cd3e20a63082fffb5bcc10b4e7798526fa0a957033a322519598fa88ad352607", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RopeSlice`, `iter::Chunks` [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | use ropey::{iter::Chunks, RopeSlice}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufWriter` [INFO] [stderr] --> src/main.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | use std::io::{BufReader, BufWriter}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cursor`, `update_modeline` [INFO] [stderr] --> src/app.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | modes::{update_modeline, Ctx, Cursor, Modes}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MoveToNextLine` [INFO] [stderr] --> src/renderer.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use crossterm::cursor::{Hide, MoveTo, MoveToNextLine, RestorePosition, SavePosition, Show}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Attribute`, `Color`, `SetAttribute`, `SetBackgroundColor`, `SetForegroundColor` [INFO] [stderr] --> src/renderer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Attribute, Color, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stderr] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/renderer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/renderer.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io::{self, Error, Stdout, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Colors` [INFO] [stderr] --> src/renderer/widgets.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | Attribute, Color, Colors, Print, SetAttribute, SetBackgroundColor, SetForegroundColor, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `Write`, `self` [INFO] [stderr] --> src/renderer/widgets.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{self, Error, Stdout, Write}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ExecutableCommand` [INFO] [stderr] --> src/renderer/widgets.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use crossterm::{ExecutableCommand, QueueableCommand}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ui` [INFO] [stderr] --> src/app.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let ui = self.modes.ui.for_tui(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `columns` [INFO] [stderr] --> src/renderer.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rows` [INFO] [stderr] --> src/renderer.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rows` [INFO] [stderr] --> src/renderer.rs:53:23 [INFO] [stderr] | [INFO] [stderr] 53 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cb` [INFO] [stderr] --> src/renderer.rs:179:26 [INFO] [stderr] | [INFO] [stderr] 179 | fn update(&mut self, cb: impl FnMut(&mut Self::Components)) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `columns` [INFO] [stderr] --> src/modes.rs:205:14 [INFO] [stderr] | [INFO] [stderr] 205 | let (columns, rows) = terminal::size().expect("could not get terminal size"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `empty` [INFO] [stderr] --> src/renderer/widgets.rs:210:28 [INFO] [stderr] | [INFO] [stderr] 210 | let Lines { lines, empty } = lines; [INFO] [stderr] | ^^^^^ help: try ignoring the field: `empty: _` [INFO] [stderr] [INFO] [stderr] warning: private type `TextChange` in public interface (error E0446) [INFO] [stderr] --> src/app.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | TextChange(TextChange), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_file` [INFO] [stderr] --> src/main.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn get_file(file: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `text` [INFO] [stderr] --> src/app.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | text: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buffer_id` [INFO] [stderr] --> src/app.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | buffer_id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextChange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TextChange` [INFO] [stderr] --> src/app.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | TextChange(TextChange), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cursor` [INFO] [stderr] --> src/renderer.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn cursor(&mut self, cursor: &Cursor) -> RendResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `widgets` [INFO] [stderr] --> src/renderer.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | widgets: List, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/renderer.rs:101:10 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Key` [INFO] [stderr] --> src/experiments.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Key(char), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UserInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/experiments.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `None` [INFO] [stderr] --> src/experiments.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UserOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/experiments.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_u16` [INFO] [stderr] --> src/modes.rs:148:12 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_u16` [INFO] [stderr] --> src/modes.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn as_u16(&self) -> Option<(u16, u16)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `left` [INFO] [stderr] --> src/modes.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | left: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modes.rs:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `row` [INFO] [stderr] --> src/modes.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | row: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modes.rs:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `col` [INFO] [stderr] --> src/modes.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | col: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ModelineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modes.rs:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update_modeline` [INFO] [stderr] --> src/modes.rs:249:8 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn update_modeline(ctx: &mut Ctx, e: &AppEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `doc` [INFO] [stderr] --> src/app.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | doc: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:202:23 [INFO] [stderr] | [INFO] [stderr] 202 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `window` [INFO] [stderr] --> src/app.rs:210:9 [INFO] [stderr] | [INFO] [stderr] 210 | window: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:202:23 [INFO] [stderr] | [INFO] [stderr] 202 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `open_in_window` [INFO] [stderr] --> src/app.rs:229:16 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn open_in_window(&mut self, win_id: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_from_window` [INFO] [stderr] --> src/app.rs:234:16 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn remove_from_window(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `style` [INFO] [stderr] --> src/renderer/widgets.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn style(mut self, atrr: Attribute) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pigeon` (bin "pigeon" test) generated 37 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pigeon-7fe91a60b54ce59d) [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" "cd3e20a63082fffb5bcc10b4e7798526fa0a957033a322519598fa88ad352607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3e20a63082fffb5bcc10b4e7798526fa0a957033a322519598fa88ad352607", kill_on_drop: false }` [INFO] [stdout] cd3e20a63082fffb5bcc10b4e7798526fa0a957033a322519598fa88ad352607