[INFO] cloning repository https://github.com/weironz/typora-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weironz/typora-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweironz%2Ftypora-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweironz%2Ftypora-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ca73d896016ae4b4a0f9575334d870b59edd5a7 [INFO] checking weironz/typora-rust against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweironz%2Ftypora-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weironz/typora-rust [INFO] finished tweaking git repo https://github.com/weironz/typora-rust [INFO] tweaked toml for git repo https://github.com/weironz/typora-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weironz/typora-rust on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weironz/typora-rust 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 886ac57b273419296336be7d1058b243ee3f84d805f19f4461949d2469d8ef37 [INFO] running `Command { std: "docker" "start" "-a" "886ac57b273419296336be7d1058b243ee3f84d805f19f4461949d2469d8ef37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "886ac57b273419296336be7d1058b243ee3f84d805f19f4461949d2469d8ef37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886ac57b273419296336be7d1058b243ee3f84d805f19f4461949d2469d8ef37", kill_on_drop: false }` [INFO] [stdout] 886ac57b273419296336be7d1058b243ee3f84d805f19f4461949d2469d8ef37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b8bc9acb1404bfee176d9df2666106b104c7e5b887dedbe278b44910e1c571d [INFO] running `Command { std: "docker" "start" "-a" "5b8bc9acb1404bfee176d9df2666106b104c7e5b887dedbe278b44910e1c571d", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Checking wayland-backend v0.3.15 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking epaint_default_fonts v0.30.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking servo_arc v0.4.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.13.3 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking hashbrown v0.17.0 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking pulldown-cmark-to-cmark v20.0.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.7 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.34.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.30.0 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking ecolor v0.30.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking epaint v0.30.0 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking egui v0.30.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking webbrowser v1.2.1 [INFO] [stderr] Checking scraper v0.23.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking egui_glow v0.30.0 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.30.0 [INFO] [stderr] Checking eframe v0.30.0 [INFO] [stderr] Checking typora-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::parser::ast::InlineNode` [INFO] [stdout] --> src/export/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::parser::ast::InlineNode; [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: `crate::parser::ast::InlineNode` [INFO] [stdout] --> src/export/mod.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use crate::parser::ast::InlineNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecursiveMode` [INFO] [stdout] --> src/fs/mod.rs:185:57 [INFO] [stdout] | [INFO] [stdout] 185 | use notify::{Config, Event, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecursiveMode` and `Watcher` [INFO] [stdout] --> src/fs/mod.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | use notify::{RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockQuoteKind` [INFO] [stdout] --> src/parser/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use pulldown_cmark::{BlockQuoteKind, Event, Options, Parser, Tag, TagEnd}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::InlineNode` [INFO] [stdout] --> src/export/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::parser::ast::InlineNode; [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: `crate::parser::ast::InlineNode` [INFO] [stdout] --> src/export/mod.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use crate::parser::ast::InlineNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecursiveMode` [INFO] [stdout] --> src/fs/mod.rs:185:57 [INFO] [stdout] | [INFO] [stdout] 185 | use notify::{Config, Event, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecursiveMode` and `Watcher` [INFO] [stdout] --> src/fs/mod.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | use notify::{RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockQuoteKind` [INFO] [stdout] --> src/parser/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use pulldown_cmark::{BlockQuoteKind, Event, Options, Parser, Tag, TagEnd}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/editor/document.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn insert_text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/editor/document.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(sel) = &self.selection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/editor/document.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn apply_format(&mut self, format: FormatType) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/editor/commands.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(text) = &self.deleted_text { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_word` [INFO] [stdout] --> src/editor/cursor.rs:29:57 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn move_forward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/editor/cursor.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(block) = document.children.get(self.position.block_index) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn move_backward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_word` [INFO] [stdout] --> src/editor/cursor.rs:38:58 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn move_backward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn move_up(&mut self, document: &Document) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn calculate(&self, position: CursorPosition, document: &Document) -> VisualPosition { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/editor/document.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn insert_text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/editor/document.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(sel) = &self.selection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/editor/document.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn apply_format(&mut self, format: FormatType) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/mod.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn watch(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/editor/commands.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(text) = &self.deleted_text { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_word` [INFO] [stdout] --> src/editor/cursor.rs:29:57 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn move_forward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/editor/cursor.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(block) = document.children.get(self.position.block_index) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn move_backward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_word` [INFO] [stdout] --> src/editor/cursor.rs:38:58 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn move_backward(&mut self, document: &Document, by_word: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn move_up(&mut self, document: &Document) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/editor/cursor.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn calculate(&self, position: CursorPosition, document: &Document) -> VisualPosition { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/mod.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn watch(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/mod.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 180 | Event::Start(Tag::BlockQuote(_)) => { [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 259 | Event::Start(Tag::BlockQuote(_)) => { [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: unused variable: `inner_blocks` [INFO] [stdout] --> src/parser/mod.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let inner_blocks = self.events_to_blocks(&content)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ordered` [INFO] [stdout] --> src/parser/mod.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | is_ordered: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ordered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/renderer/html.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | BlockNode::CodeBlock { language, content, meta, .. } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `meta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `commands::Command` is more private than the item `CommandManager::execute` [INFO] [stdout] --> src/editor/commands.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn execute(&mut self, doc: &mut EditableDocument, command: Box) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `CommandManager::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `commands::Command` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/editor/commands.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | trait Command: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/editor/commands.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 8 | trait Command: Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertTextCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct InsertTextCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl InsertTextCommand { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 114 | fn new(position: usize, text: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteRangeCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct DeleteRangeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl DeleteRangeCommand { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 148 | fn new(start: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | struct FormatCommand { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FormatType` is never used [INFO] [stdout] --> src/editor/commands.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | enum FormatType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertBlockCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct InsertBlockCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 223 | impl InsertBlockCommand { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 224 | fn new(position: usize, block: BlockNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui/app.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | Heading(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 464 - Heading(u8), [INFO] [stdout] 464 + Heading(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_task_list`, `extract_task_item`, and `is_task_list` are never used [INFO] [stdout] --> src/parser/mod.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl MarkdownParser { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | fn parse_task_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn extract_task_item(&self, events: &[Event]) -> Result<(bool, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn is_task_list(&self, events: &[Event], start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/mod.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 180 | Event::Start(Tag::BlockQuote(_)) => { [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 259 | Event::Start(Tag::BlockQuote(_)) => { [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: unused variable: `inner_blocks` [INFO] [stdout] --> src/parser/mod.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let inner_blocks = self.events_to_blocks(&content)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ordered` [INFO] [stdout] --> src/parser/mod.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | is_ordered: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ordered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/renderer/html.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | BlockNode::CodeBlock { language, content, meta, .. } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `meta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `commands::Command` is more private than the item `CommandManager::execute` [INFO] [stdout] --> src/editor/commands.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn execute(&mut self, doc: &mut EditableDocument, command: Box) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `CommandManager::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `commands::Command` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/editor/commands.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | trait Command: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/editor/commands.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 8 | trait Command: Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertTextCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct InsertTextCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl InsertTextCommand { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 114 | fn new(position: usize, text: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteRangeCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct DeleteRangeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl DeleteRangeCommand { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 148 | fn new(start: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | struct FormatCommand { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FormatType` is never used [INFO] [stdout] --> src/editor/commands.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | enum FormatType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertBlockCommand` is never constructed [INFO] [stdout] --> src/editor/commands.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct InsertBlockCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/editor/commands.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 223 | impl InsertBlockCommand { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 224 | fn new(position: usize, block: BlockNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui/app.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | Heading(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 464 - Heading(u8), [INFO] [stdout] 464 + Heading(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_task_list`, `extract_task_item`, and `is_task_list` are never used [INFO] [stdout] --> src/parser/mod.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl MarkdownParser { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | fn parse_task_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn extract_task_item(&self, events: &[Event]) -> Result<(bool, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn is_task_list(&self, events: &[Event], start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "5b8bc9acb1404bfee176d9df2666106b104c7e5b887dedbe278b44910e1c571d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8bc9acb1404bfee176d9df2666106b104c7e5b887dedbe278b44910e1c571d", kill_on_drop: false }` [INFO] [stdout] 5b8bc9acb1404bfee176d9df2666106b104c7e5b887dedbe278b44910e1c571d