[INFO] cloning repository https://github.com/jamespettigrew/rstext [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamespettigrew/rstext" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 681f5a1b24ae4fb6edd6f52d22d0f12b01762ab8 [INFO] checking jamespettigrew/rstext against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamespettigrew/rstext on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamespettigrew/rstext [INFO] finished tweaking git repo https://github.com/jamespettigrew/rstext [INFO] tweaked toml for git repo https://github.com/jamespettigrew/rstext written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jamespettigrew/rstext 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "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] Locking 79 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v1.1.3 [INFO] [stderr] Adding atty v0.2.14 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding bumpalo v3.18.1 [INFO] [stderr] Adding cast v0.3.0 [INFO] [stderr] Adding cfg-if v1.0.1 [INFO] [stderr] Adding clap v2.34.0 [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding criterion-plot v0.4.5 [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.21 [INFO] [stderr] Updating crossterm v0.17.3 -> v0.17.7 (available: v0.29.0) [INFO] [stderr] Adding csv v1.3.1 [INFO] [stderr] Adding csv-core v0.1.12 [INFO] [stderr] Adding either v1.15.0 [INFO] [stderr] Adding getrandom v0.1.16 [INFO] [stderr] Adding half v1.8.3 [INFO] [stderr] Adding hermit-abi v0.1.19 [INFO] [stderr] Adding itertools v0.10.5 [INFO] [stderr] Adding itoa v1.0.15 [INFO] [stderr] Adding js-sys v0.3.77 [INFO] [stderr] Updating libc v0.2.66 -> v0.2.174 [INFO] [stderr] Adding memchr v2.7.5 [INFO] [stderr] Updating mio v0.6.21 -> v0.7.14 [INFO] [stderr] Updating miow v0.2.1 -> v0.3.7 [INFO] [stderr] Adding ntapi v0.3.4 (available: v0.3.7) [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding oorandom v11.1.5 [INFO] [stderr] Adding plotters v0.3.7 [INFO] [stderr] Adding plotters-backend v0.3.7 [INFO] [stderr] Adding plotters-svg v0.3.7 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Adding proc-macro2 v1.0.95 [INFO] [stderr] Adding quote v1.0.40 [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding rand_chacha v0.2.2 [INFO] [stderr] Adding rand_core v0.5.1 [INFO] [stderr] Adding rand_hc v0.2.0 [INFO] [stderr] Adding rayon v1.10.0 [INFO] [stderr] Adding rayon-core v1.12.1 [INFO] [stderr] Adding regex v1.11.1 [INFO] [stderr] Adding regex-automata v0.4.9 [INFO] [stderr] Adding regex-syntax v0.8.5 [INFO] [stderr] Adding rustversion v1.0.21 [INFO] [stderr] Adding ryu v1.0.20 [INFO] [stderr] Adding same-file v1.0.6 [INFO] [stderr] Adding serde v1.0.219 [INFO] [stderr] Adding serde_cbor v0.11.2 [INFO] [stderr] Adding serde_derive v1.0.219 [INFO] [stderr] Adding serde_json v1.0.140 [INFO] [stderr] Updating signal-hook v0.1.13 -> v0.1.17 [INFO] [stderr] Adding syn v2.0.104 [INFO] [stderr] Adding textwrap v0.11.0 [INFO] [stderr] Adding tinytemplate v1.2.1 [INFO] [stderr] Adding unicode-ident v1.0.18 [INFO] [stderr] Adding unicode-width v0.1.14 [INFO] [stderr] Adding walkdir v2.5.0 [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Adding wasm-bindgen v0.2.100 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.100 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.100 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.100 [INFO] [stderr] Adding web-sys v0.3.77 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding zerocopy v0.8.26 [INFO] [stderr] Adding zerocopy-derive v0.8.26 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cddd94786577f6d8a0df1ff378a096623f21bfcc59e02ea4cfd513e7f7ecddda [INFO] running `Command { std: "docker" "start" "-a" "cddd94786577f6d8a0df1ff378a096623f21bfcc59e02ea4cfd513e7f7ecddda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cddd94786577f6d8a0df1ff378a096623f21bfcc59e02ea4cfd513e7f7ecddda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddd94786577f6d8a0df1ff378a096623f21bfcc59e02ea4cfd513e7f7ecddda", kill_on_drop: false }` [INFO] [stdout] cddd94786577f6d8a0df1ff378a096623f21bfcc59e02ea4cfd513e7f7ecddda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12fcf1a88cd300b707996a1d359c8a582505172de26dcde67b5e1f17a4516a58 [INFO] running `Command { std: "docker" "start" "-a" "12fcf1a88cd300b707996a1d359c8a582505172de26dcde67b5e1f17a4516a58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rstext v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable` [INFO] [stdout] --> src/commands/cursor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::text_buffer::piece_table::PieceTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable` [INFO] [stdout] --> src/commands/edit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::text_buffer::piece_table::PieceTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str_utils` [INFO] [stdout] --> src/editor.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::{EditorConfig, IndentationPreference}, str_utils}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_buffer::TextBuffer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text_buffer::TextBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/editor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndentationPreference` [INFO] [stdout] --> src/renderer.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{EditorConfig, IndentationPreference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/text_buffer/piece_table.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Index, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_offset` [INFO] [stdout] --> src/window.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | vertical_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal_offset` [INFO] [stdout] --> src/window.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | horizontal_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | file::save(path, editor.text_buffer.all_content()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = file::save(path, editor.text_buffer.all_content()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | execute!(self.screen, EnterAlternateScreen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | terminal::enable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = terminal::enable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | execute!(self.screen, LeaveAlternateScreen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | terminal::disable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = terminal::disable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | queue!(screen, Clear(ClearType::All), Hide); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | / queue!( [INFO] [stdout] 103 | | screen, [INFO] [stdout] 104 | | MoveTo(0, line_count as u16), [INFO] [stdout] 105 | | style::PrintStyledContent(styled_characters) [INFO] [stdout] 106 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / queue!( [INFO] [stdout] 116 | | screen, [INFO] [stdout] 117 | | MoveTo(0, line_count as u16), [INFO] [stdout] 118 | | style::PrintStyledContent(styled_characters), [INFO] [stdout] 119 | | MoveTo(line_number_columns, line_count as u16) [INFO] [stdout] 120 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | queue!(screen, style::PrintStyledContent(styled)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / queue!( [INFO] [stdout] 150 | | screen, [INFO] [stdout] 151 | | MoveTo(print_column_start, terminal_height - 1), [INFO] [stdout] 152 | | style::Print(cursor_position_info) [INFO] [stdout] 153 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / queue!( [INFO] [stdout] 156 | | screen, [INFO] [stdout] 157 | | MoveTo(relative_cursor_column, relative_cursor_row as u16), [INFO] [stdout] 158 | | Show [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text_buffer/piece_table.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn iter(&self) -> PieceTableIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn iter(&self) -> PieceTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text_buffer/piece_table.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn iter_range(&self, range: Range) -> PieceTableIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn iter_range(&self, range: Range) -> PieceTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{ Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{ Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable` [INFO] [stdout] --> src/commands/cursor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::text_buffer::piece_table::PieceTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable` [INFO] [stdout] --> src/commands/edit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::text_buffer::piece_table::PieceTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str_utils` [INFO] [stdout] --> src/editor.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::{EditorConfig, IndentationPreference}, str_utils}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_buffer::TextBuffer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text_buffer::TextBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/editor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndentationPreference` [INFO] [stdout] --> src/renderer.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{EditorConfig, IndentationPreference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/text_buffer/piece_table.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Index, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/text_buffer_insert.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> benches/text_buffer_insert.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | || items.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> benches/text_buffer_insert.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | || items.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> benches/text_buffer_insert.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | || items.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> benches/text_buffer_insert.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | || items.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BatchSize` and `black_box` [INFO] [stdout] --> benches/text_buffer_line_content.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/text_buffer_create.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_offset` [INFO] [stdout] --> src/window.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | vertical_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal_offset` [INFO] [stdout] --> src/window.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | horizontal_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | file::save(path, editor.text_buffer.all_content()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = file::save(path, editor.text_buffer.all_content()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | execute!(self.screen, EnterAlternateScreen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | terminal::enable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = terminal::enable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | execute!(self.screen, LeaveAlternateScreen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/editor.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | terminal::disable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = terminal::disable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | queue!(screen, Clear(ClearType::All), Hide); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | / queue!( [INFO] [stdout] 103 | | screen, [INFO] [stdout] 104 | | MoveTo(0, line_count as u16), [INFO] [stdout] 105 | | style::PrintStyledContent(styled_characters) [INFO] [stdout] 106 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / queue!( [INFO] [stdout] 116 | | screen, [INFO] [stdout] 117 | | MoveTo(0, line_count as u16), [INFO] [stdout] 118 | | style::PrintStyledContent(styled_characters), [INFO] [stdout] 119 | | MoveTo(line_number_columns, line_count as u16) [INFO] [stdout] 120 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | queue!(screen, style::PrintStyledContent(styled)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / queue!( [INFO] [stdout] 150 | | screen, [INFO] [stdout] 151 | | MoveTo(print_column_start, terminal_height - 1), [INFO] [stdout] 152 | | style::Print(cursor_position_info) [INFO] [stdout] 153 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/renderer.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / queue!( [INFO] [stdout] 156 | | screen, [INFO] [stdout] 157 | | MoveTo(relative_cursor_column, relative_cursor_row as u16), [INFO] [stdout] 158 | | Show [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text_buffer/piece_table.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn iter(&self) -> PieceTableIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn iter(&self) -> PieceTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text_buffer/piece_table.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn iter_range(&self, range: Range) -> PieceTableIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn iter_range(&self, range: Range) -> PieceTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.88s [INFO] running `Command { std: "docker" "inspect" "12fcf1a88cd300b707996a1d359c8a582505172de26dcde67b5e1f17a4516a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fcf1a88cd300b707996a1d359c8a582505172de26dcde67b5e1f17a4516a58", kill_on_drop: false }` [INFO] [stdout] 12fcf1a88cd300b707996a1d359c8a582505172de26dcde67b5e1f17a4516a58