[INFO] fetching crate ast-grep 0.39.4... [INFO] checking ast-grep-0.39.4 against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] extracting crate ast-grep 0.39.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ast-grep 0.39.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ast-grep 0.39.4 [INFO] tweaked toml for crates.io crate ast-grep 0.39.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ast-grep 0.39.4 on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ast-grep 0.39.4 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9e0ec0ed10dbe4a786e5e669fe0c8433c18c0a4fd3280bcbb196a5f2a44d0c8 [INFO] running `Command { std: "docker" "start" "-a" "e9e0ec0ed10dbe4a786e5e669fe0c8433c18c0a4fd3280bcbb196a5f2a44d0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9e0ec0ed10dbe4a786e5e669fe0c8433c18c0a4fd3280bcbb196a5f2a44d0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e0ec0ed10dbe4a786e5e669fe0c8433c18c0a4fd3280bcbb196a5f2a44d0c8", kill_on_drop: false }` [INFO] [stdout] e9e0ec0ed10dbe4a786e5e669fe0c8433c18c0a4fd3280bcbb196a5f2a44d0c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4a4e70223ecd5aedc7e9c13e55a91538f23990b4c44b0db4a7d2aedcaea0d6f [INFO] running `Command { std: "docker" "start" "-a" "c4a4e70223ecd5aedc7e9c13e55a91538f23990b4c44b0db4a7d2aedcaea0d6f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking target-triple v0.1.4 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking minimad v0.13.1 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling tree-sitter-swift v0.7.1 [INFO] [stderr] Compiling tree-sitter-kotlin-sg v0.4.0 [INFO] [stderr] Compiling tree-sitter-c v0.24.1 [INFO] [stderr] Compiling tree-sitter-scala v0.24.0 [INFO] [stderr] Compiling tree-sitter-rust v0.24.0 [INFO] [stderr] Compiling tree-sitter-lua v0.2.0 [INFO] [stderr] Compiling tree-sitter-nix v0.3.0 [INFO] [stderr] Compiling tree-sitter-css v0.23.2 [INFO] [stderr] Compiling tree-sitter-solidity v1.2.13 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-elixir v0.3.4 [INFO] [stderr] Compiling tree-sitter-php v0.23.11 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-json v0.23.0 [INFO] [stderr] Compiling tree-sitter-haskell v0.23.1 [INFO] [stderr] Compiling tree-sitter-bash v0.25.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-hcl v1.1.0 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v1.0.4 [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 lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Checking ref-cast v1.0.24 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking lazy-regex v3.4.1 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking coolor v1.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ast-grep-core v0.39.4 [INFO] [stderr] Checking xterm-query v0.5.2 [INFO] [stderr] Checking terminal-light v1.8.0 [INFO] [stderr] Compiling crokey-proc_macros v1.2.0 [INFO] [stderr] Checking clap v4.5.44 [INFO] [stderr] Checking clap_complete v4.5.56 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking crokey v1.2.0 [INFO] [stderr] Checking ast-grep-dynamic v0.39.4 [INFO] [stderr] Checking ast-grep-language v0.39.4 [INFO] [stderr] Checking termimad v0.33.0 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking ast-grep-config v0.39.4 [INFO] [stderr] Checking tower-lsp-server v0.21.1 [INFO] [stderr] Checking ast-grep-lsp v0.39.4 [INFO] [stderr] Checking ast-grep v0.39.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/print/colored_print/styles.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verify/test_case.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verify/test_case.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> CaseResult { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/print/colored_print/styles.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verify/test_case.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verify/test_case.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> CaseResult { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> CaseResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "c4a4e70223ecd5aedc7e9c13e55a91538f23990b4c44b0db4a7d2aedcaea0d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a4e70223ecd5aedc7e9c13e55a91538f23990b4c44b0db4a7d2aedcaea0d6f", kill_on_drop: false }` [INFO] [stdout] c4a4e70223ecd5aedc7e9c13e55a91538f23990b4c44b0db4a7d2aedcaea0d6f