[INFO] cloning repository https://github.com/xlreon/latdoc-linter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xlreon/latdoc-linter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlreon%2Flatdoc-linter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlreon%2Flatdoc-linter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1c971498a95b46e30a795dc9ac2857a48f100b64
[INFO] checking xlreon/latdoc-linter against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlreon%2Flatdoc-linter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xlreon/latdoc-linter
[INFO] finished tweaking git repo https://github.com/xlreon/latdoc-linter
[INFO] tweaked toml for git repo https://github.com/xlreon/latdoc-linter written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xlreon/latdoc-linter on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xlreon/latdoc-linter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bdb7a44790745cc79e5e07362a54ca30b59af11657d64221f0480f3ec78ac32d
[INFO] running `Command { std: "docker" "start" "-a" "bdb7a44790745cc79e5e07362a54ca30b59af11657d64221f0480f3ec78ac32d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bdb7a44790745cc79e5e07362a54ca30b59af11657d64221f0480f3ec78ac32d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdb7a44790745cc79e5e07362a54ca30b59af11657d64221f0480f3ec78ac32d", kill_on_drop: false }`
[INFO] [stdout] bdb7a44790745cc79e5e07362a54ca30b59af11657d64221f0480f3ec78ac32d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62288f5dbcbd97ef8b9c738c52444333fe1189dde7dc22dbc063e968d75f8a88
[INFO] running `Command { std: "docker" "start" "-a" "62288f5dbcbd97ef8b9c738c52444333fe1189dde7dc22dbc063e968d75f8a88", kill_on_drop: false }`
[INFO] [stderr]     Checking latdoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/document/doc_ast.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Document {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub span: Option<Span>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/document/doc_ast.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Section {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub span: Option<Span>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` 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 `List` is never constructed
[INFO] [stdout]   --> src/document/doc_ast.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum ContentNode {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 35 |     List(DocList),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentNode` 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 `has_errors` is never used
[INFO] [stdout]   --> src/document/doc_checker.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl DocCheckResult {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 24 |     pub fn has_errors(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_chars` is never read
[INFO] [stdout]   --> src/document/md_linter.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct MdStats {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 39 |     pub total_lines: usize,
[INFO] [stdout] 40 |     pub total_chars: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `always_count`, `never_count`, `prefer_count`, and `section_scores` are never read
[INFO] [stdout]   --> src/document/rule_scorer.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ScoringResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout]  8 |     pub total_rules: usize,
[INFO] [stdout]  9 |     pub always_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub never_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 11 |     pub prefer_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 12 |     pub section_scores: Vec<SectionScore>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScoringResult` 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 `name`, `rule_count`, `has_code_examples`, `has_references`, and `score` are never read
[INFO] [stdout]   --> src/document/rule_scorer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct SectionScore {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 19 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 20 |     pub rule_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub has_code_examples: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub has_references: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     pub score: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionScore` 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 `Contradicts` is never constructed
[INFO] [stdout]   --> src/document/rule_scorer.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum RiskFactor {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     Contradicts,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RiskFactor` 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 `latdoc_source_chars`, `json_chars`, `markdown_chars`, and `toon_chars` are never read
[INFO] [stdout]  --> src/document/token_analyzer.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TokenAnalysis {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 4 |     pub latdoc_source_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     pub json_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 6 |     pub json_tokens: usize,
[INFO] [stdout] 7 |     pub markdown_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub markdown_tokens: usize,
[INFO] [stdout] 9 |     pub toon_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_report` is never used
[INFO] [stdout]   --> src/document/token_analyzer.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl TokenAnalysis {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 84 |     pub fn print_report(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/lexer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LexError {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 14 |     pub message: String,
[INFO] [stdout] 15 |     pub span: Span,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/document/doc_ast.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Document {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub span: Option<Span>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/document/doc_ast.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Section {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub span: Option<Span>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` 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 `List` is never constructed
[INFO] [stdout]   --> src/document/doc_ast.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum ContentNode {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 35 |     List(DocList),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentNode` 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 `has_errors` is never used
[INFO] [stdout]   --> src/document/doc_checker.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl DocCheckResult {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 24 |     pub fn has_errors(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_chars` is never read
[INFO] [stdout]   --> src/document/md_linter.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct MdStats {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 39 |     pub total_lines: usize,
[INFO] [stdout] 40 |     pub total_chars: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `always_count`, `never_count`, `prefer_count`, and `section_scores` are never read
[INFO] [stdout]   --> src/document/rule_scorer.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ScoringResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout]  8 |     pub total_rules: usize,
[INFO] [stdout]  9 |     pub always_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub never_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 11 |     pub prefer_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 12 |     pub section_scores: Vec<SectionScore>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScoringResult` 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 `name`, `rule_count`, `has_code_examples`, `has_references`, and `score` are never read
[INFO] [stdout]   --> src/document/rule_scorer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct SectionScore {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 19 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 20 |     pub rule_count: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub has_code_examples: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub has_references: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     pub score: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionScore` 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 `Contradicts` is never constructed
[INFO] [stdout]   --> src/document/rule_scorer.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum RiskFactor {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     Contradicts,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RiskFactor` 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 `latdoc_source_chars`, `json_chars`, `markdown_chars`, and `toon_chars` are never read
[INFO] [stdout]  --> src/document/token_analyzer.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TokenAnalysis {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 4 |     pub latdoc_source_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     pub json_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 6 |     pub json_tokens: usize,
[INFO] [stdout] 7 |     pub markdown_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub markdown_tokens: usize,
[INFO] [stdout] 9 |     pub toon_chars: usize,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_report` is never used
[INFO] [stdout]   --> src/document/token_analyzer.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl TokenAnalysis {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 84 |     pub fn print_report(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `span` is never read
[INFO] [stdout]   --> src/lexer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LexError {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 14 |     pub message: String,
[INFO] [stdout] 15 |     pub span: Span,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s
[INFO] running `Command { std: "docker" "inspect" "62288f5dbcbd97ef8b9c738c52444333fe1189dde7dc22dbc063e968d75f8a88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62288f5dbcbd97ef8b9c738c52444333fe1189dde7dc22dbc063e968d75f8a88", kill_on_drop: false }`
[INFO] [stdout] 62288f5dbcbd97ef8b9c738c52444333fe1189dde7dc22dbc063e968d75f8a88
