[INFO] cloning repository https://github.com/gloomyweather/mdterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gloomyweather/mdterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloomyweather%2Fmdterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloomyweather%2Fmdterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa677e6f5340584a1b8e4544b68d0c2fa8ab818d [INFO] testing gloomyweather/mdterm against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloomyweather%2Fmdterm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gloomyweather/mdterm [INFO] finished tweaking git repo https://github.com/gloomyweather/mdterm [INFO] tweaked toml for git repo https://github.com/gloomyweather/mdterm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gloomyweather/mdterm on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gloomyweather/mdterm 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71 [INFO] running `Command { std: "docker" "start" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling onig_sys v69.9.3 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling onig v6.5.3 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.23.0 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling plist v1.9.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling syntect v5.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling mdterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | event::{self, Event as CrosstermEvent, KeyCode, KeyEventKind}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{io::{stdout, Stdout}, path::PathBuf, panic}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 190 | KeyCode::Char('b') => self.move_word_backward(false), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 228 | KeyCode::Char('b') if key.modifiers == KeyModifiers::CONTROL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 233 | KeyCode::Char('z') => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 237 | KeyCode::Char('z') if self.pending_key == Some('z') => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 364 | KeyCode::Char('Z') => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 367 | KeyCode::Char('Z') if self.pending_key == Some('Z') => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(mut b) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoding_warning` is never read [INFO] [stdout] --> src/buffer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub encoding_warning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_len_chars` is never used [INFO] [stdout] --> src/buffer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn line_len_chars(&self, line_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_line_bg`, `checkbox`, `checkbox_checked`, and `list_bullet` are never read [INFO] [stdout] --> src/config.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub cursor_line_bg: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub checkbox: Style, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | pub checkbox_checked: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub hr: Style, [INFO] [stdout] 89 | pub list_bullet: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `chrono` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | chrono = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `chrono` [INFO] [stderr] warning: `mdterm` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.45s [INFO] running `Command { std: "docker" "inspect" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling mdterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | event::{self, Event as CrosstermEvent, KeyCode, KeyEventKind}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{io::{stdout, Stdout}, path::PathBuf, panic}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 190 | KeyCode::Char('b') => self.move_word_backward(false), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 228 | KeyCode::Char('b') if key.modifiers == KeyModifiers::CONTROL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 233 | KeyCode::Char('z') => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 237 | KeyCode::Char('z') if self.pending_key == Some('z') => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/editor.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 364 | KeyCode::Char('Z') => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 367 | KeyCode::Char('Z') if self.pending_key == Some('Z') => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(mut b) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoding_warning` is never read [INFO] [stdout] --> src/buffer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub encoding_warning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_len_chars` is never used [INFO] [stdout] --> src/buffer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn line_len_chars(&self, line_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_line_bg`, `checkbox`, `checkbox_checked`, and `list_bullet` are never read [INFO] [stdout] --> src/config.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub cursor_line_bg: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub checkbox: Style, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | pub checkbox_checked: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub hr: Style, [INFO] [stdout] 89 | pub list_bullet: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `chrono` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | chrono = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `chrono` [INFO] [stderr] warning: `mdterm` (manifest) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `KeyCode` [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | event::{self, Event as CrosstermEvent, KeyCode, KeyEventKind}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stdout` [INFO] [stderr] --> src/main.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | use std::{io::{stdout, Stdout}, path::PathBuf, panic}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/editor.rs:228:13 [INFO] [stderr] | [INFO] [stderr] 190 | KeyCode::Char('b') => self.move_word_backward(false), [INFO] [stderr] | ------------------ matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 228 | KeyCode::Char('b') if key.modifiers == KeyModifiers::CONTROL => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/editor.rs:237:13 [INFO] [stderr] | [INFO] [stderr] 233 | KeyCode::Char('z') => { [INFO] [stderr] | ------------------ matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 237 | KeyCode::Char('z') if self.pending_key == Some('z') => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/editor.rs:367:13 [INFO] [stderr] | [INFO] [stderr] 364 | KeyCode::Char('Z') => { [INFO] [stderr] | ------------------ matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 367 | KeyCode::Char('Z') if self.pending_key == Some('Z') => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | Ok(mut b) => { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `encoding_warning` is never read [INFO] [stderr] --> src/buffer.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Buffer { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub encoding_warning: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Buffer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `line_len_chars` is never used [INFO] [stderr] --> src/buffer.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Buffer { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn line_len_chars(&self, line_idx: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `cursor_line_bg`, `checkbox`, `checkbox_checked`, and `list_bullet` are never read [INFO] [stderr] --> src/config.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct Theme { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 75 | pub cursor_line_bg: Color, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub checkbox: Style, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 87 | pub checkbox_checked: Style, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | pub hr: Style, [INFO] [stderr] 89 | pub list_bullet: Style, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `mdterm` (bin "mdterm" test) generated 9 warnings (run `cargo fix --bin "mdterm" -p mdterm --tests` to apply 3 suggestions) [INFO] [stderr] warning: unused dependency `chrono` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | chrono = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `chrono` [INFO] [stderr] warning: `mdterm` (manifest) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/mdterm/7a94d05dada45da6/out/mdterm-7a94d05dada45da6) [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" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71", kill_on_drop: false }` [INFO] [stdout] e2e2b9db31a95d3c2017aad6a4e0345e187f386c1b623935506096e1484e5a71