[INFO] fetching crate prettify-markdown 0.2.0... [INFO] testing prettify-markdown-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate prettify-markdown 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate prettify-markdown 0.2.0 [INFO] finished tweaking crates.io crate prettify-markdown 0.2.0 [INFO] tweaked toml for crates.io crate prettify-markdown 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prettify-markdown 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.13.2 (available: v0.41.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettify v0.3.0 [INFO] [stderr] Downloaded comrak v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2128e62b741842e73b9c53405ac206fc0d71b4f4377c9ec69bd17ae438f61f43 [INFO] running `Command { std: "docker" "start" "-a" "2128e62b741842e73b9c53405ac206fc0d71b4f4377c9ec69bd17ae438f61f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2128e62b741842e73b9c53405ac206fc0d71b4f4377c9ec69bd17ae438f61f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2128e62b741842e73b9c53405ac206fc0d71b4f4377c9ec69bd17ae438f61f43", kill_on_drop: false }` [INFO] [stdout] 2128e62b741842e73b9c53405ac206fc0d71b4f4377c9ec69bd17ae438f61f43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4db917bd2b0436440050f3d48b0612093e9eea2a6e9198034083996e0922fa1 [INFO] running `Command { std: "docker" "start" "-a" "c4db917bd2b0436440050f3d48b0612093e9eea2a6e9198034083996e0922fa1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quick-xml v0.38.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling prettify v0.3.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling comrak v0.13.2 [INFO] [stderr] Compiling prettify-markdown v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TAB_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TAB_CHAR: char = '\t'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TAB_STR: &str = "\t"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LINE_TABULATION_CHAR: char = '\x0B'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LINE_TABULATION_STR: &str = "\x0B"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const FORM_FEED_CHAR: char = '\x0C'; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const FORM_FEED_STR: &str = "\x0C"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_whitespace_char` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_whitespace_char(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_inline_whitespace` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_inline_whitespace(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn inline_whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn inline_whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/indented_code_block.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/atx_heading.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/blank_line.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/fenced_code_block.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/indented_code_block.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/paragraph.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/setext_heading.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/thematic_break.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.64s [INFO] running `Command { std: "docker" "inspect" "c4db917bd2b0436440050f3d48b0612093e9eea2a6e9198034083996e0922fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4db917bd2b0436440050f3d48b0612093e9eea2a6e9198034083996e0922fa1", kill_on_drop: false }` [INFO] [stdout] c4db917bd2b0436440050f3d48b0612093e9eea2a6e9198034083996e0922fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d30b7b1698bddd356668619d2126d63b955db78d3424a08c696e521c14fdd605 [INFO] running `Command { std: "docker" "start" "-a" "d30b7b1698bddd356668619d2126d63b955db78d3424a08c696e521c14fdd605", kill_on_drop: false }` [INFO] [stdout] warning: constant `TAB_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TAB_CHAR: char = '\t'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TAB_STR: &str = "\t"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LINE_TABULATION_CHAR: char = '\x0B'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LINE_TABULATION_STR: &str = "\x0B"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const FORM_FEED_CHAR: char = '\x0C'; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const FORM_FEED_STR: &str = "\x0C"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_whitespace_char` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_whitespace_char(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_inline_whitespace` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_inline_whitespace(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn inline_whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn inline_whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/indented_code_block.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/atx_heading.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/blank_line.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/fenced_code_block.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/indented_code_block.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/paragraph.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/setext_heading.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/thematic_break.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prettify-markdown v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TAB_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TAB_CHAR: char = '\t'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TAB_STR: &str = "\t"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LINE_TABULATION_CHAR: char = '\x0B'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TABULATION_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LINE_TABULATION_STR: &str = "\x0B"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_CHAR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const FORM_FEED_CHAR: char = '\x0C'; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORM_FEED_STR` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const FORM_FEED_STR: &str = "\x0C"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_whitespace_char` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_whitespace_char(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_inline_whitespace` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_inline_whitespace(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace0` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn inline_whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inline_whitespace1` is never used [INFO] [stdout] --> src/parse/preliminaries/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn inline_whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/heading.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/indented_code_block.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/atx_heading.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/blank_line.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/fenced_code_block.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/indented_code_block.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/paragraph.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/setext_heading.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/leaf_blocks/thematic_break.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "d30b7b1698bddd356668619d2126d63b955db78d3424a08c696e521c14fdd605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30b7b1698bddd356668619d2126d63b955db78d3424a08c696e521c14fdd605", kill_on_drop: false }` [INFO] [stdout] d30b7b1698bddd356668619d2126d63b955db78d3424a08c696e521c14fdd605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f91d216a9a2864a40be796d14184571733676680c2abc9e2d32dc4b31b054714 [INFO] running `Command { std: "docker" "start" "-a" "f91d216a9a2864a40be796d14184571733676680c2abc9e2d32dc4b31b054714", kill_on_drop: false }` [INFO] [stderr] warning: constant `TAB_CHAR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | pub const TAB_CHAR: char = '\t'; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `TAB_STR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub const TAB_STR: &str = "\t"; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LINE_TABULATION_CHAR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const LINE_TABULATION_CHAR: char = '\x0B'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LINE_TABULATION_STR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub const LINE_TABULATION_STR: &str = "\x0B"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FORM_FEED_CHAR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const FORM_FEED_CHAR: char = '\x0C'; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FORM_FEED_STR` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const FORM_FEED_STR: &str = "\x0C"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_whitespace_char` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn is_whitespace_char(char: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `whitespace0` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `whitespace1` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_inline_whitespace` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn is_inline_whitespace(char: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `inline_whitespace0` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn inline_whitespace0(input: &str) -> nom::IResult<&str, &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `inline_whitespace1` is never used [INFO] [stderr] --> src/parse/preliminaries/mod.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn inline_whitespace1(input: &str) -> nom::IResult<&str, &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/format/heading.rs:11:50 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/format/heading.rs:19:53 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/format/indented_code_block.rs:15:45 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/format/paragraph.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/atx_heading.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/blank_line.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/fenced_code_block.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/indented_code_block.rs:26:35 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/paragraph.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/setext_heading.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/leaf_blocks/thematic_break.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `prettify-markdown` (lib) generated 26 warnings (run `cargo fix --lib -p prettify-markdown` to apply 14 suggestions) [INFO] [stderr] warning: `prettify-markdown` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prettify_markdown-be55215878534cce) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test parse::leaf_blocks::atx_heading::tests::atx_heading_test ... ok [INFO] [stdout] test parse::leaf_blocks::fenced_code_block::test::fenced_code_block_fails ... ok [INFO] [stdout] test format::heading::tests::format_atx_heading_test ... ok [INFO] [stdout] test parse::leaf_blocks::fenced_code_block::test::fenced_code_block_test ... ok [INFO] [stdout] test parse::leaf_blocks::atx_heading::tests::atx_heading_failure_test ... ok [INFO] [stdout] test parse::leaf_blocks::blank_line::tests::blank_line_test ... ok [INFO] [stdout] test format::paragraph::tests::paragraph ... ok [INFO] [stdout] test parse::leaf_blocks::paragraph::tests::paragraph_test ... ok [INFO] [stdout] test parse::leaf_blocks::indented_code_block::test::indented_code_block_test ... ok [INFO] [stdout] test parse::leaf_blocks::setext_heading::tests::setext_heading_failure_test ... ok [INFO] [stdout] test parse::leaf_blocks::thematic_break::tests::thematic_break_failure_test ... ok [INFO] [stdout] test parse::leaf_blocks::setext_heading::tests::setext_heading_test ... ok [INFO] [stdout] test parse::preliminaries::test::line_ending_test ... ok [INFO] [stdout] test parse::leaf_blocks::thematic_break::tests::thematic_break_test ... ok [INFO] [stdout] test format::heading::tests::format_setext_heading_test ... ok [INFO] [stdout] test format::indented_code_block::tests::paragraph ... ok [INFO] [stdout] test format::fenced_code_block::tests::paragraph ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests prettify_markdown [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" "f91d216a9a2864a40be796d14184571733676680c2abc9e2d32dc4b31b054714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91d216a9a2864a40be796d14184571733676680c2abc9e2d32dc4b31b054714", kill_on_drop: false }` [INFO] [stdout] f91d216a9a2864a40be796d14184571733676680c2abc9e2d32dc4b31b054714