[INFO] cloning repository https://github.com/griff613/rust-simple-text-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/griff613/rust-simple-text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriff613%2Frust-simple-text-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriff613%2Frust-simple-text-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f5ddc1055270b401b4584972165c83b58223ccb [INFO] checking griff613/rust-simple-text-editor against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriff613%2Frust-simple-text-editor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/griff613/rust-simple-text-editor on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/griff613/rust-simple-text-editor [INFO] finished tweaking git repo https://github.com/griff613/rust-simple-text-editor [INFO] tweaked toml for git repo https://github.com/griff613/rust-simple-text-editor written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/griff613/rust-simple-text-editor 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea906cbbb2ab9539ab43a454d4d04f4b676a321fa7877e7d91173dfe151ca6a [INFO] running `Command { std: "docker" "start" "-a" "6ea906cbbb2ab9539ab43a454d4d04f4b676a321fa7877e7d91173dfe151ca6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea906cbbb2ab9539ab43a454d4d04f4b676a321fa7877e7d91173dfe151ca6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea906cbbb2ab9539ab43a454d4d04f4b676a321fa7877e7d91173dfe151ca6a", kill_on_drop: false }` [INFO] [stdout] 6ea906cbbb2ab9539ab43a454d4d04f4b676a321fa7877e7d91173dfe151ca6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c506dee036c7898ad8fa696def75df8998d4c72ccc927efca6938cd0b73220 [INFO] running `Command { std: "docker" "start" "-a" "e2c506dee036c7898ad8fa696def75df8998d4c72ccc927efca6938cd0b73220", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking ratatui-counter-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Stdout` [INFO] [stdout] --> main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `KeyEventKind`, `KeyEvent` [INFO] [stdout] --> main.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | eyre::{bail, WrapErr}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gutter` [INFO] [stdout] --> main.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | use te_core::{errors, position, gutter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Stdout` [INFO] [stdout] --> main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyEventKind`, `KeyEvent` [INFO] [stdout] --> main.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | eyre::{bail, WrapErr}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gutter` [INFO] [stdout] --> main.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | use te_core::{errors, position, gutter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> main.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn run(&mut self, terminal: &mut tui::Tui, args: &Args) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gutter` is never constructed [INFO] [stdout] --> te_core/gutter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Gutter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_size` are never used [INFO] [stdout] --> te_core/gutter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Gutter { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn with_size(num_lines: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cursor` is never constructed [INFO] [stdout] --> te_core/cursor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_position`, and `new_position` are never used [INFO] [stdout] --> te_core/cursor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Cursor { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_position(pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_position(&mut self, pos: Position, vis: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> te_core/position.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_coordinates`, `with_x`, and `with_y` are never used [INFO] [stdout] --> te_core/position.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Position { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_coordinates(x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_x(x: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn with_y(y: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> main.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn run(&mut self, terminal: &mut tui::Tui, args: &Args) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gutter` is never constructed [INFO] [stdout] --> te_core/gutter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Gutter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_size` are never used [INFO] [stdout] --> te_core/gutter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Gutter { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn with_size(num_lines: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cursor` is never constructed [INFO] [stdout] --> te_core/cursor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_position`, and `new_position` are never used [INFO] [stdout] --> te_core/cursor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Cursor { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_position(pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_position(&mut self, pos: Position, vis: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> te_core/position.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_coordinates`, `with_x`, and `with_y` are never used [INFO] [stdout] --> te_core/position.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Position { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_coordinates(x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_x(x: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn with_y(y: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.58s [INFO] running `Command { std: "docker" "inspect" "e2c506dee036c7898ad8fa696def75df8998d4c72ccc927efca6938cd0b73220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c506dee036c7898ad8fa696def75df8998d4c72ccc927efca6938cd0b73220", kill_on_drop: false }` [INFO] [stdout] e2c506dee036c7898ad8fa696def75df8998d4c72ccc927efca6938cd0b73220