[INFO] fetching crate grit-pattern-matcher 0.5.1... [INFO] checking grit-pattern-matcher-0.5.1 against try#4949cf2f817beadb9a248d423b6d55d6d2398ffe for pr-142681 [INFO] extracting crate grit-pattern-matcher 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate grit-pattern-matcher 0.5.1 [INFO] finished tweaking crates.io crate grit-pattern-matcher 0.5.1 [INFO] tweaked toml for crates.io crate grit-pattern-matcher 0.5.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grit-pattern-matcher 0.5.1 on toolchain 4949cf2f817beadb9a248d423b6d55d6d2398ffe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "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" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "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 39 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee4f661ab1e6b28ef9ee5402d780e4cb6e01f791bebb715205922e3971f31a5 [INFO] running `Command { std: "docker" "start" "-a" "0ee4f661ab1e6b28ef9ee5402d780e4cb6e01f791bebb715205922e3971f31a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee4f661ab1e6b28ef9ee5402d780e4cb6e01f791bebb715205922e3971f31a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee4f661ab1e6b28ef9ee5402d780e4cb6e01f791bebb715205922e3971f31a5", kill_on_drop: false }` [INFO] [stdout] 0ee4f661ab1e6b28ef9ee5402d780e4cb6e01f791bebb715205922e3971f31a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a0bfbe809a4c78c44d8cf6e37045e93d2082e4841ebadfdd502099f1aea7a5 [INFO] running `Command { std: "docker" "start" "-a" "15a0bfbe809a4c78c44d8cf6e37045e93d2082e4841ebadfdd502099f1aea7a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking elsa v1.11.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.13.1 [INFO] [stderr] Compiling derive_builder_macro v0.13.1 [INFO] [stderr] Checking derive_builder v0.13.1 [INFO] [stderr] Checking grit-util v0.5.1 [INFO] [stderr] Checking grit-pattern-matcher v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "embeddings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "embeddings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/binding.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/accumulate.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 77 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/and.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 64 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 66 | logs: &mut AnalysisLogs, [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/any.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 77 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/assignment.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 47 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 49 | logs: &mut AnalysisLogs, [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/call.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/call_built_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 43 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 45 | logs: &mut AnalysisLogs, [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/equal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 31 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 33 | logs: &mut AnalysisLogs, [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/function_definition.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 14 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 16 | args: &'a [Option>], [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 17 | logs: &mut AnalysisLogs, [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/function_definition.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 51 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 53 | args: &'a [Option>], [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 54 | logs: &mut AnalysisLogs, [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 22 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 24 | logs: &mut AnalysisLogs, [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/if.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 80 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 82 | logs: &mut AnalysisLogs, [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/match.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 36 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 38 | logs: &mut AnalysisLogs, [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/maybe.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 57 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 59 | logs: &mut AnalysisLogs, [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/not.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 65 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 67 | logs: &mut AnalysisLogs, [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/or.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 88 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 90 | logs: &mut AnalysisLogs, [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/predicate_return.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 24 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 26 | logs: &mut AnalysisLogs, [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/predicates.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^^ ------------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 229 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 278 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 278 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 322 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 322 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/rewrite.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 136 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 138 | logs: &mut AnalysisLogs, [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/state.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | ^^ -- --------------- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'b` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/binding.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/accumulate.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 77 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/and.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 64 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 66 | logs: &mut AnalysisLogs, [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/any.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 77 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/assignment.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 47 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 49 | logs: &mut AnalysisLogs, [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/call.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/call_built_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 43 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 45 | logs: &mut AnalysisLogs, [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/equal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 31 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 33 | logs: &mut AnalysisLogs, [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/function_definition.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 14 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 16 | args: &'a [Option>], [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 17 | logs: &mut AnalysisLogs, [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/function_definition.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 51 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 53 | args: &'a [Option>], [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 54 | logs: &mut AnalysisLogs, [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 22 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 24 | logs: &mut AnalysisLogs, [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/if.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 80 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 82 | logs: &mut AnalysisLogs, [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/match.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 36 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 38 | logs: &mut AnalysisLogs, [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/maybe.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 57 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 59 | logs: &mut AnalysisLogs, [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/not.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 65 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 67 | logs: &mut AnalysisLogs, [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/or.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 88 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 90 | logs: &mut AnalysisLogs, [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/predicate_return.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 24 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 26 | logs: &mut AnalysisLogs, [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/predicates.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^^ ------------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 229 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 278 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 278 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 322 | ) -> GritResult> { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [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] 322 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/rewrite.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 136 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ these lifetimes flow to the output [INFO] [stdout] | | [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] 138 | logs: &mut AnalysisLogs, [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pattern/state.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | ^^ -- --------------- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'b` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.92s [INFO] running `Command { std: "docker" "inspect" "15a0bfbe809a4c78c44d8cf6e37045e93d2082e4841ebadfdd502099f1aea7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a0bfbe809a4c78c44d8cf6e37045e93d2082e4841ebadfdd502099f1aea7a5", kill_on_drop: false }` [INFO] [stdout] 15a0bfbe809a4c78c44d8cf6e37045e93d2082e4841ebadfdd502099f1aea7a5