[INFO] cloning repository https://github.com/Wilfred/difftastic-diff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wilfred/difftastic-diff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fdifftastic-diff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fdifftastic-diff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aff9d4c6b85e7bea0bf682107e4d90cda1371a99 [INFO] checking Wilfred/difftastic-diff against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fdifftastic-diff" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Wilfred/difftastic-diff [INFO] finished tweaking git repo https://github.com/Wilfred/difftastic-diff [INFO] tweaked toml for git repo https://github.com/Wilfred/difftastic-diff written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Wilfred/difftastic-diff on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Wilfred/difftastic-diff 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Wilfred/difftastic-diff against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fdifftastic-diff" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Wilfred/difftastic-diff [INFO] finished tweaking git repo https://github.com/Wilfred/difftastic-diff [INFO] tweaked toml for git repo https://github.com/Wilfred/difftastic-diff written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Wilfred/difftastic-diff on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Wilfred/difftastic-diff 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wu-diff v0.1.2 [INFO] [stderr] Downloaded line-numbers v0.3.0 [INFO] [stderr] Downloaded tree-sitter v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b80b70bfe1bb7e71d10c4ed6f606be9ef043a88319eb06e8833d095c6efde51 [INFO] running `Command { std: "docker" "start" "-a" "2b80b70bfe1bb7e71d10c4ed6f606be9ef043a88319eb06e8833d095c6efde51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b80b70bfe1bb7e71d10c4ed6f606be9ef043a88319eb06e8833d095c6efde51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b80b70bfe1bb7e71d10c4ed6f606be9ef043a88319eb06e8833d095c6efde51", kill_on_drop: false }` [INFO] [stdout] 2b80b70bfe1bb7e71d10c4ed6f606be9ef043a88319eb06e8833d095c6efde51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4845d15653a876bfa19b181d797e5bccc34be3bb2557961183a06b958d76863e [INFO] running `Command { std: "docker" "start" "-a" "4845d15653a876bfa19b181d797e5bccc34be3bb2557961183a06b958d76863e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking wu-diff v0.1.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking line-numbers v0.3.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling tree-sitter v0.21.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking difftastic-diff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Unchanged`, `ReplacedComment`, `ReplacedString`, and `Novel` are never constructed [INFO] [stdout] --> src/changes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum ChangeKind<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Unchanged(&'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | ReplacedComment(&'a Syntax<'a>, &'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ReplacedString(&'a Syntax<'a>, &'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Novel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `changes` is never read [INFO] [stdout] --> src/changes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChangeMap<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 18 | changes: DftHashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `get` are never used [INFO] [stdout] --> src/changes.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> ChangeMap<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 22 | pub(crate) fn insert(&mut self, node: &'a Syntax<'a>, ck: ChangeKind<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn get(&self, node: &Syntax<'a>) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deep_unchanged` is never used [INFO] [stdout] --> src/changes.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn insert_deep_unchanged<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deep_novel` is never used [INFO] [stdout] --> src/changes.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn insert_deep_novel<'a>(node: &'a Syntax<'a>, change_map: &mut ChangeMap<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_unique_by_hash` is never used [INFO] [stdout] --> src/myers_diff.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn slice_unique_by_hash<'a, T: Eq + Clone + Hash>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `previous_sibling`, `prev`, `parent`, `num_ancestors`, `num_after`, and `content_is_unique` are never read [INFO] [stdout] --> src/syntax.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct SyntaxInfo<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 49 | /// The previous node with the same parent as this one. [INFO] [stdout] 50 | previous_sibling: Cell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | prev: Cell>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | /// The parent syntax node, if present. [INFO] [stdout] 57 | parent: Cell>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | /// The number of nodes that are ancestors of this one. [INFO] [stdout] 59 | num_ancestors: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub(crate) num_after: Cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | content_is_unique: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `List` and `Atom` are never constructed [INFO] [stdout] --> src/syntax.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) enum Syntax<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 97 | List { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/syntax.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 191 | impl<'a> Syntax<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 192 | pub(crate) fn new_list( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub(crate) fn new_atom( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub(crate) fn parent(&self) -> Option<&'a Syntax<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub(crate) fn next_sibling(&self) -> Option<&'a Syntax<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub(crate) fn content_is_unique(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub(crate) fn num_ancestors(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub(crate) fn dbg_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment_positions` is never used [INFO] [stdout] --> src/syntax.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | pub(crate) fn comment_positions<'a>(nodes: &[&'a Syntax<'a>]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_all_info` is never used [INFO] [stdout] --> src/syntax.rs:358:15 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) fn init_all_info<'a>(lhs_roots: &[&'a Syntax<'a>], rhs_roots: &[&'a Syntax<'a>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_info` is never used [INFO] [stdout] --> src/syntax.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | fn init_info<'a>(lhs_roots: &[&'a Syntax<'a>], rhs_roots: &[&'a Syntax<'a>]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentKey` is never used [INFO] [stdout] --> src/syntax.rs:377:6 [INFO] [stdout] | [INFO] [stdout] 377 | type ContentKey = (Option, Option, Vec, bool, bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_content_id` is never used [INFO] [stdout] --> src/syntax.rs:379:4 [INFO] [stdout] | [INFO] [stdout] 379 | fn set_content_id(nodes: &[&Syntax], existing: &mut DftHashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_num_after` is never used [INFO] [stdout] --> src/syntax.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn set_num_after(nodes: &[&Syntax], parent_num_after: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_next_prev` is never used [INFO] [stdout] --> src/syntax.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | pub(crate) fn init_next_prev<'a>(roots: &[&'a Syntax<'a>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_info_on_side` is never used [INFO] [stdout] --> src/syntax.rs:448:4 [INFO] [stdout] | [INFO] [stdout] 448 | fn init_info_on_side<'a>(roots: &[&'a Syntax<'a>], next_id: &mut SyntaxId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_unique_id` is never used [INFO] [stdout] --> src/syntax.rs:455:4 [INFO] [stdout] | [INFO] [stdout] 455 | fn set_unique_id(nodes: &[&Syntax], next_id: &mut SyntaxId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nodes_with_unique_content` is never used [INFO] [stdout] --> src/syntax.rs:467:4 [INFO] [stdout] | [INFO] [stdout] 467 | fn find_nodes_with_unique_content(nodes: &[&Syntax], counts: &mut DftHashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_content_is_unique_from_counts` is never used [INFO] [stdout] --> src/syntax.rs:476:4 [INFO] [stdout] | [INFO] [stdout] 476 | fn set_content_is_unique_from_counts(nodes: &[&Syntax], counts: &DftHashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_content_is_unique` is never used [INFO] [stdout] --> src/syntax.rs:489:4 [INFO] [stdout] | [INFO] [stdout] 489 | fn set_content_is_unique(nodes: &[&Syntax]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_prev_sibling` is never used [INFO] [stdout] --> src/syntax.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | fn set_prev_sibling<'a>(nodes: &[&'a Syntax<'a>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_next_sibling` is never used [INFO] [stdout] --> src/syntax.rs:508:4 [INFO] [stdout] | [INFO] [stdout] 508 | fn set_next_sibling<'a>(nodes: &[&'a Syntax<'a>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_prev` is never used [INFO] [stdout] --> src/syntax.rs:521:4 [INFO] [stdout] | [INFO] [stdout] 521 | fn set_prev<'a>(nodes: &[&'a Syntax<'a>], parent: Option<&'a Syntax<'a>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_parent` is never used [INFO] [stdout] --> src/syntax.rs:532:4 [INFO] [stdout] | [INFO] [stdout] 532 | fn set_parent<'a>(nodes: &[&'a Syntax<'a>], parent: Option<&'a Syntax<'a>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_num_ancestors` is never used [INFO] [stdout] --> src/syntax.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn set_num_ancestors(nodes: &[&Syntax], num_ancestors: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringLiteral` and `Text` are never constructed [INFO] [stdout] --> src/syntax.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 563 | pub(crate) enum StringKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 564 | /// A string literal, such as `"foo"`. [INFO] [stdout] 565 | StringLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 566 | /// Plain text, such as the content of `

