[INFO] cloning repository https://github.com/thomasetter/crdt_splice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomasetter/crdt_splice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasetter%2Fcrdt_splice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasetter%2Fcrdt_splice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39ded84a1d661c877a034cd7f8478e9288fea6e3 [INFO] checking thomasetter/crdt_splice against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasetter%2Fcrdt_splice" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomasetter/crdt_splice on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomasetter/crdt_splice [INFO] finished tweaking git repo https://github.com/thomasetter/crdt_splice [INFO] tweaked toml for git repo https://github.com/thomasetter/crdt_splice written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/thomasetter/crdt_splice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7caa78586e9f0313a5ebd2c3315455c67f525a0b7946d1994d9bd46eac1ec221 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7caa78586e9f0313a5ebd2c3315455c67f525a0b7946d1994d9bd46eac1ec221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7caa78586e9f0313a5ebd2c3315455c67f525a0b7946d1994d9bd46eac1ec221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7caa78586e9f0313a5ebd2c3315455c67f525a0b7946d1994d9bd46eac1ec221", kill_on_drop: false }` [INFO] [stdout] 7caa78586e9f0313a5ebd2c3315455c67f525a0b7946d1994d9bd46eac1ec221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e32d0107da5c1e5071afca2daa6afe5c8fa25f7548a825203bbdb282cf338a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3e32d0107da5c1e5071afca2daa6afe5c8fa25f7548a825203bbdb282cf338a7", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking crdt_splice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_offset_after` [INFO] [stdout] --> src/main.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | if let Some(self_offset_after) = self_offset_after { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_offset_after` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 296 | offset: _, [INFO] [stdout] 297 | offset_after, [INFO] [stdout] 298 | text: _, [INFO] [stdout] 299 | } [INFO] [stdout] 300 | | TextNode::Tombstone { [INFO] [stdout] 301 | node, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 297 | offset_after: _, [INFO] [stdout] 298 | text: _, [INFO] [stdout] 299 | } [INFO] [stdout] 300 | | TextNode::Tombstone { [INFO] [stdout] 301 | node, [INFO] [stdout] 302 | offset, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | node, [INFO] [stdout] | ^^^^ help: try ignoring the field: `node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | offset, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `offset_after: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | text, [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_nodes_len` [INFO] [stdout] --> src/main.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | let text_nodes_len = p.contents().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_nodes_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 833 | offset: _, [INFO] [stdout] 834 | offset_after, [INFO] [stdout] 835 | text: _, [INFO] [stdout] 836 | } [INFO] [stdout] 837 | | Tombstone { [INFO] [stdout] 838 | node, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 840 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 834 | offset_after: _, [INFO] [stdout] 835 | text: _, [INFO] [stdout] 836 | } [INFO] [stdout] 837 | | Tombstone { [INFO] [stdout] 838 | node, [INFO] [stdout] 839 | offset, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anchor` [INFO] [stdout] --> src/main.rs:1031:39 [INFO] [stdout] | [INFO] [stdout] 1031 | fn find_mutable<'a>(&'a mut self, anchor: TextOrParagraphAnchor) -> DocumentStateMutIter<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin_anchor` [INFO] [stdout] --> src/main.rs:1200:21 [INFO] [stdout] | [INFO] [stdout] 1200 | begin_anchor, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `begin_anchor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_anchor` [INFO] [stdout] --> src/main.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 1201 | end_anchor, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `end_anchor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known_splices` [INFO] [stdout] --> src/main.rs:1202:21 [INFO] [stdout] | [INFO] [stdout] 1202 | known_splices, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `known_splices: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> src/main.rs:1453:42 [INFO] [stdout] | [INFO] [stdout] 1453 | ClientSelection::Range { begin, end } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:1453:49 [INFO] [stdout] | [INFO] [stdout] 1453 | ClientSelection::Range { begin, end } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let mut result = vec![TextNode::Text { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_offset_after` [INFO] [stdout] --> src/main.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | if let Some(self_offset_after) = self_offset_after { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_offset_after` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 296 | offset: _, [INFO] [stdout] 297 | offset_after, [INFO] [stdout] 298 | text: _, [INFO] [stdout] 299 | } [INFO] [stdout] 300 | | TextNode::Tombstone { [INFO] [stdout] 301 | node, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 297 | offset_after: _, [INFO] [stdout] 298 | text: _, [INFO] [stdout] 299 | } [INFO] [stdout] 300 | | TextNode::Tombstone { [INFO] [stdout] 301 | node, [INFO] [stdout] 302 | offset, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | node, [INFO] [stdout] | ^^^^ help: try ignoring the field: `node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | offset, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `offset_after: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | text, [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_nodes_len` [INFO] [stdout] --> src/main.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | let text_nodes_len = p.contents().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_nodes_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 833 | offset: _, [INFO] [stdout] 834 | offset_after, [INFO] [stdout] 835 | text: _, [INFO] [stdout] 836 | } [INFO] [stdout] 837 | | Tombstone { [INFO] [stdout] 838 | node, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_after` [INFO] [stdout] --> src/main.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 840 | offset_after, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 834 | offset_after: _, [INFO] [stdout] 835 | text: _, [INFO] [stdout] 836 | } [INFO] [stdout] 837 | | Tombstone { [INFO] [stdout] 838 | node, [INFO] [stdout] 839 | offset, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anchor` [INFO] [stdout] --> src/main.rs:1031:39 [INFO] [stdout] | [INFO] [stdout] 1031 | fn find_mutable<'a>(&'a mut self, anchor: TextOrParagraphAnchor) -> DocumentStateMutIter<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin_anchor` [INFO] [stdout] --> src/main.rs:1200:21 [INFO] [stdout] | [INFO] [stdout] 1200 | begin_anchor, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `begin_anchor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_anchor` [INFO] [stdout] --> src/main.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 1201 | end_anchor, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `end_anchor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known_splices` [INFO] [stdout] --> src/main.rs:1202:21 [INFO] [stdout] | [INFO] [stdout] 1202 | known_splices, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `known_splices: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> src/main.rs:1453:42 [INFO] [stdout] | [INFO] [stdout] 1453 | ClientSelection::Range { begin, end } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:1453:49 [INFO] [stdout] | [INFO] [stdout] 1453 | ClientSelection::Range { begin, end } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let mut result = vec![TextNode::Text { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bold` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Bold = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Italic` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Italic = 1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BeforeAnchor` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | BeforeAnchor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AfterAnchor` [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | AfterAnchor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FormatChange` [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / FormatChange { [INFO] [stdout] 146 | | begin_anchor: TextAnchor, [INFO] [stdout] 147 | | end_anchor: TextAnchor, [INFO] [stdout] 148 | | format: Format, [INFO] [stdout] 149 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParagraphStyleChange` [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / ParagraphStyleChange { [INFO] [stdout] 152 | | // must be 1 or more [INFO] [stdout] 153 | | paragraphs: Vec, [INFO] [stdout] 154 | | // the paragraph splices we know about in this range. [INFO] [stdout] ... | [INFO] [stdout] 158 | | paragraph_style: ParagraphStyle, [INFO] [stdout] 159 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Erase` [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / Erase { [INFO] [stdout] 163 | | begin_anchor: TextAnchor, [INFO] [stdout] 164 | | end_anchor: TextAnchor, [INFO] [stdout] 165 | | // the splices we know about in this range. [INFO] [stdout] ... | [INFO] [stdout] 173 | | // or maybe only for one of these if we want to keep the empty paragraph formatting (put it in the action at splicing time) [INFO] [stdout] 174 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpliceInsert` [INFO] [stdout] --> src/main.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / SpliceInsert { [INFO] [stdout] 177 | | anchor: TextAnchor, [INFO] [stdout] 178 | | erase_id: ActionId, [INFO] [stdout] 179 | | // used for the parts referenced in the erase where the splice was "won" by a concurrent other splice [INFO] [stdout] 180 | | new_node_ids_if_necessary: Vec, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpliceParagraphInsert` [INFO] [stdout] --> src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / SpliceParagraphInsert { [INFO] [stdout] 184 | | anchor: ParagraphId, [INFO] [stdout] 185 | | position: ParagraphInsertPosition, [INFO] [stdout] 186 | | erase_id: ActionId, [INFO] [stdout] ... | [INFO] [stdout] 189 | | new_paragraph_style: ParagraphStyle, [INFO] [stdout] 190 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UndoRedo` [INFO] [stdout] --> src/main.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / UndoRedo { [INFO] [stdout] 193 | | edit_id: ActionId, [INFO] [stdout] 194 | | undo_counter_change: NonZeroI32, [INFO] [stdout] 195 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FormatChange` [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | FormatChange(TextFormatChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tombstone` [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / Tombstone { [INFO] [stdout] 227 | | node: NodeId, [INFO] [stdout] 228 | | offset: u32, [INFO] [stdout] 229 | | offset_after: Option, [INFO] [stdout] 230 | | length: u32, [INFO] [stdout] 231 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paragraph_id` [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | fn paragraph_id(&self) -> &ParagraphId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_text` [INFO] [stdout] --> src/main.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn to_text(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Paragraph` [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | Paragraph(&'a mut ParagraphNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextNode` [INFO] [stdout] --> src/main.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | TextNode(&'a mut TextNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/main.rs:683:8 [INFO] [stdout] | [INFO] [stdout] 683 | fn current(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_into_paragraph_at` [INFO] [stdout] --> src/main.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn insert_into_paragraph_at( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_into_current_text_node_at_offset` [INFO] [stdout] --> src/main.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | fn insert_into_current_text_node_at_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_paragraph` [INFO] [stdout] --> src/main.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | fn next_paragraph(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/main.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_current` [INFO] [stdout] --> src/main.rs:776:8 [INFO] [stdout] | [INFO] [stdout] 776 | fn erase_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParagraphBreak` [INFO] [stdout] --> src/main.rs:1347:5 [INFO] [stdout] | [INFO] [stdout] 1347 | ParagraphBreak, // basically pressing ENTER [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Range` [INFO] [stdout] --> src/main.rs:1354:5 [INFO] [stdout] | [INFO] [stdout] 1354 | / Range { [INFO] [stdout] 1355 | | begin: TextOrParagraphAnchor, [INFO] [stdout] 1356 | | end: TextOrParagraphAnchor, [INFO] [stdout] 1357 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:590:20 [INFO] [stdout] | [INFO] [stdout] 590 | if *text_node_index - 1 >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bold` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Bold = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Italic` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Italic = 1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BeforeAnchor` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | BeforeAnchor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AfterAnchor` [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | AfterAnchor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FormatChange` [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / FormatChange { [INFO] [stdout] 146 | | begin_anchor: TextAnchor, [INFO] [stdout] 147 | | end_anchor: TextAnchor, [INFO] [stdout] 148 | | format: Format, [INFO] [stdout] 149 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParagraphStyleChange` [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / ParagraphStyleChange { [INFO] [stdout] 152 | | // must be 1 or more [INFO] [stdout] 153 | | paragraphs: Vec, [INFO] [stdout] 154 | | // the paragraph splices we know about in this range. [INFO] [stdout] ... | [INFO] [stdout] 158 | | paragraph_style: ParagraphStyle, [INFO] [stdout] 159 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Erase` [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / Erase { [INFO] [stdout] 163 | | begin_anchor: TextAnchor, [INFO] [stdout] 164 | | end_anchor: TextAnchor, [INFO] [stdout] 165 | | // the splices we know about in this range. [INFO] [stdout] ... | [INFO] [stdout] 173 | | // or maybe only for one of these if we want to keep the empty paragraph formatting (put it in the action at splicing time) [INFO] [stdout] 174 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpliceInsert` [INFO] [stdout] --> src/main.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / SpliceInsert { [INFO] [stdout] 177 | | anchor: TextAnchor, [INFO] [stdout] 178 | | erase_id: ActionId, [INFO] [stdout] 179 | | // used for the parts referenced in the erase where the splice was "won" by a concurrent other splice [INFO] [stdout] 180 | | new_node_ids_if_necessary: Vec, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpliceParagraphInsert` [INFO] [stdout] --> src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / SpliceParagraphInsert { [INFO] [stdout] 184 | | anchor: ParagraphId, [INFO] [stdout] 185 | | position: ParagraphInsertPosition, [INFO] [stdout] 186 | | erase_id: ActionId, [INFO] [stdout] ... | [INFO] [stdout] 189 | | new_paragraph_style: ParagraphStyle, [INFO] [stdout] 190 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UndoRedo` [INFO] [stdout] --> src/main.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / UndoRedo { [INFO] [stdout] 193 | | edit_id: ActionId, [INFO] [stdout] 194 | | undo_counter_change: NonZeroI32, [INFO] [stdout] 195 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FormatChange` [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | FormatChange(TextFormatChange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tombstone` [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / Tombstone { [INFO] [stdout] 227 | | node: NodeId, [INFO] [stdout] 228 | | offset: u32, [INFO] [stdout] 229 | | offset_after: Option, [INFO] [stdout] 230 | | length: u32, [INFO] [stdout] 231 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paragraph_id` [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | fn paragraph_id(&self) -> &ParagraphId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_text` [INFO] [stdout] --> src/main.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn to_text(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Paragraph` [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | Paragraph(&'a mut ParagraphNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextNode` [INFO] [stdout] --> src/main.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | TextNode(&'a mut TextNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/main.rs:683:8 [INFO] [stdout] | [INFO] [stdout] 683 | fn current(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_into_paragraph_at` [INFO] [stdout] --> src/main.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn insert_into_paragraph_at( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_into_current_text_node_at_offset` [INFO] [stdout] --> src/main.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | fn insert_into_current_text_node_at_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_paragraph` [INFO] [stdout] --> src/main.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | fn next_paragraph(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/main.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_current` [INFO] [stdout] --> src/main.rs:776:8 [INFO] [stdout] | [INFO] [stdout] 776 | fn erase_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParagraphBreak` [INFO] [stdout] --> src/main.rs:1347:5 [INFO] [stdout] | [INFO] [stdout] 1347 | ParagraphBreak, // basically pressing ENTER [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Range` [INFO] [stdout] --> src/main.rs:1354:5 [INFO] [stdout] | [INFO] [stdout] 1354 | / Range { [INFO] [stdout] 1355 | | begin: TextOrParagraphAnchor, [INFO] [stdout] 1356 | | end: TextOrParagraphAnchor, [INFO] [stdout] 1357 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:590:20 [INFO] [stdout] | [INFO] [stdout] 590 | if *text_node_index - 1 >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "3e32d0107da5c1e5071afca2daa6afe5c8fa25f7548a825203bbdb282cf338a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e32d0107da5c1e5071afca2daa6afe5c8fa25f7548a825203bbdb282cf338a7", kill_on_drop: false }` [INFO] [stdout] 3e32d0107da5c1e5071afca2daa6afe5c8fa25f7548a825203bbdb282cf338a7