[INFO] fetching crate yggdrasil-rt 0.1.3... [INFO] checking yggdrasil-rt-0.1.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate yggdrasil-rt 0.1.3 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yggdrasil-rt 0.1.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded daachorse v1.0.0 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baa02d718096dfb41f07f05098f870693a6ce114b1c59afd25825a4232b2cb67 [INFO] running `Command { std: "docker" "start" "-a" "baa02d718096dfb41f07f05098f870693a6ce114b1c59afd25825a4232b2cb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa02d718096dfb41f07f05098f870693a6ce114b1c59afd25825a4232b2cb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa02d718096dfb41f07f05098f870693a6ce114b1c59afd25825a4232b2cb67", kill_on_drop: false }` [INFO] [stdout] baa02d718096dfb41f07f05098f870693a6ce114b1c59afd25825a4232b2cb67 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f0b1c576aa246e16c6e381a21db834f62caf867c96aa70841c54cf847abf02 [INFO] running `Command { std: "docker" "start" "-a" "17f0b1c576aa246e16c6e381a21db834f62caf867c96aa70841c54cf847abf02", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking daachorse v1.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking yggdrasil-rt v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 12 | fn parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/adapt_vec.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView + 'i> { [INFO] [stdout] | ^^ -------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'i` [INFO] [stdout] | | the lifetimes get resolved as `'i` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 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] 45 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize) -> TokenPair<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 230 | pub fn find_first_rule(&self, rule: R) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 240 | pub fn find_first_tag(&self, tag: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 22 | pub unsafe fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> TokenStream<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 24 | pub fn new(queue: Rc>>, input: &str, start: usize, end: usize) -> Tokens<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 8 | fn parse_lex(input: &str, rule: Self::Rule) -> Result, YggdrasilError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 12 | fn parse_cst(input: &str, rule: Self::Rule) -> Result, YggdrasilError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/adapt_vec.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build<'i>(&'i self) -> SequenceView + 'i> { [INFO] [stdout] | ^^ -------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'i` [INFO] [stdout] | | the lifetimes get resolved as `'i` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/suffix.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [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] 18 | fn repeat_a(input: &str) -> Either>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/suffix.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn repeat_a(input: &str) -> Either>> { [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] 18 | fn repeat_a(input: &str) -> Either>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.98s [INFO] running `Command { std: "docker" "inspect" "17f0b1c576aa246e16c6e381a21db834f62caf867c96aa70841c54cf847abf02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f0b1c576aa246e16c6e381a21db834f62caf867c96aa70841c54cf847abf02", kill_on_drop: false }` [INFO] [stdout] 17f0b1c576aa246e16c6e381a21db834f62caf867c96aa70841c54cf847abf02