[INFO] fetching crate prettify-markdown 0.2.0... [INFO] testing prettify-markdown-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate prettify-markdown 0.2.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prettify-markdown 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.13.2 (available: v0.39.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 plist v1.7.2 [INFO] [stderr] Downloaded syntect v4.6.0 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53eaf0e0f00c6f0045d5aabf8d51f37a81f47a604d638f3ed5c7bbbb04e0da8b [INFO] running `Command { std: "docker" "start" "-a" "53eaf0e0f00c6f0045d5aabf8d51f37a81f47a604d638f3ed5c7bbbb04e0da8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53eaf0e0f00c6f0045d5aabf8d51f37a81f47a604d638f3ed5c7bbbb04e0da8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53eaf0e0f00c6f0045d5aabf8d51f37a81f47a604d638f3ed5c7bbbb04e0da8b", kill_on_drop: false }` [INFO] [stdout] 53eaf0e0f00c6f0045d5aabf8d51f37a81f47a604d638f3ed5c7bbbb04e0da8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f7376cc4ecb85193fef5995a9f15e6747de3a36c81c52880369f0cb545881c3f [INFO] running `Command { std: "docker" "start" "-a" "f7376cc4ecb85193fef5995a9f15e6747de3a36c81c52880369f0cb545881c3f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling prettify v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling plist v1.7.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling pest v2.8.1 [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 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ --------------------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.69s [INFO] running `Command { std: "docker" "inspect" "f7376cc4ecb85193fef5995a9f15e6747de3a36c81c52880369f0cb545881c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7376cc4ecb85193fef5995a9f15e6747de3a36c81c52880369f0cb545881c3f", kill_on_drop: false }` [INFO] [stdout] f7376cc4ecb85193fef5995a9f15e6747de3a36c81c52880369f0cb545881c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6dd49bfa8d26e72c184fa5d9808805c86eea147004b7bf2589f91b5e031526ee [INFO] running `Command { std: "docker" "start" "-a" "6dd49bfa8d26e72c184fa5d9808805c86eea147004b7bf2589f91b5e031526ee", 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ --------------------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prettify-markdown v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn thematic_break(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stdout] | ^^^^ --------------------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/format/paragraph.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stdout] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.89s [INFO] running `Command { std: "docker" "inspect" "6dd49bfa8d26e72c184fa5d9808805c86eea147004b7bf2589f91b5e031526ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd49bfa8d26e72c184fa5d9808805c86eea147004b7bf2589f91b5e031526ee", kill_on_drop: false }` [INFO] [stdout] 6dd49bfa8d26e72c184fa5d9808805c86eea147004b7bf2589f91b5e031526ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 355857ac73dc3082e41e289762cbf6beed41e0709d23a241340ac809d15b0d9b [INFO] running `Command { std: "docker" "start" "-a" "355857ac73dc3082e41e289762cbf6beed41e0709d23a241340ac809d15b0d9b", 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn format_markdown(markdown: &str) -> Result { [INFO] [stderr] | ^^^^ --------------------- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn format_markdown(markdown: &str) -> Result, &str> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 11 | pub fn format_atx_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn format_setext_heading(level: usize, content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn format_indented_code_block(code: Vec<&str>) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/format/paragraph.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc { [INFO] [stderr] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 3 | pub fn format_paragraph(content: &str) -> PrettifyDoc<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 12 | fn leaf_block_as_block(input: &str) -> nom::IResult<&str, Block<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn parse_markdown(markdown: &str) -> nom::IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn atx_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 5 | pub fn blank_line(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn fenced_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn indented_code_block(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn paragraph(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 23 | pub fn setext_heading(input: &str) -> nom::IResult<&str, LeafBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/prettify_markdown-449c35e4e2f3250a) [INFO] [stdout] [INFO] [stdout] running 17 tests [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 parse::leaf_blocks::fenced_code_block::test::fenced_code_block_fails ... ok [INFO] [stdout] test parse::leaf_blocks::paragraph::tests::paragraph_test ... ok [INFO] [stdout] test parse::leaf_blocks::thematic_break::tests::thematic_break_failure_test ... ok [INFO] [stdout] test parse::leaf_blocks::atx_heading::tests::atx_heading_test ... ok [INFO] [stdout] test parse::preliminaries::test::line_ending_test ... ok [INFO] [stdout] test parse::leaf_blocks::fenced_code_block::test::fenced_code_block_test ... ok [INFO] [stdout] test parse::leaf_blocks::indented_code_block::test::indented_code_block_test ... ok [INFO] [stdout] test parse::leaf_blocks::thematic_break::tests::thematic_break_test ... ok [INFO] [stdout] test parse::leaf_blocks::setext_heading::tests::setext_heading_failure_test ... ok [INFO] [stdout] test parse::leaf_blocks::setext_heading::tests::setext_heading_test ... ok [INFO] [stdout] test format::heading::tests::format_atx_heading_test ... ok [INFO] [stdout] test format::paragraph::tests::paragraph ... ok [INFO] [stdout] test format::heading::tests::format_setext_heading_test ... ok [INFO] [stdout] test format::fenced_code_block::tests::paragraph ... ok [INFO] [stdout] test format::indented_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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "355857ac73dc3082e41e289762cbf6beed41e0709d23a241340ac809d15b0d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355857ac73dc3082e41e289762cbf6beed41e0709d23a241340ac809d15b0d9b", kill_on_drop: false }` [INFO] [stdout] 355857ac73dc3082e41e289762cbf6beed41e0709d23a241340ac809d15b0d9b