[INFO] fetching crate grit-pattern-matcher 0.3.0... [INFO] checking grit-pattern-matcher-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate grit-pattern-matcher 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate grit-pattern-matcher 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grit-pattern-matcher 0.3.0 [INFO] finished tweaking crates.io crate grit-pattern-matcher 0.3.0 [INFO] tweaked toml for crates.io crate grit-pattern-matcher 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bitmaps v2.1.0 (available: v3.2.1) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_builder v0.13.1 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.13.1 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.13.1 (available: v0.20.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding sized-chunks v0.6.5 (available: v0.7.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ac30d8aae667aab8fe638c547d7008dd6e898185a5c988847a1416506e2c91 [INFO] running `Command { std: "docker" "start" "-a" "d7ac30d8aae667aab8fe638c547d7008dd6e898185a5c988847a1416506e2c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ac30d8aae667aab8fe638c547d7008dd6e898185a5c988847a1416506e2c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ac30d8aae667aab8fe638c547d7008dd6e898185a5c988847a1416506e2c91", kill_on_drop: false }` [INFO] [stdout] d7ac30d8aae667aab8fe638c547d7008dd6e898185a5c988847a1416506e2c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08e60f1fedfc9006fad1550b3bc16fbe1d7441c3ecb129d1d03f0ed40b7ce48d [INFO] running `Command { std: "docker" "start" "-a" "08e60f1fedfc9006fad1550b3bc16fbe1d7441c3ecb129d1d03f0ed40b7ce48d", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.13.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling derive_builder_macro v0.13.1 [INFO] [stderr] Checking derive_builder v0.13.1 [INFO] [stderr] Checking grit-util v0.3.0 [INFO] [stderr] Checking grit-pattern-matcher v0.3.0 (/opt/rustwide/workdir) [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] = 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:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[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: elided lifetime has a name [INFO] [stdout] --> src/pattern/accumulate.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 101 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/and.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 68 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/any.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/assignment.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/call.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 65 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 70 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/equal.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/function_definition.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 13 | fn call<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> Result>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/function_definition.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 50 | fn call<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/functions.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 23 | ) -> Result>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/if.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [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: elided lifetime has a name [INFO] [stdout] --> src/pattern/log.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 102 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 107 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/match.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 35 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/maybe.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 56 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/not.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 66 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/or.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/predicate_return.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 28 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/predicates.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 74 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/resolved_pattern.rs:187:68 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a, Q: QueryContext> ResolvedSnippet<'a, Q> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 187 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/rewrite.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 116 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/state.rs:226:55 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [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] = 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:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[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: elided lifetime has a name [INFO] [stdout] --> src/pattern/accumulate.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 101 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/and.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 68 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/any.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/assignment.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/call.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 65 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 70 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/equal.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/function_definition.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 13 | fn call<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> Result>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/function_definition.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 50 | fn call<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/functions.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 23 | ) -> Result>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/if.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [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: elided lifetime has a name [INFO] [stdout] --> src/pattern/log.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 102 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 107 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/match.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 35 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/maybe.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 56 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/not.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 66 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/or.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/predicate_return.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 28 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/predicates.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 74 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/resolved_pattern.rs:187:68 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a, Q: QueryContext> ResolvedSnippet<'a, Q> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 187 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/rewrite.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn execute_func<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 116 | ) -> Result> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/pattern/state.rs:226:55 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Node<'_>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern/after.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 31 | let binding = Q::Binding::from_pattern(&self.after, state, context, logs)?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let Some(node) = binding.as_node() else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | if let Some(next) = node.next_named_node() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Node<'_>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern/before.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 30 | let binding = Q::Binding::from_pattern(&self.before, state, context, logs)?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let Some(node) = binding.as_node() else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | if let Some(prev) = node.previous_named_node() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Node<'_>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern/after.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 31 | let binding = Q::Binding::from_pattern(&self.after, state, context, logs)?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let Some(node) = binding.as_node() else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | if let Some(next) = node.next_named_node() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Node<'_>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern/before.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 30 | let binding = Q::Binding::from_pattern(&self.before, state, context, logs)?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let Some(node) = binding.as_node() else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | if let Some(prev) = node.previous_named_node() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grit-pattern-matcher` (lib) due to 3 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grit-pattern-matcher` (lib test) due to 3 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08e60f1fedfc9006fad1550b3bc16fbe1d7441c3ecb129d1d03f0ed40b7ce48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e60f1fedfc9006fad1550b3bc16fbe1d7441c3ecb129d1d03f0ed40b7ce48d", kill_on_drop: false }` [INFO] [stdout] 08e60f1fedfc9006fad1550b3bc16fbe1d7441c3ecb129d1d03f0ed40b7ce48d