[INFO] cloning repository https://github.com/ast-grep/ast-grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ast-grep/ast-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Fast-grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Fast-grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bc6143b0e14aa1df152ed60d5f77e6fb58d3ff5 [INFO] checking ast-grep/ast-grep against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Fast-grep" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ast-grep/ast-grep [INFO] finished tweaking git repo https://github.com/ast-grep/ast-grep [INFO] tweaked toml for git repo https://github.com/ast-grep/ast-grep written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ast-grep/ast-grep on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ast-grep/ast-grep already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50cef9043c1bef59d6a67b688348e25c345be9a62310067626bb3c78c8c000f8 [INFO] running `Command { std: "docker" "start" "-a" "50cef9043c1bef59d6a67b688348e25c345be9a62310067626bb3c78c8c000f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50cef9043c1bef59d6a67b688348e25c345be9a62310067626bb3c78c8c000f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50cef9043c1bef59d6a67b688348e25c345be9a62310067626bb3c78c8c000f8", kill_on_drop: false }` [INFO] [stdout] 50cef9043c1bef59d6a67b688348e25c345be9a62310067626bb3c78c8c000f8 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23db4698d8789bac7e918d0c2db1232aeb64b9f1a1eb0be138225c682be5276 [INFO] running `Command { std: "docker" "start" "-a" "a23db4698d8789bac7e918d0c2db1232aeb64b9f1a1eb0be138225c682be5276", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-c v0.24.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling tree-sitter-lua v0.2.0 [INFO] [stderr] Compiling tree-sitter-php v0.23.11 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-css v0.23.2 [INFO] [stderr] Compiling tree-sitter-kotlin-sg v0.4.0 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-rust v0.24.0 [INFO] [stderr] Compiling tree-sitter-bash v0.25.0 [INFO] [stderr] Compiling tree-sitter-elixir v0.3.4 [INFO] [stderr] Compiling tree-sitter-json v0.23.0 [INFO] [stderr] Compiling tree-sitter-haskell v0.23.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-scala v0.24.0 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.1 [INFO] [stderr] Compiling tree-sitter-swift v0.7.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tree-sitter v0.25.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking minimad v0.13.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking ast-grep-core v0.38.6 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Checking coolor v1.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking xterm-query v0.5.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling napi-build v2.2.0 [INFO] [stderr] Checking terminal-light v1.8.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling ast-grep-napi v0.38.6 (/opt/rustwide/workdir/crates/napi) [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow { [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] 96 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow { [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] 200 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node { [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] 272 | fn single_matcher(root: &Root) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/replacer/indent.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { [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] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow; [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] 31 | fn kind(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; [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] 143 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; [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] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [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] 156 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [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] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/mod.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow { [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] 202 | fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | node: Node>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 79 | ) -> Visit<'_, StrDoc, A::Traversal<'_, L>, M> [INFO] [stdout] | -- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | node: Node<'_, StrDoc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node>) -> Self::Traversal<'_, L>; [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/node.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node { [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] 63 | pub fn root(&self) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/node.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow { [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] 143 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crokey-proc_macros v1.2.0 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking clap_complete v4.5.54 [INFO] [stderr] Checking lazy-regex v3.4.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow { [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] 96 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow { [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] 200 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/matcher/pattern.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node { [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] 272 | fn single_matcher(root: &Root) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/replacer/indent.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { [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] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow; [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] 31 | fn kind(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; [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] 143 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; [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] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [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] 156 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/source.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [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] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/mod.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow { [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] 202 | fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | node: Node>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 79 | ) -> Visit<'_, StrDoc, A::Traversal<'_, L>, M> [INFO] [stdout] | -- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | node: Node<'_, StrDoc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node>) -> Self::Traversal<'_, L>; [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/tree_sitter/traversal.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/node.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node { [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] 63 | pub fn root(&self) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/core/src/node.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow { [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] 143 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ast-grep-language v0.38.6 (/opt/rustwide/workdir/crates/language) [INFO] [stderr] Checking ast-grep-dynamic v0.38.6 (/opt/rustwide/workdir/crates/dynamic) [INFO] [stderr] Checking crokey v1.2.0 [INFO] [stderr] Checking termimad v0.33.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/language/src/lib.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow { [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] 79 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/language/src/lib.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow { [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] 79 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking napi v2.16.17 [INFO] [stderr] Checking ast-grep-config v0.38.6 (/opt/rustwide/workdir/crates/config) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/combined.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | fn file_suppression(&self) -> MaySuppressed { [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] 141 | fn file_suppression(&self) -> MaySuppressed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/combined.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | fn line_suppression(&self, node: &Node<'_, D>) -> MaySuppressed { [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] 149 | fn line_suppression(&self, node: &Node<'_, D>) -> MaySuppressed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/transform/parse.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | fn decompose_str(input: &str) -> Result { [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] 44 | fn decompose_str(input: &str) -> Result, ParseTransError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking xtask v0.0.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking ast-grep-py v0.38.6 (/opt/rustwide/workdir/crates/pyo3) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/combined.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | fn file_suppression(&self) -> MaySuppressed { [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] 141 | fn file_suppression(&self) -> MaySuppressed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/combined.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | fn line_suppression(&self, node: &Node<'_, D>) -> MaySuppressed { [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] 149 | fn line_suppression(&self, node: &Node<'_, D>) -> MaySuppressed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/config/src/transform/parse.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | fn decompose_str(input: &str) -> Result { [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] 44 | fn decompose_str(input: &str) -> Result, ParseTransError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Lang` is never used [INFO] [stdout] --> crates/napi/src/napi_lang.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Lang { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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] --> crates/napi/src/doc.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [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] 64 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/napi/src/doc.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [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] 69 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Lang` is never used [INFO] [stdout] --> crates/napi/src/napi_lang.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Lang { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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] --> crates/napi/src/doc.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [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] 64 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/napi/src/doc.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [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] 69 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower-lsp-server v0.21.1 [INFO] [stderr] Checking ast-grep-lsp v0.38.6 (/opt/rustwide/workdir/crates/lsp) [INFO] [stderr] Checking ast-grep v0.38.6 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/print/colored_print/styles.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow { [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] 105 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/verify/test_case.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- 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] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/verify/test_case.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> CaseResult { [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] 34 | ) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/print/colored_print/styles.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow { [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] 105 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/verify/test_case.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- 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] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/cli/src/verify/test_case.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> CaseResult { [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] 34 | ) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.67s [INFO] running `Command { std: "docker" "inspect" "a23db4698d8789bac7e918d0c2db1232aeb64b9f1a1eb0be138225c682be5276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23db4698d8789bac7e918d0c2db1232aeb64b9f1a1eb0be138225c682be5276", kill_on_drop: false }` [INFO] [stdout] a23db4698d8789bac7e918d0c2db1232aeb64b9f1a1eb0be138225c682be5276