> {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `quoted_string` is never used
[INFO] [stdout] --> src/main.rs:313:4
[INFO] [stdout] |
[INFO] [stdout] 313 | fn quoted_string<'a>() -> impl Parser<'a, String> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `attribute_pair` is never used
[INFO] [stdout] --> src/main.rs:331:4
[INFO] [stdout] |
[INFO] [stdout] 331 | fn attribute_pair<'a>() -> impl Parser<'a, (String, String)> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `attributes` is never used
[INFO] [stdout] --> src/main.rs:345:4
[INFO] [stdout] |
[INFO] [stdout] 345 | fn attributes<'a>() -> impl Parser<'a, Vec<(String, String)>> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `element_start` is never used
[INFO] [stdout] --> src/main.rs:362:4
[INFO] [stdout] |
[INFO] [stdout] 362 | fn element_start<'a>() -> impl Parser<'a, (String, Vec<(String, String)>)> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `single_element` is never used
[INFO] [stdout] --> src/main.rs:382:4
[INFO] [stdout] |
[INFO] [stdout] 382 | fn single_element<'a>() -> impl Parser<'a, Element> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `BoxedParser` is never constructed
[INFO] [stdout] --> src/main.rs:407:8
[INFO] [stdout] |
[INFO] [stdout] 407 | struct BoxedParser<'a, Output> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/main.rs:412:12
[INFO] [stdout] |
[INFO] [stdout] 411 | impl<'a, Output> BoxedParser<'a, Output> {
[INFO] [stdout] | ---------------------------------------- associated function in this implementation
[INFO] [stdout] 412 | pub fn new(parser: P) -> Self
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `open_element` is never used
[INFO] [stdout] --> src/main.rs:428:4
[INFO] [stdout] |
[INFO] [stdout] 428 | fn open_element<'a>() -> impl Parser<'a, Element> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `either` is never used
[INFO] [stdout] --> src/main.rs:454:4
[INFO] [stdout] |
[INFO] [stdout] 454 | fn either<'a, P1, P2, A>(parser1: P1, parser2: P2) -> impl Parser<'a, A>
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `element` is never used
[INFO] [stdout] --> src/main.rs:467:4
[INFO] [stdout] |
[INFO] [stdout] 467 | fn element<'a>() -> impl Parser<'a, Element> {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `close_element` is never used
[INFO] [stdout] --> src/main.rs:472:4
[INFO] [stdout] |
[INFO] [stdout] 472 | fn close_element<'a>(expected: String) -> impl Parser<'a, String> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parent_element` is never used
[INFO] [stdout] --> src/main.rs:480:4
[INFO] [stdout] |
[INFO] [stdout] 480 | fn parent_element<'a>() -> impl Parser<'a, Element> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `whitespace_wrap` is never used
[INFO] [stdout] --> src/main.rs:492:4
[INFO] [stdout] |
[INFO] [stdout] 492 | fn whitespace_wrap<'a, P, A>(parser: P) -> impl Parser<'a, A>
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/main.rs:273:20
[INFO] [stdout] |
[INFO] [stdout] 273 | fn any_char(input: &str) -> ParseResult {
[INFO] [stdout] | ^^^^ ----------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[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] 273 | fn any_char(input: &str) -> ParseResult<'_, char> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/main.rs:273:20
[INFO] [stdout] |
[INFO] [stdout] 273 | fn any_char(input: &str) -> ParseResult {
[INFO] [stdout] | ^^^^ ----------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[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] 273 | fn any_char(input: &str) -> ParseResult<'_, char> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "66f672934e63b01777cbf80659eab23bfed7ebabf924a0672ebae89acfb4ac79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66f672934e63b01777cbf80659eab23bfed7ebabf924a0672ebae89acfb4ac79", kill_on_drop: false }`
[INFO] [stdout] 66f672934e63b01777cbf80659eab23bfed7ebabf924a0672ebae89acfb4ac79