foo

`. [INFO] [stdout] 567 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Normal`, `String`, `Type`, `Comment`, `Keyword`, and `TreeSitterError` are never constructed [INFO] [stdout] --> src/syntax.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 571 | pub(crate) enum AtomKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 572 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | String(StringKind), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 576 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 577 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 578 | Keyword, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 579 | TreeSitterError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenKind` is never used [INFO] [stdout] --> src/syntax.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | pub(crate) enum TokenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatchKind` is never used [INFO] [stdout] --> src/syntax.rs:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | pub(crate) enum MatchKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_novel` is never used [INFO] [stdout] --> src/syntax.rs:614:19 [INFO] [stdout] | [INFO] [stdout] 613 | impl MatchKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 614 | pub(crate) fn is_novel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchedPos` is never constructed [INFO] [stdout] --> src/syntax.rs:623:19 [INFO] [stdout] | [INFO] [stdout] 623 | pub(crate) struct MatchedPos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_atom_words` is never used [INFO] [stdout] --> src/syntax.rs:633:4 [INFO] [stdout] | [INFO] [stdout] 633 | fn split_atom_words( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_common_words` is never used [INFO] [stdout] --> src/syntax.rs:722:4 [INFO] [stdout] | [INFO] [stdout] 722 | fn has_common_words(word_diffs: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_empty_ends` is never used [INFO] [stdout] --> src/syntax.rs:750:4 [INFO] [stdout] | [INFO] [stdout] 750 | fn filter_empty_ends(line_spans: &[SingleLineSpan]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax.rs:765:8 [INFO] [stdout] | [INFO] [stdout] 764 | impl MatchedPos { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 765 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_positions` is never used [INFO] [stdout] --> src/syntax.rs:870:15 [INFO] [stdout] | [INFO] [stdout] 870 | pub(crate) fn change_positions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_positions_` is never used [INFO] [stdout] --> src/syntax.rs:879:4 [INFO] [stdout] | [INFO] [stdout] 879 | fn change_positions_<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_pad_shorter` is never used [INFO] [stdout] --> src/syntax.rs:924:15 [INFO] [stdout] | [INFO] [stdout] 924 | pub(crate) fn zip_pad_shorter( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_repeat_shorter` is never used [INFO] [stdout] --> src/syntax.rs:944:15 [INFO] [stdout] | [INFO] [stdout] 944 | pub(crate) fn zip_repeat_shorter(lhs: &[Tx], rhs: &[Ty]) -> Vec<(Tx, Ty)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_whitespace` is never used [INFO] [stdout] --> src/syntax.rs:970:4 [INFO] [stdout] | [INFO] [stdout] 970 | fn is_all_whitespace(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeSitterConfig` is never constructed [INFO] [stdout] --> src/tree_sitter_parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TreeSitterConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_words` is never used [INFO] [stdout] --> src/words.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn split_words(s: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_words_and_numbers` is never used [INFO] [stdout] --> src/words.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn split_words_and_numbers(s: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unchanged`, `ReplacedComment`, `ReplacedString`, and `Novel` are never constructed [INFO] [stdout] --> src/changes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum ChangeKind<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Unchanged(&'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | ReplacedComment(&'a Syntax<'a>, &'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ReplacedString(&'a Syntax<'a>, &'a Syntax<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Novel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `changes` is never read [INFO] [stdout] --> src/changes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChangeMap<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 18 | changes: DftHashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `get` are never used [INFO] [stdout] --> src/changes.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> ChangeMap<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 22 | pub(crate) fn insert(&mut self, node: &'a Syntax<'a>, ck: ChangeKind<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn get(&self, node: &Syntax<'a>) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deep_unchanged` is never used [INFO] [stdout] --> src/changes.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn insert_deep_unchanged<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deep_novel` is never used [INFO] [stdout] --> src/changes.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn insert_deep_novel<'a>(node: &'a Syntax<'a>, change_map: &mut ChangeMap<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parent`, `next_sibling`, `content_is_unique`, `num_ancestors`, and `dbg_content` are never used [INFO] [stdout] --> src/syntax.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 191 | impl<'a> Syntax<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub(crate) fn parent(&self) -> Option<&'a Syntax<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub(crate) fn next_sibling(&self) -> Option<&'a Syntax<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub(crate) fn content_is_unique(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub(crate) fn num_ancestors(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub(crate) fn dbg_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment_positions` is never used [INFO] [stdout] --> src/syntax.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | pub(crate) fn comment_positions<'a>(nodes: &[&'a Syntax<'a>]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringLiteral` and `Text` are never constructed [INFO] [stdout] --> src/syntax.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 563 | pub(crate) enum StringKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 564 | /// A string literal, such as `"foo"`. [INFO] [stdout] 565 | StringLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 566 | /// Plain text, such as the content of `

foo

`. [INFO] [stdout] 567 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Keyword`, and `TreeSitterError` are never constructed [INFO] [stdout] --> src/syntax.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 571 | pub(crate) enum AtomKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 575 | String(StringKind), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | Keyword, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 579 | TreeSitterError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Delimiter` is never constructed [INFO] [stdout] --> src/syntax.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub(crate) enum TokenKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 585 | Delimiter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnchangedToken` and `Ignored` are never constructed [INFO] [stdout] --> src/syntax.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | pub(crate) enum MatchKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 592 | UnchangedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | Ignored { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_novel` is never used [INFO] [stdout] --> src/syntax.rs:614:19 [INFO] [stdout] | [INFO] [stdout] 613 | impl MatchKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 614 | pub(crate) fn is_novel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_empty_ends` is never used [INFO] [stdout] --> src/syntax.rs:750:4 [INFO] [stdout] | [INFO] [stdout] 750 | fn filter_empty_ends(line_spans: &[SingleLineSpan]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax.rs:765:8 [INFO] [stdout] | [INFO] [stdout] 764 | impl MatchedPos { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 765 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_positions` is never used [INFO] [stdout] --> src/syntax.rs:870:15 [INFO] [stdout] | [INFO] [stdout] 870 | pub(crate) fn change_positions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_positions_` is never used [INFO] [stdout] --> src/syntax.rs:879:4 [INFO] [stdout] | [INFO] [stdout] 879 | fn change_positions_<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_pad_shorter` is never used [INFO] [stdout] --> src/syntax.rs:924:15 [INFO] [stdout] | [INFO] [stdout] 924 | pub(crate) fn zip_pad_shorter( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_repeat_shorter` is never used [INFO] [stdout] --> src/syntax.rs:944:15 [INFO] [stdout] | [INFO] [stdout] 944 | pub(crate) fn zip_repeat_shorter(lhs: &[Tx], rhs: &[Ty]) -> Vec<(Tx, Ty)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeSitterConfig` is never constructed [INFO] [stdout] --> src/tree_sitter_parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TreeSitterConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.35s [INFO] running `Command { std: "docker" "inspect" "4845d15653a876bfa19b181d797e5bccc34be3bb2557961183a06b958d76863e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4845d15653a876bfa19b181d797e5bccc34be3bb2557961183a06b958d76863e", kill_on_drop: false }` [INFO] [stdout] 4845d15653a876bfa19b181d797e5bccc34be3bb2557961183a06b958d76863e