[INFO] fetching crate yggdrasil-rt 0.1.3... [INFO] building yggdrasil-rt-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate yggdrasil-rt 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate yggdrasil-rt 0.1.3 [INFO] finished tweaking crates.io crate yggdrasil-rt 0.1.3 [INFO] tweaked toml for crates.io crate yggdrasil-rt 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yggdrasil-rt 0.1.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e479b10a7e0bf2b4c934c2370061125b772d5c1d9f9b6d190c479c9a5e01d7 [INFO] running `Command { std: "docker" "start" "-a" "c6e479b10a7e0bf2b4c934c2370061125b772d5c1d9f9b6d190c479c9a5e01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e479b10a7e0bf2b4c934c2370061125b772d5c1d9f9b6d190c479c9a5e01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e479b10a7e0bf2b4c934c2370061125b772d5c1d9f9b6d190c479c9a5e01d7", kill_on_drop: false }` [INFO] [stdout] c6e479b10a7e0bf2b4c934c2370061125b772d5c1d9f9b6d190c479c9a5e01d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f627db1ea4724ae57bd603cc5744ee9a1aab41e3e2bed351d4a48b18c8069a31 [INFO] running `Command { std: "docker" "start" "-a" "f627db1ea4724ae57bd603cc5744ee9a1aab41e3e2bed351d4a48b18c8069a31", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling daachorse v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling yggdrasil-rt v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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 parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_stream/mod.rs:22:75 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/tokens.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/input/adapt_vec.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView + 'i> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView<'i, impl Iterator + 'i> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair { [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] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [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] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [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] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.29s [INFO] running `Command { std: "docker" "inspect" "f627db1ea4724ae57bd603cc5744ee9a1aab41e3e2bed351d4a48b18c8069a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f627db1ea4724ae57bd603cc5744ee9a1aab41e3e2bed351d4a48b18c8069a31", kill_on_drop: false }` [INFO] [stdout] f627db1ea4724ae57bd603cc5744ee9a1aab41e3e2bed351d4a48b18c8069a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] def0e2593b33c0abd7ec5ad437f10bf474206b015718608f19afba351fd351bd [INFO] running `Command { std: "docker" "start" "-a" "def0e2593b33c0abd7ec5ad437f10bf474206b015718608f19afba351fd351bd", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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 parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_stream/mod.rs:22:75 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/tokens.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/input/adapt_vec.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView + 'i> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView<'i, impl Iterator + 'i> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair { [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] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [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] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [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] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yggdrasil-rt v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> tests/suffix.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/suffix.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` is never constructed [INFO] [stdout] --> tests/suffix.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Rule { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | a, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/suffix.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [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] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_pair/mod.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [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] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/tokens.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/language/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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 parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/token_stream/mod.rs:22:75 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/input/adapt_vec.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView + 'i> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView<'i, impl Iterator + 'i> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "def0e2593b33c0abd7ec5ad437f10bf474206b015718608f19afba351fd351bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def0e2593b33c0abd7ec5ad437f10bf474206b015718608f19afba351fd351bd", kill_on_drop: false }` [INFO] [stdout] def0e2593b33c0abd7ec5ad437f10bf474206b015718608f19afba351fd351bd