[INFO] cloning repository https://github.com/CarpeQueso/craindown [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarpeQueso/craindown" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarpeQueso%2Fcraindown", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarpeQueso%2Fcraindown'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb988a85672b73bacc99c62dda41d737a423b81c [INFO] testing CarpeQueso/craindown against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarpeQueso%2Fcraindown" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarpeQueso/craindown on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CarpeQueso/craindown [INFO] finished tweaking git repo https://github.com/CarpeQueso/craindown [INFO] tweaked toml for git repo https://github.com/CarpeQueso/craindown written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/CarpeQueso/craindown already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac555ae11b0a904995da279d69dcfad0e098fb92a59208376d7769f57c832999 [INFO] running `Command { std: "docker" "start" "-a" "ac555ae11b0a904995da279d69dcfad0e098fb92a59208376d7769f57c832999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac555ae11b0a904995da279d69dcfad0e098fb92a59208376d7769f57c832999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac555ae11b0a904995da279d69dcfad0e098fb92a59208376d7769f57c832999", kill_on_drop: false }` [INFO] [stdout] ac555ae11b0a904995da279d69dcfad0e098fb92a59208376d7769f57c832999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d094a7bd835b37d2072aafe74e2460421475d15e2eaee3a0a73f7816c62855 [INFO] running `Command { std: "docker" "start" "-a" "07d094a7bd835b37d2072aafe74e2460421475d15e2eaee3a0a73f7816c62855", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling craindown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::FilePosition` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::FilePosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formatted_text_type` [INFO] [stdout] --> src/parse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{formatted_text_type, parse_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::FilePosition` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::FilePosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formatted_text_type` [INFO] [stdout] --> src/parse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{formatted_text_type, parse_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(blocks: &[BlockElement]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/craindown.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Metadata(Metadata), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SectionHeading` [INFO] [stdout] --> src/craindown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SectionHeading(SectionHeading), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextBlock` [INFO] [stdout] --> src/craindown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | TextBlock(TextBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MathBlock` [INFO] [stdout] --> src/craindown.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MathBlock(MathBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExportBlock` [INFO] [stdout] --> src/craindown.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ExportBlock(ExportBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeBlock` [INFO] [stdout] --> src/craindown.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | CodeBlock(CodeBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiteralBlock` [INFO] [stdout] --> src/craindown.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LiteralBlock(LiteralBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlock` [INFO] [stdout] --> src/craindown.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | QuoteBlock(QuoteBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(level: usize, contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/craindown.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Text(Text), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Link` [INFO] [stdout] --> src/craindown.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Link(Link), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(text_type: TextType, text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Math` [INFO] [stdout] --> src/craindown.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Math, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Code` [INFO] [stdout] --> src/craindown.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Code, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/craindown.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Literal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Formatted` [INFO] [stdout] --> src/craindown.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Formatted(HashSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plain` [INFO] [stdout] --> src/craindown.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Plain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bold` [INFO] [stdout] --> src/craindown.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Bold, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Italic` [INFO] [stdout] --> src/craindown.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Underline` [INFO] [stdout] --> src/craindown.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | Underline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Strikethrough` [INFO] [stdout] --> src/craindown.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Strikethrough, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new(contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(description: Option<&str>, uri: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/error.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEOF` [INFO] [stdout] --> src/error.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnclosedFormatSpecifier` [INFO] [stdout] --> src/error.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | UnclosedFormatSpecifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEndOfTokenStream` [INFO] [stdout] --> src/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | UnexpectedEndOfTokenStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> src/lex.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tokenize(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(token_type: TokenType, lexeme: &str, position: &FilePosition) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MetadataIndicator` [INFO] [stdout] --> src/lex.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | MetadataIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MetadataSeparator` [INFO] [stdout] --> src/lex.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | MetadataSeparator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SectionHeadingIndicator` [INFO] [stdout] --> src/lex.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | SectionHeadingIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MathBlockDelim` [INFO] [stdout] --> src/lex.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | MathBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExportBlockDelim` [INFO] [stdout] --> src/lex.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ExportBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeBlockDelim` [INFO] [stdout] --> src/lex.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | CodeBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiteralBlockDelim` [INFO] [stdout] --> src/lex.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | LiteralBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlockIndicator` [INFO] [stdout] --> src/lex.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | QuoteBlockIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineMathDelim` [INFO] [stdout] --> src/lex.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | InlineMathDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineCodeDelim` [INFO] [stdout] --> src/lex.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | InlineCodeDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineLiteralDelim` [INFO] [stdout] --> src/lex.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | InlineLiteralDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoldDelim` [INFO] [stdout] --> src/lex.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | BoldDelim, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ItalicDelim` [INFO] [stdout] --> src/lex.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | ItalicDelim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnderlineDelim` [INFO] [stdout] --> src/lex.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | UnderlineDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StrikethroughDelim` [INFO] [stdout] --> src/lex.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | StrikethroughDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkOpen` [INFO] [stdout] --> src/lex.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | LinkOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkClose` [INFO] [stdout] --> src/lex.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | LinkClose, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkIntermediate` [INFO] [stdout] --> src/lex.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | LinkIntermediate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/lex.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralLineBreak` [INFO] [stdout] --> src/lex.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | StructuralLineBreak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralSpace` [INFO] [stdout] --> src/lex.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | StructuralSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralTab` [INFO] [stdout] --> src/lex.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | StructuralTab, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/lex.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MatchHandler` [INFO] [stdout] --> src/lex.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct MatchHandler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(str_to_match: &str, token_type: TokenType, handler_fn: fn(&mut Scanner)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn new(data: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_maybe_process` [INFO] [stdout] --> src/lex.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn match_and_maybe_process( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/lex.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn advance(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_to_end` [INFO] [stdout] --> src/lex.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn len_to_end(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lex.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn peek(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match` [INFO] [stdout] --> src/lex.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn peek_match(&mut self, str_to_match: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_token` [INFO] [stdout] --> src/lex.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn push_token(&mut self, token_type: TokenType, lexeme: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_text_token` [INFO] [stdout] --> src/lex.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn push_text_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_text_start_position` [INFO] [stdout] --> src/lex.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn set_text_start_position(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_next` [INFO] [stdout] --> src/lex.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn has_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_past_inline_whitespace` [INFO] [stdout] --> src/lex.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn advance_past_inline_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collect_until` [INFO] [stdout] --> src/lex.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn collect_until(&mut self, patterns: &[&str]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_push_subset` [INFO] [stdout] --> src/lex.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn match_and_push_subset(&mut self, patterns_and_tokens: &[(&str, TokenType)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> src/lex.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn scan_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_match_handlers` [INFO] [stdout] --> src/lex.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn check_match_handlers(&mut self, handlers: &[MatchHandler]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata` [INFO] [stdout] --> src/lex.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn metadata(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `section_heading` [INFO] [stdout] --> src/lex.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | fn section_heading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_block` [INFO] [stdout] --> src/lex.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn handle_verbatim_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block` [INFO] [stdout] --> src/lex.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | fn math_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block` [INFO] [stdout] --> src/lex.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | fn export_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block` [INFO] [stdout] --> src/lex.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | fn code_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block` [INFO] [stdout] --> src/lex.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn literal_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block` [INFO] [stdout] --> src/lex.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn quote_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preceding_whitespace` [INFO] [stdout] --> src/lex.rs:561:8 [INFO] [stdout] | [INFO] [stdout] 561 | fn preceding_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_inline` [INFO] [stdout] --> src/lex.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn handle_verbatim_inline(&mut self, delim_token_type: TokenType, delim_pattern: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math` [INFO] [stdout] --> src/lex.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | fn inline_math(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code` [INFO] [stdout] --> src/lex.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | fn inline_code(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal` [INFO] [stdout] --> src/lex.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | fn inline_literal(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link` [INFO] [stdout] --> src/lex.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 602 | fn link(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `no_op` [INFO] [stdout] --> src/lex.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | fn no_op(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/parse.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse(tokens: &[Token]) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parse.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub type ParseResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parse.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parse.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parse.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn next(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/parse.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn prev(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewind` [INFO] [stdout] --> src/parse.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn rewind(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parse.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn peek(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match` [INFO] [stdout] --> src/parse.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn peek_match(&mut self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match_any` [INFO] [stdout] --> src/parse.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn peek_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_match_any` [INFO] [stdout] --> src/parse.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn advance_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> src/parse.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_at_end(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_past` [INFO] [stdout] --> src/parse.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn advance_past(&mut self, types_to_match: &[TokenType]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_until` [INFO] [stdout] --> src/parse.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn advance_until(&mut self, types_to_match: &[TokenType]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `synchronize` [INFO] [stdout] --> src/parse.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parse.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(&mut self) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/parse.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata` [INFO] [stdout] --> src/parse.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn metadata(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `section_heading` [INFO] [stdout] --> src/parse.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn section_heading(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block` [INFO] [stdout] --> src/parse.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn math_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block` [INFO] [stdout] --> src/parse.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn export_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block` [INFO] [stdout] --> src/parse.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | fn code_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block` [INFO] [stdout] --> src/parse.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn literal_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block` [INFO] [stdout] --> src/parse.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | fn quote_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_block` [INFO] [stdout] --> src/parse.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn text_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `formatted_text` [INFO] [stdout] --> src/parse.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | fn formatted_text(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math` [INFO] [stdout] --> src/parse.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn inline_math(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code` [INFO] [stdout] --> src/parse.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | fn inline_code(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal` [INFO] [stdout] --> src/parse.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | fn inline_literal(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link` [INFO] [stdout] --> src/parse.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn link(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_end` [INFO] [stdout] --> src/parse.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn block_end(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plain_text` [INFO] [stdout] --> src/parse.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 479 | fn plain_text(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generic_delim` [INFO] [stdout] --> src/parse.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | fn generic_delim(&mut self, type_to_match: TokenType, descriptor: &str) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata_separator` [INFO] [stdout] --> src/parse.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn metadata_separator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_break` [INFO] [stdout] --> src/parse.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 514 | fn line_break(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block_delim` [INFO] [stdout] --> src/parse.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | fn math_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block_delim` [INFO] [stdout] --> src/parse.rs:522:8 [INFO] [stdout] | [INFO] [stdout] 522 | fn export_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block_delim` [INFO] [stdout] --> src/parse.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | fn code_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block_delim` [INFO] [stdout] --> src/parse.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | fn literal_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math_delim` [INFO] [stdout] --> src/parse.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | fn inline_math_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code_delim` [INFO] [stdout] --> src/parse.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | fn inline_code_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal_delim` [INFO] [stdout] --> src/parse.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | fn inline_literal_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_close` [INFO] [stdout] --> src/parse.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn link_close(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METADATA_INDICATOR` [INFO] [stdout] --> src/symbols.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const METADATA_INDICATOR: &'static str = "&&"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECTION_HEADING_INDICATOR` [INFO] [stdout] --> src/symbols.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SECTION_HEADING_INDICATOR: &'static str = "#"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATH_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MATH_BLOCK_DELIM: &'static str = "$$$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPORT_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const EXPORT_BLOCK_DELIM: &'static str = "==="; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CODE_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CODE_BLOCK_DELIM: &'static str = "```"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LITERAL_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LITERAL_BLOCK_DELIM: &'static str = "%%%"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUOTE_BLOCK_INDICATOR` [INFO] [stdout] --> src/symbols.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QUOTE_BLOCK_INDICATOR: &'static str = ">"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METADATA_SEPARATOR` [INFO] [stdout] --> src/symbols.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const METADATA_SEPARATOR: &'static str = ":"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_MATH_DELIM` [INFO] [stdout] --> src/symbols.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const INLINE_MATH_DELIM: &'static str = "$$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_CODE_DELIM` [INFO] [stdout] --> src/symbols.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const INLINE_CODE_DELIM: &'static str = "``"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_LITERAL_DELIM` [INFO] [stdout] --> src/symbols.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const INLINE_LITERAL_DELIM: &'static str = "%%"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOLD_DELIM` [INFO] [stdout] --> src/symbols.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BOLD_DELIM: &'static str = "**"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITALIC_DELIM` [INFO] [stdout] --> src/symbols.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const ITALIC_DELIM: &'static str = "//"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNDERLINE_DELIM` [INFO] [stdout] --> src/symbols.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const UNDERLINE_DELIM: &'static str = "__"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRIKETHROUGH_DELIM` [INFO] [stdout] --> src/symbols.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STRIKETHROUGH_DELIM: &'static str = "~~"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_OPEN` [INFO] [stdout] --> src/symbols.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LINK_OPEN: &'static str = "[["; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_CLOSE` [INFO] [stdout] --> src/symbols.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LINK_CLOSE: &'static str = "]]"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_INTERMEDIATE` [INFO] [stdout] --> src/symbols.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const LINK_INTERMEDIATE: &'static str = "]["; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPACE` [INFO] [stdout] --> src/symbols.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SPACE: &'static str = " "; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TAB` [INFO] [stdout] --> src/symbols.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const TAB: &'static str = "\t"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOWS_LINE_BREAK` [INFO] [stdout] --> src/symbols.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const WINDOWS_LINE_BREAK: &'static str = "\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINE_BREAK` [INFO] [stdout] --> src/symbols.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const LINE_BREAK: &'static str = "\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINE_BREAK_PATTERNS` [INFO] [stdout] --> src/symbols.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const LINE_BREAK_PATTERNS: [&'static str; 2] = [WINDOWS_LINE_BREAK, LINE_BREAK]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(line: usize, position_in_line: usize, absolute_position: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 166 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "07d094a7bd835b37d2072aafe74e2460421475d15e2eaee3a0a73f7816c62855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d094a7bd835b37d2072aafe74e2460421475d15e2eaee3a0a73f7816c62855", kill_on_drop: false }` [INFO] [stdout] 07d094a7bd835b37d2072aafe74e2460421475d15e2eaee3a0a73f7816c62855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b20e7f3730743839ebb33ab34c8591351eb35bcc962bafb6527750b3521853 [INFO] running `Command { std: "docker" "start" "-a" "21b20e7f3730743839ebb33ab34c8591351eb35bcc962bafb6527750b3521853", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `crate::util::FilePosition` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::FilePosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formatted_text_type` [INFO] [stdout] --> src/parse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{formatted_text_type, parse_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling craindown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::FilePosition` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::FilePosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formatted_text_type` [INFO] [stdout] --> src/parse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{formatted_text_type, parse_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(blocks: &[BlockElement]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/craindown.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Metadata(Metadata), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SectionHeading` [INFO] [stdout] --> src/craindown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SectionHeading(SectionHeading), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextBlock` [INFO] [stdout] --> src/craindown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | TextBlock(TextBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MathBlock` [INFO] [stdout] --> src/craindown.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MathBlock(MathBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExportBlock` [INFO] [stdout] --> src/craindown.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ExportBlock(ExportBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeBlock` [INFO] [stdout] --> src/craindown.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | CodeBlock(CodeBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiteralBlock` [INFO] [stdout] --> src/craindown.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LiteralBlock(LiteralBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlock` [INFO] [stdout] --> src/craindown.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | QuoteBlock(QuoteBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(level: usize, contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/craindown.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Text(Text), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Link` [INFO] [stdout] --> src/craindown.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Link(Link), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(text_type: TextType, text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Math` [INFO] [stdout] --> src/craindown.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Math, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Code` [INFO] [stdout] --> src/craindown.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Code, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/craindown.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Literal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Formatted` [INFO] [stdout] --> src/craindown.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Formatted(HashSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plain` [INFO] [stdout] --> src/craindown.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Plain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bold` [INFO] [stdout] --> src/craindown.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Bold, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Italic` [INFO] [stdout] --> src/craindown.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Underline` [INFO] [stdout] --> src/craindown.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | Underline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Strikethrough` [INFO] [stdout] --> src/craindown.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Strikethrough, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new(contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(description: Option<&str>, uri: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/error.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEOF` [INFO] [stdout] --> src/error.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnclosedFormatSpecifier` [INFO] [stdout] --> src/error.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | UnclosedFormatSpecifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEndOfTokenStream` [INFO] [stdout] --> src/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | UnexpectedEndOfTokenStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> src/lex.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tokenize(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(token_type: TokenType, lexeme: &str, position: &FilePosition) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MetadataIndicator` [INFO] [stdout] --> src/lex.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | MetadataIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MetadataSeparator` [INFO] [stdout] --> src/lex.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | MetadataSeparator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SectionHeadingIndicator` [INFO] [stdout] --> src/lex.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | SectionHeadingIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MathBlockDelim` [INFO] [stdout] --> src/lex.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | MathBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExportBlockDelim` [INFO] [stdout] --> src/lex.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ExportBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeBlockDelim` [INFO] [stdout] --> src/lex.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | CodeBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiteralBlockDelim` [INFO] [stdout] --> src/lex.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | LiteralBlockDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlockIndicator` [INFO] [stdout] --> src/lex.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | QuoteBlockIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineMathDelim` [INFO] [stdout] --> src/lex.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | InlineMathDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineCodeDelim` [INFO] [stdout] --> src/lex.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | InlineCodeDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InlineLiteralDelim` [INFO] [stdout] --> src/lex.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | InlineLiteralDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoldDelim` [INFO] [stdout] --> src/lex.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | BoldDelim, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ItalicDelim` [INFO] [stdout] --> src/lex.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | ItalicDelim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnderlineDelim` [INFO] [stdout] --> src/lex.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | UnderlineDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StrikethroughDelim` [INFO] [stdout] --> src/lex.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | StrikethroughDelim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkOpen` [INFO] [stdout] --> src/lex.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | LinkOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkClose` [INFO] [stdout] --> src/lex.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | LinkClose, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkIntermediate` [INFO] [stdout] --> src/lex.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | LinkIntermediate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/lex.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralLineBreak` [INFO] [stdout] --> src/lex.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | StructuralLineBreak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralSpace` [INFO] [stdout] --> src/lex.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | StructuralSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralTab` [INFO] [stdout] --> src/lex.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | StructuralTab, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/lex.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MatchHandler` [INFO] [stdout] --> src/lex.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct MatchHandler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(str_to_match: &str, token_type: TokenType, handler_fn: fn(&mut Scanner)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn new(data: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_maybe_process` [INFO] [stdout] --> src/lex.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn match_and_maybe_process( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/lex.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn advance(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_to_end` [INFO] [stdout] --> src/lex.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn len_to_end(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lex.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn peek(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match` [INFO] [stdout] --> src/lex.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn peek_match(&mut self, str_to_match: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_token` [INFO] [stdout] --> src/lex.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn push_token(&mut self, token_type: TokenType, lexeme: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_text_token` [INFO] [stdout] --> src/lex.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn push_text_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_text_start_position` [INFO] [stdout] --> src/lex.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn set_text_start_position(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_next` [INFO] [stdout] --> src/lex.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn has_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_past_inline_whitespace` [INFO] [stdout] --> src/lex.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn advance_past_inline_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collect_until` [INFO] [stdout] --> src/lex.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn collect_until(&mut self, patterns: &[&str]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_push_subset` [INFO] [stdout] --> src/lex.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn match_and_push_subset(&mut self, patterns_and_tokens: &[(&str, TokenType)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> src/lex.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn scan_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_match_handlers` [INFO] [stdout] --> src/lex.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn check_match_handlers(&mut self, handlers: &[MatchHandler]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata` [INFO] [stdout] --> src/lex.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn metadata(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `section_heading` [INFO] [stdout] --> src/lex.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | fn section_heading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_block` [INFO] [stdout] --> src/lex.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn handle_verbatim_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block` [INFO] [stdout] --> src/lex.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | fn math_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block` [INFO] [stdout] --> src/lex.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | fn export_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block` [INFO] [stdout] --> src/lex.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | fn code_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block` [INFO] [stdout] --> src/lex.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn literal_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block` [INFO] [stdout] --> src/lex.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn quote_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preceding_whitespace` [INFO] [stdout] --> src/lex.rs:561:8 [INFO] [stdout] | [INFO] [stdout] 561 | fn preceding_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_inline` [INFO] [stdout] --> src/lex.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn handle_verbatim_inline(&mut self, delim_token_type: TokenType, delim_pattern: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math` [INFO] [stdout] --> src/lex.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | fn inline_math(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code` [INFO] [stdout] --> src/lex.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | fn inline_code(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal` [INFO] [stdout] --> src/lex.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | fn inline_literal(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link` [INFO] [stdout] --> src/lex.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 602 | fn link(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `no_op` [INFO] [stdout] --> src/lex.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | fn no_op(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/parse.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse(tokens: &[Token]) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parse.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub type ParseResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parse.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parse.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parse.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn next(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/parse.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn prev(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewind` [INFO] [stdout] --> src/parse.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn rewind(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parse.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn peek(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match` [INFO] [stdout] --> src/parse.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn peek_match(&mut self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match_any` [INFO] [stdout] --> src/parse.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn peek_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_match_any` [INFO] [stdout] --> src/parse.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn advance_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> src/parse.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_at_end(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_past` [INFO] [stdout] --> src/parse.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn advance_past(&mut self, types_to_match: &[TokenType]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_until` [INFO] [stdout] --> src/parse.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn advance_until(&mut self, types_to_match: &[TokenType]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `synchronize` [INFO] [stdout] --> src/parse.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parse.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(&mut self) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/parse.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata` [INFO] [stdout] --> src/parse.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn metadata(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `section_heading` [INFO] [stdout] --> src/parse.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn section_heading(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block` [INFO] [stdout] --> src/parse.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn math_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block` [INFO] [stdout] --> src/parse.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn export_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block` [INFO] [stdout] --> src/parse.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | fn code_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block` [INFO] [stdout] --> src/parse.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn literal_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block` [INFO] [stdout] --> src/parse.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | fn quote_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_block` [INFO] [stdout] --> src/parse.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn text_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `formatted_text` [INFO] [stdout] --> src/parse.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | fn formatted_text(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math` [INFO] [stdout] --> src/parse.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn inline_math(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code` [INFO] [stdout] --> src/parse.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | fn inline_code(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal` [INFO] [stdout] --> src/parse.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | fn inline_literal(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link` [INFO] [stdout] --> src/parse.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn link(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_end` [INFO] [stdout] --> src/parse.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn block_end(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plain_text` [INFO] [stdout] --> src/parse.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 479 | fn plain_text(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generic_delim` [INFO] [stdout] --> src/parse.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | fn generic_delim(&mut self, type_to_match: TokenType, descriptor: &str) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata_separator` [INFO] [stdout] --> src/parse.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn metadata_separator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_break` [INFO] [stdout] --> src/parse.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 514 | fn line_break(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block_delim` [INFO] [stdout] --> src/parse.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | fn math_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block_delim` [INFO] [stdout] --> src/parse.rs:522:8 [INFO] [stdout] | [INFO] [stdout] 522 | fn export_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block_delim` [INFO] [stdout] --> src/parse.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | fn code_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block_delim` [INFO] [stdout] --> src/parse.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | fn literal_block_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math_delim` [INFO] [stdout] --> src/parse.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | fn inline_math_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code_delim` [INFO] [stdout] --> src/parse.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | fn inline_code_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal_delim` [INFO] [stdout] --> src/parse.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | fn inline_literal_delim(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_close` [INFO] [stdout] --> src/parse.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn link_close(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METADATA_INDICATOR` [INFO] [stdout] --> src/symbols.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const METADATA_INDICATOR: &'static str = "&&"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECTION_HEADING_INDICATOR` [INFO] [stdout] --> src/symbols.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SECTION_HEADING_INDICATOR: &'static str = "#"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATH_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MATH_BLOCK_DELIM: &'static str = "$$$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPORT_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const EXPORT_BLOCK_DELIM: &'static str = "==="; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CODE_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CODE_BLOCK_DELIM: &'static str = "```"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LITERAL_BLOCK_DELIM` [INFO] [stdout] --> src/symbols.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LITERAL_BLOCK_DELIM: &'static str = "%%%"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUOTE_BLOCK_INDICATOR` [INFO] [stdout] --> src/symbols.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QUOTE_BLOCK_INDICATOR: &'static str = ">"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METADATA_SEPARATOR` [INFO] [stdout] --> src/symbols.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const METADATA_SEPARATOR: &'static str = ":"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_MATH_DELIM` [INFO] [stdout] --> src/symbols.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const INLINE_MATH_DELIM: &'static str = "$$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_CODE_DELIM` [INFO] [stdout] --> src/symbols.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const INLINE_CODE_DELIM: &'static str = "``"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_LITERAL_DELIM` [INFO] [stdout] --> src/symbols.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const INLINE_LITERAL_DELIM: &'static str = "%%"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOLD_DELIM` [INFO] [stdout] --> src/symbols.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BOLD_DELIM: &'static str = "**"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITALIC_DELIM` [INFO] [stdout] --> src/symbols.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const ITALIC_DELIM: &'static str = "//"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNDERLINE_DELIM` [INFO] [stdout] --> src/symbols.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const UNDERLINE_DELIM: &'static str = "__"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRIKETHROUGH_DELIM` [INFO] [stdout] --> src/symbols.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STRIKETHROUGH_DELIM: &'static str = "~~"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_OPEN` [INFO] [stdout] --> src/symbols.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LINK_OPEN: &'static str = "[["; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_CLOSE` [INFO] [stdout] --> src/symbols.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LINK_CLOSE: &'static str = "]]"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_INTERMEDIATE` [INFO] [stdout] --> src/symbols.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const LINK_INTERMEDIATE: &'static str = "]["; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPACE` [INFO] [stdout] --> src/symbols.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SPACE: &'static str = " "; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TAB` [INFO] [stdout] --> src/symbols.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const TAB: &'static str = "\t"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOWS_LINE_BREAK` [INFO] [stdout] --> src/symbols.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const WINDOWS_LINE_BREAK: &'static str = "\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINE_BREAK` [INFO] [stdout] --> src/symbols.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const LINE_BREAK: &'static str = "\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINE_BREAK_PATTERNS` [INFO] [stdout] --> src/symbols.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const LINE_BREAK_PATTERNS: [&'static str; 2] = [WINDOWS_LINE_BREAK, LINE_BREAK]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(line: usize, position_in_line: usize, absolute_position: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 166 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/craindown.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(blocks: &[BlockElement]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/craindown.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Metadata(Metadata), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SectionHeading` [INFO] [stdout] --> src/craindown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SectionHeading(SectionHeading), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TextBlock` [INFO] [stdout] --> src/craindown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | TextBlock(TextBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MathBlock` [INFO] [stdout] --> src/craindown.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MathBlock(MathBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExportBlock` [INFO] [stdout] --> src/craindown.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ExportBlock(ExportBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeBlock` [INFO] [stdout] --> src/craindown.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | CodeBlock(CodeBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiteralBlock` [INFO] [stdout] --> src/craindown.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LiteralBlock(LiteralBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlock` [INFO] [stdout] --> src/craindown.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | QuoteBlock(QuoteBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEOF` [INFO] [stdout] --> src/error.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEndOfTokenStream` [INFO] [stdout] --> src/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | UnexpectedEndOfTokenStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> src/lex.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tokenize(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MetadataIndicator` [INFO] [stdout] --> src/lex.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | MetadataIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuoteBlockIndicator` [INFO] [stdout] --> src/lex.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | QuoteBlockIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LinkOpen` [INFO] [stdout] --> src/lex.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | LinkOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralSpace` [INFO] [stdout] --> src/lex.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | StructuralSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StructuralTab` [INFO] [stdout] --> src/lex.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | StructuralTab, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lex.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MatchHandler` [INFO] [stdout] --> src/lex.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct MatchHandler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lex.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(str_to_match: &str, token_type: TokenType, handler_fn: fn(&mut Scanner)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_maybe_process` [INFO] [stdout] --> src/lex.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn match_and_maybe_process( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/lex.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn advance(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_to_end` [INFO] [stdout] --> src/lex.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn len_to_end(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lex.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn peek(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_match` [INFO] [stdout] --> src/lex.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn peek_match(&mut self, str_to_match: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_token` [INFO] [stdout] --> src/lex.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn push_token(&mut self, token_type: TokenType, lexeme: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_text_token` [INFO] [stdout] --> src/lex.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn push_text_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_text_start_position` [INFO] [stdout] --> src/lex.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn set_text_start_position(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_next` [INFO] [stdout] --> src/lex.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn has_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_past_inline_whitespace` [INFO] [stdout] --> src/lex.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn advance_past_inline_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collect_until` [INFO] [stdout] --> src/lex.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn collect_until(&mut self, patterns: &[&str]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_and_push_subset` [INFO] [stdout] --> src/lex.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn match_and_push_subset(&mut self, patterns_and_tokens: &[(&str, TokenType)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> src/lex.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn scan_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_match_handlers` [INFO] [stdout] --> src/lex.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn check_match_handlers(&mut self, handlers: &[MatchHandler]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata` [INFO] [stdout] --> src/lex.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn metadata(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `section_heading` [INFO] [stdout] --> src/lex.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | fn section_heading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_block` [INFO] [stdout] --> src/lex.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn handle_verbatim_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_block` [INFO] [stdout] --> src/lex.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | fn math_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `export_block` [INFO] [stdout] --> src/lex.rs:542:8 [INFO] [stdout] | [INFO] [stdout] 542 | fn export_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_block` [INFO] [stdout] --> src/lex.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | fn code_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `literal_block` [INFO] [stdout] --> src/lex.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn literal_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block` [INFO] [stdout] --> src/lex.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn quote_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preceding_whitespace` [INFO] [stdout] --> src/lex.rs:561:8 [INFO] [stdout] | [INFO] [stdout] 561 | fn preceding_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_verbatim_inline` [INFO] [stdout] --> src/lex.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn handle_verbatim_inline(&mut self, delim_token_type: TokenType, delim_pattern: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_math` [INFO] [stdout] --> src/lex.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | fn inline_math(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_code` [INFO] [stdout] --> src/lex.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | fn inline_code(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_literal` [INFO] [stdout] --> src/lex.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | fn inline_literal(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link` [INFO] [stdout] --> src/lex.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 602 | fn link(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `no_op` [INFO] [stdout] --> src/lex.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | fn no_op(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/parse.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse(tokens: &[Token]) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/parse.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `errors` [INFO] [stdout] --> src/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | errors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> src/parse.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_at_end(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_until` [INFO] [stdout] --> src/parse.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn advance_until(&mut self, types_to_match: &[TokenType]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `synchronize` [INFO] [stdout] --> src/parse.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parse.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(&mut self) -> Result)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/parse.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METADATA_INDICATOR` [INFO] [stdout] --> src/symbols.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const METADATA_INDICATOR: &'static str = "&&"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECTION_HEADING_INDICATOR` [INFO] [stdout] --> src/symbols.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SECTION_HEADING_INDICATOR: &'static str = "#"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUOTE_BLOCK_INDICATOR` [INFO] [stdout] --> src/symbols.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QUOTE_BLOCK_INDICATOR: &'static str = ">"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINK_OPEN` [INFO] [stdout] --> src/symbols.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LINK_OPEN: &'static str = "[["; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPACE` [INFO] [stdout] --> src/symbols.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SPACE: &'static str = " "; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TAB` [INFO] [stdout] --> src/symbols.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const TAB: &'static str = "\t"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOWS_LINE_BREAK` [INFO] [stdout] --> src/symbols.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const WINDOWS_LINE_BREAK: &'static str = "\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LINE_BREAK_PATTERNS` [INFO] [stdout] --> src/symbols.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const LINE_BREAK_PATTERNS: [&'static str; 2] = [WINDOWS_LINE_BREAK, LINE_BREAK]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocks` [INFO] [stdout] --> src/craindown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/craindown.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stdout] 11 | | TokenType::Text, [INFO] [stdout] 12 | | TokenType::InlineMathDelim, [INFO] [stdout] 13 | | TokenType::InlineCodeDelim, [INFO] [stdout] ... | [INFO] [stdout] 19 | | TokenType::LinkOpen, [INFO] [stdout] 20 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quote_block_indicator` [INFO] [stdout] --> src/parse.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_open` [INFO] [stdout] --> src/parse.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `link_intermediate` [INFO] [stdout] --> src/parse.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/craindown-9de7785980f832d2) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/craindown-dfde032d446d298b) [INFO] [stderr] Executable tests/lexer_tests.rs (/opt/rustwide/target/debug/deps/lexer_tests-c6243613ea322620) [INFO] running `Command { std: "docker" "inspect" "21b20e7f3730743839ebb33ab34c8591351eb35bcc962bafb6527750b3521853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b20e7f3730743839ebb33ab34c8591351eb35bcc962bafb6527750b3521853", kill_on_drop: false }` [INFO] [stdout] 21b20e7f3730743839ebb33ab34c8591351eb35bcc962bafb6527750b3521853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef4c63396ca9c916a62e36f1c445da32cc34a233af44f302de50a3db73352df9 [INFO] running `Command { std: "docker" "start" "-a" "ef4c63396ca9c916a62e36f1c445da32cc34a233af44f302de50a3db73352df9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::util::FilePosition` [INFO] [stderr] --> src/parse.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::util::FilePosition; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `formatted_text_type` [INFO] [stderr] --> src/parse.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{formatted_text_type, parse_error}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blocks` [INFO] [stderr] --> src/craindown.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | blocks: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Craindown` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INLINE_ELEMENT_TOKENS` [INFO] [stderr] --> src/parse.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / const INLINE_ELEMENT_TOKENS: [TokenType; 9] = [ [INFO] [stderr] 11 | | TokenType::Text, [INFO] [stderr] 12 | | TokenType::InlineMathDelim, [INFO] [stderr] 13 | | TokenType::InlineCodeDelim, [INFO] [stderr] ... | [INFO] [stderr] 19 | | TokenType::LinkOpen, [INFO] [stderr] 20 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `quote_block_indicator` [INFO] [stderr] --> src/parse.rs:534:8 [INFO] [stderr] | [INFO] [stderr] 534 | fn quote_block_indicator(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link_open` [INFO] [stderr] --> src/parse.rs:550:8 [INFO] [stderr] | [INFO] [stderr] 550 | fn link_open(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link_intermediate` [INFO] [stderr] --> src/parse.rs:558:8 [INFO] [stderr] | [INFO] [stderr] 558 | fn link_intermediate(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `craindown` (lib) generated 7 warnings [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(blocks: &[BlockElement]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Metadata` [INFO] [stderr] --> src/craindown.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Metadata(Metadata), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SectionHeading` [INFO] [stderr] --> src/craindown.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | SectionHeading(SectionHeading), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TextBlock` [INFO] [stderr] --> src/craindown.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | TextBlock(TextBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MathBlock` [INFO] [stderr] --> src/craindown.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | MathBlock(MathBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ExportBlock` [INFO] [stderr] --> src/craindown.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | ExportBlock(ExportBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CodeBlock` [INFO] [stderr] --> src/craindown.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | CodeBlock(CodeBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LiteralBlock` [INFO] [stderr] --> src/craindown.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | LiteralBlock(LiteralBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `QuoteBlock` [INFO] [stderr] --> src/craindown.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | QuoteBlock(QuoteBlock), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(key: &str, value: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn new(level: usize, contents: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn new(contents: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Text` [INFO] [stderr] --> src/craindown.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | Text(Text), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Link` [INFO] [stderr] --> src/craindown.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | Link(Link), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InlineElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn new(text_type: TextType, text: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Math` [INFO] [stderr] --> src/craindown.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | Math, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Code` [INFO] [stderr] --> src/craindown.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | Code, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Literal` [INFO] [stderr] --> src/craindown.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | Literal, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Formatted` [INFO] [stderr] --> src/craindown.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | Formatted(HashSet), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plain` [INFO] [stderr] --> src/craindown.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | Plain, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bold` [INFO] [stderr] --> src/craindown.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | Bold, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Italic` [INFO] [stderr] --> src/craindown.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | Italic, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Underline` [INFO] [stderr] --> src/craindown.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | Underline, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Strikethrough` [INFO] [stderr] --> src/craindown.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | Strikethrough, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FormatSpecifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/craindown.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:185:12 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn new(options: Option<&str>, contents: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:204:12 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn new(contents: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/craindown.rs:216:12 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn new(description: Option<&str>, uri: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/error.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnexpectedToken` [INFO] [stderr] --> src/error.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | UnexpectedToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnexpectedEOF` [INFO] [stderr] --> src/error.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | UnexpectedEOF, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnclosedFormatSpecifier` [INFO] [stderr] --> src/error.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | UnclosedFormatSpecifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnexpectedEndOfTokenStream` [INFO] [stderr] --> src/error.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | UnexpectedEndOfTokenStream, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `tokenize` [INFO] [stderr] --> src/lex.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn tokenize(s: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/lex.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new(token_type: TokenType, lexeme: &str, position: &FilePosition) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MetadataIndicator` [INFO] [stderr] --> src/lex.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | MetadataIndicator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MetadataSeparator` [INFO] [stderr] --> src/lex.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | MetadataSeparator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SectionHeadingIndicator` [INFO] [stderr] --> src/lex.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | SectionHeadingIndicator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MathBlockDelim` [INFO] [stderr] --> src/lex.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | MathBlockDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ExportBlockDelim` [INFO] [stderr] --> src/lex.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | ExportBlockDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CodeBlockDelim` [INFO] [stderr] --> src/lex.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | CodeBlockDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LiteralBlockDelim` [INFO] [stderr] --> src/lex.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | LiteralBlockDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `QuoteBlockIndicator` [INFO] [stderr] --> src/lex.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | QuoteBlockIndicator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InlineMathDelim` [INFO] [stderr] --> src/lex.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | InlineMathDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InlineCodeDelim` [INFO] [stderr] --> src/lex.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | InlineCodeDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InlineLiteralDelim` [INFO] [stderr] --> src/lex.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | InlineLiteralDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BoldDelim` [INFO] [stderr] --> src/lex.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | BoldDelim, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ItalicDelim` [INFO] [stderr] --> src/lex.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | ItalicDelim, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnderlineDelim` [INFO] [stderr] --> src/lex.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | UnderlineDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StrikethroughDelim` [INFO] [stderr] --> src/lex.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | StrikethroughDelim, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LinkOpen` [INFO] [stderr] --> src/lex.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | LinkOpen, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LinkClose` [INFO] [stderr] --> src/lex.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | LinkClose, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LinkIntermediate` [INFO] [stderr] --> src/lex.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | LinkIntermediate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Text` [INFO] [stderr] --> src/lex.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | Text, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StructuralLineBreak` [INFO] [stderr] --> src/lex.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | StructuralLineBreak, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StructuralSpace` [INFO] [stderr] --> src/lex.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | StructuralSpace, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StructuralTab` [INFO] [stderr] --> src/lex.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | StructuralTab, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EOF` [INFO] [stderr] --> src/lex.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | EOF, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MatchHandler` [INFO] [stderr] --> src/lex.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | struct MatchHandler { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/lex.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | fn new(str_to_match: &str, token_type: TokenType, handler_fn: fn(&mut Scanner)) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/lex.rs:141:8 [INFO] [stderr] | [INFO] [stderr] 141 | fn new(data: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `match_and_maybe_process` [INFO] [stderr] --> src/lex.rs:154:8 [INFO] [stderr] | [INFO] [stderr] 154 | fn match_and_maybe_process( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `advance` [INFO] [stderr] --> src/lex.rs:191:8 [INFO] [stderr] | [INFO] [stderr] 191 | fn advance(&mut self, n: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `len_to_end` [INFO] [stderr] --> src/lex.rs:200:8 [INFO] [stderr] | [INFO] [stderr] 200 | fn len_to_end(&mut self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek` [INFO] [stderr] --> src/lex.rs:206:8 [INFO] [stderr] | [INFO] [stderr] 206 | fn peek(&mut self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek_match` [INFO] [stderr] --> src/lex.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | fn peek_match(&mut self, str_to_match: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push_token` [INFO] [stderr] --> src/lex.rs:230:8 [INFO] [stderr] | [INFO] [stderr] 230 | fn push_token(&mut self, token_type: TokenType, lexeme: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push_text_token` [INFO] [stderr] --> src/lex.rs:235:8 [INFO] [stderr] | [INFO] [stderr] 235 | fn push_text_token(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_text_start_position` [INFO] [stderr] --> src/lex.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 245 | fn set_text_start_position(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_next` [INFO] [stderr] --> src/lex.rs:249:8 [INFO] [stderr] | [INFO] [stderr] 249 | fn has_next(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `advance_past_inline_whitespace` [INFO] [stderr] --> src/lex.rs:258:8 [INFO] [stderr] | [INFO] [stderr] 258 | fn advance_past_inline_whitespace(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `collect_until` [INFO] [stderr] --> src/lex.rs:268:8 [INFO] [stderr] | [INFO] [stderr] 268 | fn collect_until(&mut self, patterns: &[&str]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `match_and_push_subset` [INFO] [stderr] --> src/lex.rs:282:8 [INFO] [stderr] | [INFO] [stderr] 282 | fn match_and_push_subset(&mut self, patterns_and_tokens: &[(&str, TokenType)]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `scan_tokens` [INFO] [stderr] --> src/lex.rs:297:8 [INFO] [stderr] | [INFO] [stderr] 297 | fn scan_tokens(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_match_handlers` [INFO] [stderr] --> src/lex.rs:416:8 [INFO] [stderr] | [INFO] [stderr] 416 | fn check_match_handlers(&mut self, handlers: &[MatchHandler]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `metadata` [INFO] [stderr] --> src/lex.rs:430:8 [INFO] [stderr] | [INFO] [stderr] 430 | fn metadata(&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `section_heading` [INFO] [stderr] --> src/lex.rs:469:8 [INFO] [stderr] | [INFO] [stderr] 469 | fn section_heading(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `handle_verbatim_block` [INFO] [stderr] --> src/lex.rs:489:8 [INFO] [stderr] | [INFO] [stderr] 489 | fn handle_verbatim_block( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `math_block` [INFO] [stderr] --> src/lex.rs:538:8 [INFO] [stderr] | [INFO] [stderr] 538 | fn math_block(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `export_block` [INFO] [stderr] --> src/lex.rs:542:8 [INFO] [stderr] | [INFO] [stderr] 542 | fn export_block(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `code_block` [INFO] [stderr] --> src/lex.rs:546:8 [INFO] [stderr] | [INFO] [stderr] 546 | fn code_block(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `literal_block` [INFO] [stderr] --> src/lex.rs:550:8 [INFO] [stderr] | [INFO] [stderr] 550 | fn literal_block(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `quote_block` [INFO] [stderr] --> src/lex.rs:554:8 [INFO] [stderr] | [INFO] [stderr] 554 | fn quote_block(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `preceding_whitespace` [INFO] [stderr] --> src/lex.rs:561:8 [INFO] [stderr] | [INFO] [stderr] 561 | fn preceding_whitespace(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `handle_verbatim_inline` [INFO] [stderr] --> src/lex.rs:577:8 [INFO] [stderr] | [INFO] [stderr] 577 | fn handle_verbatim_inline(&mut self, delim_token_type: TokenType, delim_pattern: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_math` [INFO] [stderr] --> src/lex.rs:590:8 [INFO] [stderr] | [INFO] [stderr] 590 | fn inline_math(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_code` [INFO] [stderr] --> src/lex.rs:594:8 [INFO] [stderr] | [INFO] [stderr] 594 | fn inline_code(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_literal` [INFO] [stderr] --> src/lex.rs:598:8 [INFO] [stderr] | [INFO] [stderr] 598 | fn inline_literal(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link` [INFO] [stderr] --> src/lex.rs:602:8 [INFO] [stderr] | [INFO] [stderr] 602 | fn link(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `no_op` [INFO] [stderr] --> src/lex.rs:629:8 [INFO] [stderr] | [INFO] [stderr] 629 | fn no_op(&mut self) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse` [INFO] [stderr] --> src/parse.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn parse(tokens: &[Token]) -> Result)> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ParseResult` [INFO] [stderr] --> src/parse.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | pub type ParseResult = Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Parser` [INFO] [stderr] --> src/parse.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | struct Parser<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parse.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | fn new(tokens: &'a [Token]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> src/parse.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | fn next(&mut self) -> &Token { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prev` [INFO] [stderr] --> src/parse.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | fn prev(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rewind` [INFO] [stderr] --> src/parse.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn rewind(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek` [INFO] [stderr] --> src/parse.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn peek(&mut self) -> &Token { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek_match` [INFO] [stderr] --> src/parse.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | fn peek_match(&mut self, token_type: &TokenType) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek_match_any` [INFO] [stderr] --> src/parse.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 90 | fn peek_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `advance_match_any` [INFO] [stderr] --> src/parse.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | fn advance_match_any(&mut self, types_to_match: &[TokenType]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_at_end` [INFO] [stderr] --> src/parse.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | fn is_at_end(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `advance_past` [INFO] [stderr] --> src/parse.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | fn advance_past(&mut self, types_to_match: &[TokenType]) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `advance_until` [INFO] [stderr] --> src/parse.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | fn advance_until(&mut self, types_to_match: &[TokenType]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `synchronize` [INFO] [stderr] --> src/parse.rs:145:8 [INFO] [stderr] | [INFO] [stderr] 145 | fn synchronize(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse` [INFO] [stderr] --> src/parse.rs:152:8 [INFO] [stderr] | [INFO] [stderr] 152 | fn parse(&mut self) -> Result)> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `block` [INFO] [stderr] --> src/parse.rs:180:8 [INFO] [stderr] | [INFO] [stderr] 180 | fn block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `metadata` [INFO] [stderr] --> src/parse.rs:207:8 [INFO] [stderr] | [INFO] [stderr] 207 | fn metadata(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `section_heading` [INFO] [stderr] --> src/parse.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn section_heading(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `math_block` [INFO] [stderr] --> src/parse.rs:234:8 [INFO] [stderr] | [INFO] [stderr] 234 | fn math_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `export_block` [INFO] [stderr] --> src/parse.rs:255:8 [INFO] [stderr] | [INFO] [stderr] 255 | fn export_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `code_block` [INFO] [stderr] --> src/parse.rs:276:8 [INFO] [stderr] | [INFO] [stderr] 276 | fn code_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `literal_block` [INFO] [stderr] --> src/parse.rs:297:8 [INFO] [stderr] | [INFO] [stderr] 297 | fn literal_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `quote_block` [INFO] [stderr] --> src/parse.rs:318:8 [INFO] [stderr] | [INFO] [stderr] 318 | fn quote_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `text_block` [INFO] [stderr] --> src/parse.rs:326:8 [INFO] [stderr] | [INFO] [stderr] 326 | fn text_block(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `formatted_text` [INFO] [stderr] --> src/parse.rs:341:8 [INFO] [stderr] | [INFO] [stderr] 341 | fn formatted_text(&mut self) -> ParseResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_math` [INFO] [stderr] --> src/parse.rs:416:8 [INFO] [stderr] | [INFO] [stderr] 416 | fn inline_math(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_code` [INFO] [stderr] --> src/parse.rs:424:8 [INFO] [stderr] | [INFO] [stderr] 424 | fn inline_code(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_literal` [INFO] [stderr] --> src/parse.rs:432:8 [INFO] [stderr] | [INFO] [stderr] 432 | fn inline_literal(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link` [INFO] [stderr] --> src/parse.rs:440:8 [INFO] [stderr] | [INFO] [stderr] 440 | fn link(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `block_end` [INFO] [stderr] --> src/parse.rs:456:8 [INFO] [stderr] | [INFO] [stderr] 456 | fn block_end(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `plain_text` [INFO] [stderr] --> src/parse.rs:479:8 [INFO] [stderr] | [INFO] [stderr] 479 | fn plain_text(&mut self) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generic_delim` [INFO] [stderr] --> src/parse.rs:493:8 [INFO] [stderr] | [INFO] [stderr] 493 | fn generic_delim(&mut self, type_to_match: TokenType, descriptor: &str) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `metadata_separator` [INFO] [stderr] --> src/parse.rs:510:8 [INFO] [stderr] | [INFO] [stderr] 510 | fn metadata_separator(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `line_break` [INFO] [stderr] --> src/parse.rs:514:8 [INFO] [stderr] | [INFO] [stderr] 514 | fn line_break(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `math_block_delim` [INFO] [stderr] --> src/parse.rs:518:8 [INFO] [stderr] | [INFO] [stderr] 518 | fn math_block_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `export_block_delim` [INFO] [stderr] --> src/parse.rs:522:8 [INFO] [stderr] | [INFO] [stderr] 522 | fn export_block_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `code_block_delim` [INFO] [stderr] --> src/parse.rs:526:8 [INFO] [stderr] | [INFO] [stderr] 526 | fn code_block_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `literal_block_delim` [INFO] [stderr] --> src/parse.rs:530:8 [INFO] [stderr] | [INFO] [stderr] 530 | fn literal_block_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_math_delim` [INFO] [stderr] --> src/parse.rs:538:8 [INFO] [stderr] | [INFO] [stderr] 538 | fn inline_math_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_code_delim` [INFO] [stderr] --> src/parse.rs:542:8 [INFO] [stderr] | [INFO] [stderr] 542 | fn inline_code_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inline_literal_delim` [INFO] [stderr] --> src/parse.rs:546:8 [INFO] [stderr] | [INFO] [stderr] 546 | fn inline_literal_delim(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link_close` [INFO] [stderr] --> src/parse.rs:554:8 [INFO] [stderr] | [INFO] [stderr] 554 | fn link_close(&mut self) -> ParseResult<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `METADATA_INDICATOR` [INFO] [stderr] --> src/symbols.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const METADATA_INDICATOR: &'static str = "&&"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SECTION_HEADING_INDICATOR` [INFO] [stderr] --> src/symbols.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const SECTION_HEADING_INDICATOR: &'static str = "#"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATH_BLOCK_DELIM` [INFO] [stderr] --> src/symbols.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const MATH_BLOCK_DELIM: &'static str = "$$$"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EXPORT_BLOCK_DELIM` [INFO] [stderr] --> src/symbols.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const EXPORT_BLOCK_DELIM: &'static str = "==="; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CODE_BLOCK_DELIM` [INFO] [stderr] --> src/symbols.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const CODE_BLOCK_DELIM: &'static str = "```"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LITERAL_BLOCK_DELIM` [INFO] [stderr] --> src/symbols.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub const LITERAL_BLOCK_DELIM: &'static str = "%%%"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QUOTE_BLOCK_INDICATOR` [INFO] [stderr] --> src/symbols.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const QUOTE_BLOCK_INDICATOR: &'static str = ">"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `METADATA_SEPARATOR` [INFO] [stderr] --> src/symbols.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub const METADATA_SEPARATOR: &'static str = ":"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INLINE_MATH_DELIM` [INFO] [stderr] --> src/symbols.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub const INLINE_MATH_DELIM: &'static str = "$$"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INLINE_CODE_DELIM` [INFO] [stderr] --> src/symbols.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub const INLINE_CODE_DELIM: &'static str = "``"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INLINE_LITERAL_DELIM` [INFO] [stderr] --> src/symbols.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub const INLINE_LITERAL_DELIM: &'static str = "%%"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BOLD_DELIM` [INFO] [stderr] --> src/symbols.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub const BOLD_DELIM: &'static str = "**"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ITALIC_DELIM` [INFO] [stderr] --> src/symbols.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub const ITALIC_DELIM: &'static str = "//"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `UNDERLINE_DELIM` [INFO] [stderr] --> src/symbols.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub const UNDERLINE_DELIM: &'static str = "__"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `STRIKETHROUGH_DELIM` [INFO] [stderr] --> src/symbols.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | pub const STRIKETHROUGH_DELIM: &'static str = "~~"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LINK_OPEN` [INFO] [stderr] --> src/symbols.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | pub const LINK_OPEN: &'static str = "[["; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LINK_CLOSE` [INFO] [stderr] --> src/symbols.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pub const LINK_CLOSE: &'static str = "]]"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LINK_INTERMEDIATE` [INFO] [stderr] --> src/symbols.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub const LINK_INTERMEDIATE: &'static str = "]["; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SPACE` [INFO] [stderr] --> src/symbols.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub const SPACE: &'static str = " "; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TAB` [INFO] [stderr] --> src/symbols.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub const TAB: &'static str = "\t"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WINDOWS_LINE_BREAK` [INFO] [stderr] --> src/symbols.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | pub const WINDOWS_LINE_BREAK: &'static str = "\r\n"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LINE_BREAK` [INFO] [stderr] --> src/symbols.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | pub const LINE_BREAK: &'static str = "\n"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LINE_BREAK_PATTERNS` [INFO] [stderr] --> src/symbols.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | pub const LINE_BREAK_PATTERNS: [&'static str; 2] = [WINDOWS_LINE_BREAK, LINE_BREAK]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/util.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(line: usize, position_in_line: usize, absolute_position: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `craindown` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `craindown` (bin "craindown") generated 166 warnings (7 duplicates) [INFO] [stderr] warning: field is never read: `blocks` [INFO] [stderr] --> src/parse.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | blocks: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `errors` [INFO] [stderr] --> src/parse.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | errors: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `craindown` (bin "craindown" test) generated 69 warnings (67 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/craindown-9de7785980f832d2) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test lex::tests::scanner_advances_line_position_when_a_newline_is_reached ... ok [INFO] [stdout] test lex::tests::scanner_advances_position_when_next_is_called ... ok [INFO] [stdout] test parse::tests::parses_code_block ... ok [INFO] [stdout] test parse::tests::parses_eof_block_end ... ok [INFO] [stdout] test parse::tests::parses_export_block ... ok [INFO] [stdout] test parse::tests::parses_line_break_block_end ... ok [INFO] [stdout] test parse::tests::parses_formatted_text ... ok [INFO] [stdout] test parse::tests::parses_link_with_description ... ok [INFO] [stdout] test parse::tests::parses_link_without_description ... ok [INFO] [stdout] test parse::tests::parses_literal_block ... ok [INFO] [stdout] test parse::tests::parses_math_block ... ok [INFO] [stdout] test parse::tests::parses_metadata ... ok [INFO] [stdout] test parse::tests::parses_plain_section_heading ... ok [INFO] [stdout] test parse::tests::parses_quote_block ... ok [INFO] [stdout] test parse::tests::parses_text_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/craindown-dfde032d446d298b) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test lex::tests::scanner_advances_line_position_when_a_newline_is_reached ... ok [INFO] [stdout] test lex::tests::scanner_advances_position_when_next_is_called ... ok [INFO] [stdout] test parse::tests::parses_code_block ... ok [INFO] [stdout] test parse::tests::parses_export_block ... ok [INFO] [stdout] test parse::tests::parses_eof_block_end ... ok [INFO] [stdout] test parse::tests::parses_line_break_block_end ... ok [INFO] [stdout] test parse::tests::parses_link_with_description ... ok [INFO] [stdout] test parse::tests::parses_formatted_text ... ok [INFO] [stdout] test parse::tests::parses_link_without_description ... ok [INFO] [stdout] test parse::tests::parses_literal_block ... ok [INFO] [stdout] test parse::tests::parses_math_block ... ok [INFO] [stdout] test parse::tests::parses_metadata ... ok [INFO] [stdout] test parse::tests::parses_plain_section_heading ... ok [INFO] [stdout] test parse::tests::parses_quote_block ... ok [INFO] [stdout] test parse::tests::parses_text_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lexer_tests.rs (/opt/rustwide/target/debug/deps/lexer_tests-c6243613ea322620) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test inline_code_bypasses_other_delims ... ok [INFO] [stdout] test inline_literal_bypasses_other_delims ... ok [INFO] [stdout] test inline_math_bypasses_other_delims ... ok [INFO] [stdout] test tokenizes_code_block ... ok [INFO] [stdout] test tokenizes_delims_in_section_heading ... ok [INFO] [stdout] test tokenizes_export_block ... ok [INFO] [stdout] test tokenizes_inline_code ... ok [INFO] [stdout] test tokenizes_inline_bold_delimiters ... ok [INFO] [stdout] test tokenizes_inline_italic_delimiters ... ok [INFO] [stdout] test tokenizes_inline_literal ... ok [INFO] [stdout] test tokenizes_inline_math ... ok [INFO] [stdout] test tokenizes_inline_strikethrough_delimiters ... ok [INFO] [stdout] test tokenizes_inline_underline_delimiters ... ok [INFO] [stdout] test tokenizes_link_without_description ... ok [INFO] [stdout] test tokenizes_link_with_description ... ok [INFO] [stdout] test tokenizes_literal_block ... ok [INFO] [stdout] test tokenizes_math_block ... ok [INFO] [stdout] test tokenizes_metadata ... ok [INFO] [stdout] test tokenizes_preceding_space ... ok [INFO] [stdout] test tokenizes_section_heading ... ok [INFO] [stdout] test tokenizes_quote_block ... ok [INFO] [stdout] test tokenizes_structural_space ... ok [INFO] [stdout] test tokenizes_structural_tab ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests craindown [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef4c63396ca9c916a62e36f1c445da32cc34a233af44f302de50a3db73352df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4c63396ca9c916a62e36f1c445da32cc34a233af44f302de50a3db73352df9", kill_on_drop: false }` [INFO] [stdout] ef4c63396ca9c916a62e36f1c445da32cc34a233af44f302de50a3db73352df9