[INFO] cloning repository https://github.com/si14/rust-textmate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/si14/rust-textmate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsi14%2Frust-textmate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsi14%2Frust-textmate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab9b653e7b800f97c022068de41b6a1c79c0ee1d [INFO] checking si14/rust-textmate against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsi14%2Frust-textmate" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/si14/rust-textmate [INFO] finished tweaking git repo https://github.com/si14/rust-textmate [INFO] tweaked toml for git repo https://github.com/si14/rust-textmate written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/si14/rust-textmate on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/si14/rust-textmate 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-onig/rust-onig.git` [INFO] [stderr] Updating git submodule `https://github.com/kkos/oniguruma.git` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking si14/rust-textmate against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsi14%2Frust-textmate" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/si14/rust-textmate [INFO] finished tweaking git repo https://github.com/si14/rust-textmate [INFO] tweaked toml for git repo https://github.com/si14/rust-textmate written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/si14/rust-textmate on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/si14/rust-textmate 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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 test-case-macros v3.3.1 [INFO] [stderr] Downloaded test-case-core v3.3.1 [INFO] [stderr] Downloaded test-case v3.3.1 [INFO] [stderr] Downloaded snafu-derive v0.8.5 [INFO] [stderr] Downloaded snafu v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdbbb8f4f0c87c14b9eadaed0ee6ecb964f3895650d7737747357a53a3827aa2 [INFO] running `Command { std: "docker" "start" "-a" "cdbbb8f4f0c87c14b9eadaed0ee6ecb964f3895650d7737747357a53a3827aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdbbb8f4f0c87c14b9eadaed0ee6ecb964f3895650d7737747357a53a3827aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbbb8f4f0c87c14b9eadaed0ee6ecb964f3895650d7737747357a53a3827aa2", kill_on_drop: false }` [INFO] [stdout] cdbbb8f4f0c87c14b9eadaed0ee6ecb964f3895650d7737747357a53a3827aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2441b6f70c8c9583748a081a5f4919d72c621acb210d8d6c491eb34d7a399d2d [INFO] running `Command { std: "docker" "start" "-a" "2441b6f70c8c9583748a081a5f4919d72c621acb210d8d6c491eb34d7a399d2d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling onig_sys v69.8.1 (https://github.com/rust-onig/rust-onig.git?rev=c4378abcbf30d58cf5f230c0d2e6375f2be05a47#c4378abc) [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking onig v6.5.0 (https://github.com/rust-onig/rust-onig.git?rev=c4378abcbf30d58cf5f230c0d2e6375f2be05a47#c4378abc) [INFO] [stderr] Checking snafu v0.8.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking rust-textmate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `compiled_syntax` [INFO] [stdout] --> src/syntax_compiler/compile.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let compiled_syntax = SyntaxDefinition::compile(parsed_syntax).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiled_syntax` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syntax` [INFO] [stdout] --> src/lib.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syntax` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/lib.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syntax` [INFO] [stdout] --> src/lib.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/lib.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `compile::ScopeName` is more private than the item `compile::Repository::rules` [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `compile::Repository::rules` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `compile::ScopeName` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | struct ScopeName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RuleId` is more private than the item `compile::Repository::rules` [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `compile::Repository::rules` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RuleId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | struct RuleId(NonZeroU16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepositoryId` is more private than the item `RepositoryStack::stack` [INFO] [stdout] --> src/syntax_compiler/compile.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) stack: [Option; MAX_REPOSITORY_STACK_DEPTH as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `RepositoryStack::stack` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepositoryId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | struct RepositoryId(NonZeroU8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABC_PROGRAM` is never used [INFO] [stdout] --> src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const ABC_PROGRAM: &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: function `parse_line` is never used [INFO] [stdout] --> src/lib.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | struct RegexId(NonZeroU16); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RegexId` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | struct PartialRegexId(NonZeroU16); [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PartialRegexId` 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 `to_idx` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl $type { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 45 | fn to_idx(self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_idx_conversion!(RegexId, u16, NonZeroU16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_idx_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_idx` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl $type { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 45 | fn to_idx(self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | impl_idx_conversion!(PartialRegexId, u16, NonZeroU16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_idx_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rules` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` 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 `pop` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl RepositoryStack { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn pop(mut self) -> Result<(Self, RepositoryId), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxSet` is never constructed [INFO] [stdout] --> src/syntax_compiler/compile.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) struct SyntaxSet(pub(crate) Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_name` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) struct SyntaxDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 139 | scope_name: ScopeName, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxDefinition` 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: fields `id`, `name`, `repository_stack`, `match_`, and `captures` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 386 | struct MatchRule { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 387 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 388 | // todo: intern [INFO] [stdout] 389 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | match_: RegexId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | captures: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchRule` 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: fields `id`, `name`, `repository_stack`, `content_name`, and `patterns` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct IncludeOnlyRule { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 401 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 402 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 403 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 404 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 405 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncludeOnlyRule` 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: multiple fields are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 409 | struct BeginWhileRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 410 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 411 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 412 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 413 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 414 | begin: RegexId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 415 | begin_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 416 | while_: PartialRegexId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | while_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 418 | patterns: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeginWhileRule` 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: multiple fields are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 422 | struct BeginEndRule { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 423 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 424 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 425 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 426 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 427 | begin: RegexId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 428 | begin_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 429 | // begin/end patterns might not have the final pattern [INFO] [stdout] 430 | end: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 431 | end_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 432 | apply_end_pattern_last: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 433 | patterns: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeginEndRule` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | MatchRule(MatchRule), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 438 - MatchRule(MatchRule), [INFO] [stdout] 438 + MatchRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | IncludeOnlyRule(IncludeOnlyRule), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 439 - IncludeOnlyRule(IncludeOnlyRule), [INFO] [stdout] 439 + IncludeOnlyRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:440:20 [INFO] [stdout] | [INFO] [stdout] 440 | BeginWhileRule(BeginWhileRule), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 440 - BeginWhileRule(BeginWhileRule), [INFO] [stdout] 440 + BeginWhileRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 441 | BeginEndRule(BeginEndRule), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 441 - BeginEndRule(BeginEndRule), [INFO] [stdout] 441 + BeginEndRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | struct Captures(Vec>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Captures` 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: field `scope` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 468 | TopLevel { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 469 | scope: ScopeName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: field `rule` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 472 | Relative { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 473 | rule: ScopeName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: fields `scope` and `rule` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 476 | TopLevelRepository { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 477 | scope: ScopeName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 478 | rule: ScopeName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | RuleId(RuleId), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuleIdOrReference` has derived impls for the traits `Clone` and `Debug`, but these are 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] 507 - RuleId(RuleId), [INFO] [stdout] 507 + RuleId(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:508:15 [INFO] [stdout] | [INFO] [stdout] 508 | Reference(Reference), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuleIdOrReference` has derived impls for the traits `Clone` and `Debug`, but these are 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] 508 - Reference(Reference), [INFO] [stdout] 508 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `injections`, `injection_selector`, and `inject_to` are never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct SyntaxDefinition { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) injections: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub(crate) injection_selector: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) inject_to: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxDefinition` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) struct RegExpString(pub(crate) String); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RegExpString` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct PartialRegExpString(pub(crate) String); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PartialRegExpString` 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: type `compile::ScopeName` is more private than the item `compile::Repository::rules` [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `compile::Repository::rules` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `compile::ScopeName` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | struct ScopeName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RuleId` is more private than the item `compile::Repository::rules` [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `compile::Repository::rules` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RuleId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | struct RuleId(NonZeroU16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepositoryId` is more private than the item `RepositoryStack::stack` [INFO] [stdout] --> src/syntax_compiler/compile.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) stack: [Option; MAX_REPOSITORY_STACK_DEPTH as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `RepositoryStack::stack` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepositoryId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/syntax_compiler/compile.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | struct RepositoryId(NonZeroU8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABC_PROGRAM` is never used [INFO] [stdout] --> src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const ABC_PROGRAM: &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: function `parse_line` is never used [INFO] [stdout] --> src/lib.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_line(syntax: &compile::SyntaxDefinition, line: &str) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | struct RegexId(NonZeroU16); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RegexId` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | struct PartialRegexId(NonZeroU16); [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PartialRegexId` 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 `to_idx` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl $type { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 45 | fn to_idx(self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_idx_conversion!(RegexId, u16, NonZeroU16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_idx_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_idx` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl $type { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 45 | fn to_idx(self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | impl_idx_conversion!(PartialRegexId, u16, NonZeroU16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_idx_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rules` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | pub(crate) rules: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` 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 `pop` is never used [INFO] [stdout] --> src/syntax_compiler/compile.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl RepositoryStack { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn pop(mut self) -> Result<(Self, RepositoryId), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxSet` is never constructed [INFO] [stdout] --> src/syntax_compiler/compile.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) struct SyntaxSet(pub(crate) Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_name` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) struct SyntaxDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 139 | scope_name: ScopeName, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxDefinition` 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: fields `id`, `name`, `repository_stack`, `match_`, and `captures` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 386 | struct MatchRule { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 387 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 388 | // todo: intern [INFO] [stdout] 389 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | match_: RegexId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | captures: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchRule` 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: fields `id`, `name`, `repository_stack`, `content_name`, and `patterns` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct IncludeOnlyRule { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 401 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 402 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 403 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 404 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 405 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncludeOnlyRule` 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: multiple fields are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 409 | struct BeginWhileRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 410 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 411 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 412 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 413 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 414 | begin: RegexId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 415 | begin_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 416 | while_: PartialRegexId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | while_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 418 | patterns: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeginWhileRule` 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: multiple fields are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 422 | struct BeginEndRule { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 423 | id: RuleId, [INFO] [stdout] | ^^ [INFO] [stdout] 424 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 425 | repository_stack: RepositoryStack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 426 | content_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 427 | begin: RegexId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 428 | begin_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 429 | // begin/end patterns might not have the final pattern [INFO] [stdout] 430 | end: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 431 | end_captures: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 432 | apply_end_pattern_last: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 433 | patterns: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeginEndRule` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | MatchRule(MatchRule), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 438 - MatchRule(MatchRule), [INFO] [stdout] 438 + MatchRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | IncludeOnlyRule(IncludeOnlyRule), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 439 - IncludeOnlyRule(IncludeOnlyRule), [INFO] [stdout] 439 + IncludeOnlyRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:440:20 [INFO] [stdout] | [INFO] [stdout] 440 | BeginWhileRule(BeginWhileRule), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 440 - BeginWhileRule(BeginWhileRule), [INFO] [stdout] 440 + BeginWhileRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 441 | BeginEndRule(BeginEndRule), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are 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] 441 - BeginEndRule(BeginEndRule), [INFO] [stdout] 441 + BeginEndRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | struct Captures(Vec>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Captures` 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: field `scope` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 468 | TopLevel { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 469 | scope: ScopeName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: field `rule` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 472 | Relative { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 473 | rule: ScopeName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: fields `scope` and `rule` are never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 476 | TopLevelRepository { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 477 | scope: ScopeName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 478 | rule: ScopeName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | RuleId(RuleId), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuleIdOrReference` has derived impls for the traits `Clone` and `Debug`, but these are 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] 507 - RuleId(RuleId), [INFO] [stdout] 507 + RuleId(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/compile.rs:508:15 [INFO] [stdout] | [INFO] [stdout] 508 | Reference(Reference), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuleIdOrReference` has derived impls for the traits `Clone` and `Debug`, but these are 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] 508 - Reference(Reference), [INFO] [stdout] 508 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `injections`, `injection_selector`, and `inject_to` are never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct SyntaxDefinition { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) injections: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub(crate) injection_selector: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) inject_to: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxDefinition` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) struct RegExpString(pub(crate) String); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RegExpString` 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: field `0` is never read [INFO] [stdout] --> src/syntax_compiler/parse.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct PartialRegExpString(pub(crate) String); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PartialRegExpString` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "2441b6f70c8c9583748a081a5f4919d72c621acb210d8d6c491eb34d7a399d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2441b6f70c8c9583748a081a5f4919d72c621acb210d8d6c491eb34d7a399d2d", kill_on_drop: false }` [INFO] [stdout] 2441b6f70c8c9583748a081a5f4919d72c621acb210d8d6c491eb34d7a399d2d