[INFO] fetching crate pact_models 1.2.5... [INFO] checking pact_models-1.2.5 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate pact_models 1.2.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate pact_models 1.2.5 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_models 1.2.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pact_models 1.2.5 [INFO] tweaked toml for crates.io crate pact_models 1.2.5 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 266 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a572c642a46d519c1395753216371c8ecf41d0b49faf19e6eb6828d89b0a61b [INFO] running `Command { std: "docker" "start" "-a" "7a572c642a46d519c1395753216371c8ecf41d0b49faf19e6eb6828d89b0a61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a572c642a46d519c1395753216371c8ecf41d0b49faf19e6eb6828d89b0a61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a572c642a46d519c1395753216371c8ecf41d0b49faf19e6eb6828d89b0a61b", kill_on_drop: false }` [INFO] [stdout] 7a572c642a46d519c1395753216371c8ecf41d0b49faf19e6eb6828d89b0a61b [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5cca22ebf55c0e63d8a76be5cc93c92dc3c29734dd93c2baef594698556b993 [INFO] running `Command { std: "docker" "start" "-a" "f5cca22ebf55c0e63d8a76be5cc93c92dc3c29734dd93c2baef594698556b993", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling chrono-tz v0.10.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling pact_models v1.2.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling indextree-macros v0.1.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking ariadne v0.5.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking rand_regex v0.17.0 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking indextree v4.7.3 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking gregorian v0.2.4 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking hamcrest2 v0.3.0 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking trim-margin v0.1.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pact_models` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/generators/date_expression_parser.rs [INFO] [stderr] * src/generators/datetime_expressions.rs [INFO] [stderr] * src/generators/time_expression_parser.rs [INFO] [stderr] * src/matchingrules/expressions.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/matchingrules/expressions.rs:242:16 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/generators/date_expression_parser.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/generators/time_expression_parser.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Logos + use<'s>, Debug, PartialEq, Copy, Clone)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::generators::date_expression_parser::DateExpressionToken` [INFO] [stderr] --> src/generators/datetime_expressions.rs:69:49 [INFO] [stderr] | [INFO] [stderr] 69 | use crate::generators::date_expression_parser::{DateExpressionToken, ParsedDateExpression}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `DateExpressionToken` in `generators::date_expression_parser` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::generators::time_expression_parser::TimeExpressionToken` [INFO] [stderr] --> src/generators/datetime_expressions.rs:70:71 [INFO] [stderr] | [INFO] [stderr] 70 | use crate::generators::time_expression_parser::{ParsedTimeExpression, TimeExpressionToken}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `TimeExpressionToken` in `generators::time_expression_parser` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:340:40 [INFO] [stderr] | [INFO] [stderr] 340 | fn matching_definition(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 340 | fn matching_definition(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:368:44 [INFO] [stderr] | [INFO] [stderr] 368 | fn matching_definition_exp(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 368 | fn matching_definition_exp(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:451:37 [INFO] [stderr] | [INFO] [stderr] 451 | fn parse_each_value(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 451 | fn parse_each_value(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:481:34 [INFO] [stderr] | [INFO] [stderr] 481 | fn error_message(lex: &mut Lexer, v: &str, error: &str, additional: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 481 | fn error_message(lex: &mut Lexer, v: &str, error: &str, additional: &str) -> Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:495:35 [INFO] [stderr] | [INFO] [stderr] 495 | fn parse_each_key(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 495 | fn parse_each_key(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:536:19 [INFO] [stderr] | [INFO] [stderr] 536 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 535 | fn parse_not_empty( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:554:35 [INFO] [stderr] | [INFO] [stderr] 554 | fn parse_matching(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:589:47 [INFO] [stderr] | [INFO] [stderr] 589 | fn parse_matching_rule(lex: &mut logos::Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option(lex: &mut logos::Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:637:36 [INFO] [stderr] | [INFO] [stderr] 637 | fn parse_reference(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:643:33 [INFO] [stderr] | [INFO] [stderr] 643 | fn parse_semver(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:666:19 [INFO] [stderr] | [INFO] [stderr] 666 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 665 | fn parse_equality( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:675:32 [INFO] [stderr] | [INFO] [stderr] 675 | fn parse_regex(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:685:19 [INFO] [stderr] | [INFO] [stderr] 685 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 684 | fn parse_type( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:694:35 [INFO] [stderr] | [INFO] [stderr] 694 | fn parse_datetime(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:711:31 [INFO] [stderr] | [INFO] [stderr] 711 | fn parse_date(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:728:31 [INFO] [stderr] | [INFO] [stderr] 728 | fn parse_time(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:745:34 [INFO] [stderr] | [INFO] [stderr] 745 | fn parse_include(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:752:39 [INFO] [stderr] | [INFO] [stderr] 752 | fn parse_content_type(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Optio... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 752 | fn parse_content_type(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:773:19 [INFO] [stderr] | [INFO] [stderr] 773 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 772 | fn parse_primitive_value( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:814:33 [INFO] [stderr] | [INFO] [stderr] 814 | fn parse_number(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:842:34 [INFO] [stderr] | [INFO] [stderr] 842 | fn parse_integer(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:861:34 [INFO] [stderr] | [INFO] [stderr] 861 | fn parse_decimal(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:889:34 [INFO] [stderr] | [INFO] [stderr] 889 | fn parse_boolean(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:899:33 [INFO] [stderr] | [INFO] [stderr] 899 | fn parse_string(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 899 | fn parse_string(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1008:32 [INFO] [stderr] | [INFO] [stderr] 1008 | fn parse_comma(lex: &mut Lexer, v: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1008 | fn parse_comma(lex: &mut Lexer, v: &str) -> anyhow::Result<()> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1040:39 [INFO] [stderr] | [INFO] [stderr] 1040 | fn parse_length_param(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1040 | fn parse_length_param(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1060:40 [INFO] [stderr] | [INFO] [stderr] 1060 | fn from_provider_state(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1060 | fn from_provider_state(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | impl DateExpressionToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:166:46 [INFO] [stderr] | [INFO] [stderr] 166 | pub(crate) fn expression<'a>(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 166 | pub(crate) fn expression<'a, DateExpressionToken>(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:229:32 [INFO] [stderr] | [INFO] [stderr] 229 | fn adjustments(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result>> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:229:73 [INFO] [stderr] | [INFO] [stderr] 229 | fn adjustments(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result src/generators/date_expression_parser.rs:244:31 [INFO] [stderr] | [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:244:72 [INFO] [stderr] | [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:259:25 [INFO] [stderr] | [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:259:66 [INFO] [stderr] | [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:272:30 [INFO] [stderr] | [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:272:71 [INFO] [stderr] | [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:281:29 [INFO] [stderr] | [INFO] [stderr] 281 | fn duration(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 281 | fn duration(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:299:34 [INFO] [stderr] | [INFO] [stderr] 299 | fn duration_type(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 299 | fn duration_type(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:360:27 [INFO] [stderr] | [INFO] [stderr] 360 | fn offset(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(json) = gen.to_json() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:304:102 [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:308:102 [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | for (path, gen) in values { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | category_map.insert(path.clone(), gen.clone()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:898:18 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:898:40 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:986:56 [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.gen::())), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1075:68 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1163:63 [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().gen::())), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1393:16 [INFO] [stdout] | [INFO] [stdout] 1393 | ( $( $name:expr => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1393 | ( $( $name:expr_2021 => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1394:21 [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr_2021 => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1394:43 [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:11 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr_2021 ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:30 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr_2021 => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:52 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1438:11 [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr_2021 ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:737:18 [INFO] [stdout] | [INFO] [stdout] 737 | $( $category:expr => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 737 | $( $category:expr_2021 => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr_2021 => $generator:expr ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:738:38 [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr_2021 ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr_2021 => $generator:expr ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:761:37 [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr_2021 ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/http_parts.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | Some(ref h) => match h.iter().find(|kv| kv.0.to_lowercase() == "content-type") { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Some(Value::Array(ref array)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/pact.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | Some(Value::Object(ref obj)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | MatchingRule::Regex(ref r) => json!({ "match": "regex", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | MatchingRule::Timestamp(ref t) => json!({ "match": "datetime", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | MatchingRule::Time(ref t) => json!({ "match": "time", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | MatchingRule::Date(ref d) => json!({ "match": "date", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | MatchingRule::Include(ref s) => json!({ "match": "include", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | MatchingRule::ContentType(ref r) => json!({ "match": "contentType", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | if let Value::Object(ref map) = v { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | Generator::Regex(ref regex) => Some(json!({ "type": "Regex", "regex": regex })), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | Generator::ProviderStateGenerator(ref expression, ref data_type) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:893:7 [INFO] [stdout] | [INFO] [stdout] 893 | Generator::Regex(ref regex) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:987:7 [INFO] [stdout] | [INFO] [stdout] 987 | Generator::ProviderStateGenerator(ref exp, ref dt) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:1070:7 [INFO] [stdout] | [INFO] [stdout] 1070 | Generator::Regex(ref regex) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:1164:7 [INFO] [stdout] | [INFO] [stdout] 1164 | Generator::ProviderStateGenerator(ref exp, ref dt) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 360 | fn offset(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(i) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 133 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 134 | } else if let Some(i) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 135 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 136 | } else if let Some(i) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | } else if let Some(i) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | } else if let Some(i) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ match self.as_v4_http() { Some(i) => { [INFO] [stdout] 133 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 134 ~ } _ => { match self.as_v4_async_message() { Some(i) => { [INFO] [stdout] 135 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 136 ~ } _ => { match self.as_v4_sync_message() { Some(i) => { [INFO] [stdout] 137 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 138 ~ } _ => { [INFO] [stdout] 139 | Err(fmt::Error) [INFO] [stdout] 140 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | impl TimeExpressionToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:98:42 [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn expression(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn expression(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:172:19 [INFO] [stderr] | [INFO] [stderr] 172 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 171 | fn base( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:175:39 [INFO] [stderr] | [INFO] [stderr] 175 | ) -> anyhow::Result<(TimeBase, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 171 | fn base( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:195:19 [INFO] [stderr] | [INFO] [stderr] 195 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 194 | fn oclock( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:197:40 [INFO] [stderr] | [INFO] [stderr] 197 | ) -> anyhow::Result<(ClockHour, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 194 | fn oclock( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:224:19 [INFO] [stderr] | [INFO] [stderr] 224 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 223 | fn adjustments( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:251:19 [INFO] [stderr] | [INFO] [stderr] 251 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 250 | fn adjustment( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:266:19 [INFO] [stderr] | [INFO] [stderr] 266 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 265 | fn duration( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:287:19 [INFO] [stderr] | [INFO] [stderr] 287 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 286 | fn duration_type( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:307:19 [INFO] [stderr] | [INFO] [stderr] 307 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 306 | fn operation( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:309:10 [INFO] [stderr] | [INFO] [stderr] 309 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:324:19 [INFO] [stderr] | [INFO] [stderr] 324 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 323 | fn offset( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:311:19 [INFO] [stderr] | [INFO] [stderr] 311 | let mut lex = MatcherDefinitionToken::lexer(v); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:322:19 [INFO] [stderr] | [INFO] [stderr] 322 | let mut lex = MatcherDefinitionToken::lexer(v); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:325:19 [INFO] [stderr] | [INFO] [stderr] 325 | if token == MatcherDefinitionToken::Matching || token == MatcherDefinitionToken::NotEmpty || [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:325:64 [INFO] [stderr] | [INFO] [stderr] 325 | if token == MatcherDefinitionToken::Matching || token == MatcherDefinitionToken::NotEmpty || [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:326:18 [INFO] [stderr] | [INFO] [stderr] 326 | token == MatcherDefinitionToken::EachKey || token == MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:326:62 [INFO] [stderr] | [INFO] [stderr] 326 | token == MatcherDefinitionToken::EachKey || token == MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:343:16 [INFO] [stderr] | [INFO] [stderr] 343 | if next == MatcherDefinitionToken::Comma { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:371:18 [INFO] [stderr] | [INFO] [stderr] 371 | if token == &MatcherDefinitionToken::Matching { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:388:25 [INFO] [stderr] | [INFO] [stderr] 388 | } else if token == &MatcherDefinitionToken::NotEmpty { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:396:25 [INFO] [stderr] | [INFO] [stderr] 396 | } else if token == &MatcherDefinitionToken::EachKey { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:399:25 [INFO] [stderr] | [INFO] [stderr] 399 | } else if token == &MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:402:25 [INFO] [stderr] | [INFO] [stderr] 402 | } else if token == &MatcherDefinitionToken::AtLeast { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:410:25 [INFO] [stderr] | [INFO] [stderr] 410 | } else if token == &MatcherDefinitionToken::AtMost { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | } else if token == DateExpressionToken::Next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:196:24 [INFO] [stderr] | [INFO] [stderr] 196 | } else if token == DateExpressionToken::Last { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | } else if token == TimeExpressionToken::Next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:132:24 [INFO] [stderr] | [INFO] [stderr] 132 | } else if token == TimeExpressionToken::Last { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:199:17 [INFO] [stderr] | [INFO] [stderr] 199 | if token == TimeExpressionToken::OClock { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | if next == TimeExpressionToken::Am { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:204:27 [INFO] [stderr] | [INFO] [stderr] 204 | } else if next == TimeExpressionToken::Pm { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:332:7 [INFO] [stderr] | [INFO] [stderr] 332 | TimeExpressionToken::Milliseconds => Ok(TimeOffsetType::MILLISECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:331:7 [INFO] [stderr] | [INFO] [stderr] 331 | TimeExpressionToken::Seconds => Ok(TimeOffsetType::SECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:330:7 [INFO] [stderr] | [INFO] [stderr] 330 | TimeExpressionToken::Minutes => Ok(TimeOffsetType::MINUTE), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:329:7 [INFO] [stderr] | [INFO] [stderr] 329 | TimeExpressionToken::Hours => Ok(TimeOffsetType::HOUR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:313:5 [INFO] [stderr] | [INFO] [stderr] 313 | TimeExpressionToken::Minus => Ok(Operation::MINUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:312:5 [INFO] [stderr] | [INFO] [stderr] 312 | TimeExpressionToken::Plus => Ok(Operation::PLUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:295:7 [INFO] [stderr] | [INFO] [stderr] 295 | TimeExpressionToken::Milliseconds => Ok(TimeOffsetType::MILLISECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:294:7 [INFO] [stderr] | [INFO] [stderr] 294 | TimeExpressionToken::Seconds => Ok(TimeOffsetType::SECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:293:7 [INFO] [stderr] | [INFO] [stderr] 293 | TimeExpressionToken::Minutes => Ok(TimeOffsetType::MINUTE), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:292:7 [INFO] [stderr] | [INFO] [stderr] 292 | TimeExpressionToken::Hours => Ok(TimeOffsetType::HOUR), [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 147 | Box::new(http) [INFO] [stdout] 148 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 149 | Box::new(message) [INFO] [stdout] 150 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 147 | Box::new(http) [INFO] [stdout] 148 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 149 | Box::new(message) [INFO] [stdout] 150 ~ } _ => { match self.as_v4_sync_message() { Some(message) => { [INFO] [stdout] 151 | Box::new(message) [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 154 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 166 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 172 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 160 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 161 | if let Some(other) = other.as_v4_http() { [INFO] [stdout] ... [INFO] [stdout] 165 | } [INFO] [stdout] 166 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 167 | if let Some(other) = other.as_v4_async_message() { [INFO] [stdout] ... [INFO] [stdout] 171 | } [INFO] [stdout] 172 ~ } _ => { match self.as_v4_sync_message() { Some(message) => { [INFO] [stdout] 173 | if let Some(other) = other.as_v4_sync_message() { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | false [INFO] [stdout] 180 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(other) = other.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match other.as_v4_http() { Some(other) => { [INFO] [stdout] 162 | http == other [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | false [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(other) = other.as_v4_async_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match other.as_v4_async_message() { Some(other) => { [INFO] [stdout] 168 | message == other [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | false [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/time_expression_parser.rs:269:18 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(other) = other.as_v4_sync_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match other.as_v4_sync_message() { Some(other) => { [INFO] [stdout] 174 | message == other [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | false [INFO] [stdout] 177 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(err) = rules.clone().find(|rule| rule.is_err()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match rules.clone().find(|rule| rule.is_err()) { Some(err) => { [INFO] [stdout] 49 | Err(anyhow!("Matching rule configuration is not correct - {}", err.unwrap_err())) [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Ok(rules.map(|rule| Either::Left(rule.unwrap())).collect()) [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 269 | if let Some(Ok(TimeExpressionToken::Digits(n))) = lex.next() { [INFO] [stdout] warning: `impl CallbackResult<'s, i64, MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `impl CallbackResult<'s, i64, MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, usize, MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `impl CallbackResult<'s, usize, MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/time_expression_parser.rs:179:5 [INFO] [stdout] warning: `impl CallbackResult<'s, u64, DateExpressionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/generators/date_expression_parser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/generators/date_expression_parser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, u64, TimeExpressionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/generators/time_expression_parser.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/generators/time_expression_parser.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos + use<'s>, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 179 | TimeExpressionToken::Noon => Ok((TimeBase::Noon, None)), [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(req_res) = self.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 149 | std::fmt::Display::fmt(&req_res, f) [INFO] [stdout] 150 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 151 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 152 | } else if let Some(mp) = self.as_v4_http() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 153 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 154 | } else if let Some(mp) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else if let Some(mp) = self.as_v4_http() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | } else if let Some(mp) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match self.as_request_response() { Some(req_res) => { [INFO] [stdout] 149 | std::fmt::Display::fmt(&req_res, f) [INFO] [stdout] 150 ~ } _ => { match self.as_message() { Some(mp) => { [INFO] [stdout] 151 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 152 ~ } _ => { match self.as_v4_http() { Some(mp) => { [INFO] [stdout] 153 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 154 ~ } _ => { match self.as_v4_async_message() { Some(mp) => { [INFO] [stdout] 155 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | Err(fmt::Error) [INFO] [stdout] 158 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(req_res) = self.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 173 | Box::new(req_res) [INFO] [stdout] 174 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ } else { match self.as_request_response() { Some(req_res) => { [INFO] [stdout] 173 | Box::new(req_res) [INFO] [stdout] 174 ~ } _ => { match self.as_message() { Some(mp) => { [INFO] [stdout] 175 | Box::new(mp) [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 178 ~ }}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 166 | Box::new(http) [INFO] [stdout] 167 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 166 | Box::new(http) [INFO] [stdout] 167 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 168 | Box::new(message) [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 171 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync_interaction.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(other) = other.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sync_interaction.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match other.as_request_response() { Some(other) => { [INFO] [stdout] 216 | if self.description == other.description && self.provider_states == other.provider_states { [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | vec![PactConflict { [INFO] [stdout] ... [INFO] [stdout] 238 | }] [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/time_expression_parser.rs:178:5 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | if let Ok(pact) = self.as_v4_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 118 | } else if let Ok(pact) = self.as_request_response_pact() { [INFO] [stdout] | ------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 124 | } else if let Ok(pact) = self.as_message_pact() { [INFO] [stdout] | ---------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | } else if let Ok(pact) = self.as_request_response_pact() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | } else if let Ok(pact) = self.as_message_pact() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.as_v4_pact() { Ok(pact) => { [INFO] [stdout] 113 | if let Ok(other) = other.as_v4_pact() { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { match self.as_request_response_pact() { Ok(pact) => { [INFO] [stdout] 119 | if let Ok(other) = other.as_request_response_pact() { [INFO] [stdout] ... [INFO] [stdout] 123 | } [INFO] [stdout] 124 ~ } _ => { match self.as_message_pact() { Ok(pact) => { [INFO] [stdout] 125 | if let Ok(other) = other.as_message_pact() { [INFO] [stdout] ... [INFO] [stdout] 129 | } [INFO] [stdout] 130 ~ } _ => { [INFO] [stdout] 131 | false [INFO] [stdout] 132 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | if let Ok(other) = other.as_v4_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 113 ~ match other.as_v4_pact() { Ok(other) => { [INFO] [stdout] 114 | pact == other [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | false [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 178 | TimeExpressionToken::Midnight => Ok((TimeBase::Midnight, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:454:13 [INFO] [stderr] | [INFO] [stderr] 454 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:457:15 [INFO] [stderr] | [INFO] [stderr] 457 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:498:13 [INFO] [stderr] | [INFO] [stderr] 498 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:501:15 [INFO] [stderr] | [INFO] [stderr] 501 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:540:13 [INFO] [stderr] | [INFO] [stderr] 540 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:543:15 [INFO] [stderr] | [INFO] [stderr] 543 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:556:13 [INFO] [stderr] | [INFO] [stderr] 556 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:559:15 [INFO] [stderr] | [INFO] [stderr] 559 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:592:13 [INFO] [stderr] | [INFO] [stderr] 592 | if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(other) = other.as_request_response_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match other.as_request_response_pact() { Ok(other) => { [INFO] [stdout] 120 | pact == other [INFO] [stdout] 121 ~ } _ => { [INFO] [stdout] 122 | false [INFO] [stdout] 123 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | if let Ok(other) = other.as_message_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match other.as_message_pact() { Ok(other) => { [INFO] [stdout] 126 | pact == other [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | false [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/matchingrules/expressions.rs:621:20 [INFO] [stderr] | [INFO] [stderr] 621 | } else if let Ok(MatcherDefinitionToken::Dollar) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:779:8 [INFO] [stderr] | [INFO] [stderr] 779 | Ok(MatcherDefinitionToken::String) => Ok((lex.slice().trim_matches('\'').to_string(), ValueType::String, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:780:8 [INFO] [stderr] | [INFO] [stderr] 780 | Ok(MatcherDefinitionToken::Null) => Ok((String::new(), ValueType::String, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:781:8 [INFO] [stderr] | [INFO] [stderr] 781 | Ok(MatcherDefinitionToken::Int(_)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:792:8 [INFO] [stderr] | [INFO] [stderr] 792 | Ok(MatcherDefinitionToken::Num(_)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:803:8 [INFO] [stderr] | [INFO] [stderr] 803 | Ok(MatcherDefinitionToken::Decimal) => Ok((lex.slice().to_string(), ValueType::Decimal, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:804:8 [INFO] [stderr] | [INFO] [stderr] 804 | Ok(MatcherDefinitionToken::Boolean) => Ok((lex.slice().to_string(), ValueType::Boolean, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:805:8 [INFO] [stderr] | [INFO] [stderr] 805 | Ok(MatcherDefinitionToken::Id) if lex.slice() == "fromProviderState" && !already_called => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:817:13 [INFO] [stderr] | [INFO] [stderr] 817 | if let Ok(MatcherDefinitionToken::Decimal) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:819:20 [INFO] [stderr] | [INFO] [stderr] 819 | } else if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:819:53 [INFO] [stderr] | [INFO] [stderr] 819 | } else if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:829:20 [INFO] [stderr] | [INFO] [stderr] 829 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:845:13 [INFO] [stderr] | [INFO] [stderr] 845 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:845:46 [INFO] [stderr] | [INFO] [stderr] 845 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:847:20 [INFO] [stderr] | [INFO] [stderr] 847 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:864:13 [INFO] [stderr] | [INFO] [stderr] 864 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:864:46 [INFO] [stderr] | [INFO] [stderr] 864 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:874:20 [INFO] [stderr] | [INFO] [stderr] 874 | } else if let Ok(MatcherDefinitionToken::Decimal) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:876:20 [INFO] [stderr] | [INFO] [stderr] 876 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:892:13 [INFO] [stderr] | [INFO] [stderr] 892 | if let Ok(MatcherDefinitionToken::Boolean) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:901:13 [INFO] [stderr] | [INFO] [stderr] 901 | if let Ok(MatcherDefinitionToken::String) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1010:13 [INFO] [stderr] | [INFO] [stderr] 1010 | if let Ok(MatcherDefinitionToken::Comma) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1042:13 [INFO] [stderr] | [INFO] [stderr] 1042 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1044:15 [INFO] [stderr] | [INFO] [stderr] 1044 | if let Ok(MatcherDefinitionToken::Num(length)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1046:17 [INFO] [stderr] | [INFO] [stderr] 1046 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1062:13 [INFO] [stderr] | [INFO] [stderr] 1062 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1067:15 [INFO] [stderr] | [INFO] [stderr] 1067 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:136:7 [INFO] [stderr] | [INFO] [stderr] 136 | DateExpressionToken::Now => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:137:7 [INFO] [stderr] | [INFO] [stderr] 137 | DateExpressionToken::Today => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:138:7 [INFO] [stderr] | [INFO] [stderr] 138 | DateExpressionToken::Tomorrow => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:139:7 [INFO] [stderr] | [INFO] [stderr] 139 | DateExpressionToken::Yesterday => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:146:7 [INFO] [stderr] | [INFO] [stderr] 146 | DateExpressionToken::Plus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:147:7 [INFO] [stderr] | [INFO] [stderr] 147 | DateExpressionToken::Minus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | TimeExpressionToken::Now => Ok((TimeBase::Now, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | TimeExpressionToken::Digits(d) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 261 | DateExpressionToken::Now => Ok(DateBase::NOW), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | DateExpressionToken::Today => Ok(DateBase::TODAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 263 | DateExpressionToken::Tomorrow => Ok(DateBase::TOMORROW), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | DateExpressionToken::Yesterday => Ok(DateBase::YESTERDAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:274:5 [INFO] [stderr] | [INFO] [stderr] 274 | DateExpressionToken::Plus => Ok(Operation::PLUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 275 | DateExpressionToken::Minus => Ok(Operation::MINUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:282:18 [INFO] [stderr] | [INFO] [stderr] 282 | if let Some(Ok(DateExpressionToken::Int(n))) = lex.next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:302:7 [INFO] [stderr] | [INFO] [stderr] 302 | DateExpressionToken::Day => Ok(DateOffsetType::DAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:303:7 [INFO] [stderr] | [INFO] [stderr] 303 | DateExpressionToken::Days => Ok(DateOffsetType::DAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:304:7 [INFO] [stderr] | [INFO] [stderr] 304 | DateExpressionToken::Week => Ok(DateOffsetType::WEEK), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:305:7 [INFO] [stderr] | [INFO] [stderr] 305 | DateExpressionToken::Weeks => Ok(DateOffsetType::WEEK), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:306:7 [INFO] [stderr] | [INFO] [stderr] 306 | DateExpressionToken::Month => Ok(DateOffsetType::MONTH), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:307:7 [INFO] [stderr] | [INFO] [stderr] 307 | DateExpressionToken::Months => Ok(DateOffsetType::MONTH), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:308:7 [INFO] [stderr] | [INFO] [stderr] 308 | DateExpressionToken::Year => Ok(DateOffsetType::YEAR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:309:7 [INFO] [stderr] | [INFO] [stderr] 309 | DateExpressionToken::Years => Ok(DateOffsetType::YEAR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:363:7 [INFO] [stderr] | [INFO] [stderr] 363 | DateExpressionToken::Day => Ok((DateOffsetType::DAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:364:7 [INFO] [stderr] | [INFO] [stderr] 364 | DateExpressionToken::Week => Ok((DateOffsetType::WEEK, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:365:7 [INFO] [stderr] | [INFO] [stderr] 365 | DateExpressionToken::Month => Ok((DateOffsetType::MONTH, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:366:7 [INFO] [stderr] | [INFO] [stderr] 366 | DateExpressionToken::Year => Ok((DateOffsetType::YEAR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:367:7 [INFO] [stderr] | [INFO] [stderr] 367 | DateExpressionToken::Fortnight => Ok((DateOffsetType::WEEK, 2)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:368:7 [INFO] [stderr] | [INFO] [stderr] 368 | DateExpressionToken::Monday => Ok((DateOffsetType::MONDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:369:7 [INFO] [stderr] | [INFO] [stderr] 369 | DateExpressionToken::Tuesday => Ok((DateOffsetType::TUESDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:370:7 [INFO] [stderr] | [INFO] [stderr] 370 | DateExpressionToken::Wednesday => Ok((DateOffsetType::WEDNESDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:371:7 [INFO] [stderr] | [INFO] [stderr] 371 | DateExpressionToken::Thursday => Ok((DateOffsetType::THURSDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:372:7 [INFO] [stderr] | [INFO] [stderr] 372 | DateExpressionToken::Friday => Ok((DateOffsetType::FRIDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:373:7 [INFO] [stderr] | [INFO] [stderr] 373 | DateExpressionToken::Saturday => Ok((DateOffsetType::SATURDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:374:7 [INFO] [stderr] | [INFO] [stderr] 374 | DateExpressionToken::Sunday => Ok((DateOffsetType::SUNDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:375:7 [INFO] [stderr] | [INFO] [stderr] 375 | DateExpressionToken::January => Ok((DateOffsetType::JAN, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:376:7 [INFO] [stderr] | [INFO] [stderr] 376 | DateExpressionToken::February => Ok((DateOffsetType::FEB, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:377:7 [INFO] [stderr] | [INFO] [stderr] 377 | DateExpressionToken::March => Ok((DateOffsetType::MAR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:378:7 [INFO] [stderr] | [INFO] [stderr] 378 | DateExpressionToken::April => Ok((DateOffsetType::APR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:379:7 [INFO] [stderr] | [INFO] [stderr] 379 | DateExpressionToken::May => Ok((DateOffsetType::MAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:380:7 [INFO] [stderr] | [INFO] [stderr] 380 | DateExpressionToken::June => Ok((DateOffsetType::JUNE, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:381:7 [INFO] [stderr] | [INFO] [stderr] 381 | DateExpressionToken::July => Ok((DateOffsetType::JULY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:382:7 [INFO] [stderr] | [INFO] [stderr] 382 | DateExpressionToken::August => Ok((DateOffsetType::AUG, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:383:7 [INFO] [stderr] | [INFO] [stderr] 383 | DateExpressionToken::September => Ok((DateOffsetType::SEP, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:384:7 [INFO] [stderr] | [INFO] [stderr] 384 | DateExpressionToken::October => Ok((DateOffsetType::OCT, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:385:7 [INFO] [stderr] | [INFO] [stderr] 385 | DateExpressionToken::November => Ok((DateOffsetType::NOV, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:386:7 [INFO] [stderr] | [INFO] [stderr] 386 | DateExpressionToken::December => Ok((DateOffsetType::DEC, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | TimeExpressionToken::Now => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:69:7 [INFO] [stderr] | [INFO] [stderr] 69 | TimeExpressionToken::Midnight => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:70:7 [INFO] [stderr] | [INFO] [stderr] 70 | TimeExpressionToken::Noon => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:71:7 [INFO] [stderr] | [INFO] [stderr] 71 | TimeExpressionToken::Digits(_) => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 78 | TimeExpressionToken::Plus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:79:7 [INFO] [stderr] | [INFO] [stderr] 79 | TimeExpressionToken::Minus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error: aborting due to 183 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pact_models` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/generators/date_expression_parser.rs [INFO] [stderr] * src/generators/datetime_expressions.rs [INFO] [stderr] * src/generators/time_expression_parser.rs [INFO] [stderr] * src/matchingrules/expressions.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/matchingrules/expressions.rs:242:16 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/generators/date_expression_parser.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/generators/time_expression_parser.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Logos + use<'s>, Debug, PartialEq, Copy, Clone)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::generators::date_expression_parser::DateExpressionToken` [INFO] [stderr] --> src/generators/datetime_expressions.rs:69:49 [INFO] [stderr] | [INFO] [stderr] 69 | use crate::generators::date_expression_parser::{DateExpressionToken, ParsedDateExpression}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `DateExpressionToken` in `generators::date_expression_parser` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::generators::time_expression_parser::TimeExpressionToken` [INFO] [stderr] --> src/generators/datetime_expressions.rs:70:71 [INFO] [stderr] | [INFO] [stderr] 70 | use crate::generators::time_expression_parser::{ParsedTimeExpression, TimeExpressionToken}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `TimeExpressionToken` in `generators::time_expression_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1229:26 [INFO] [stderr] | [INFO] [stderr] 1229 | let mut lex = super::MatcherDefinitionToken::lexer("100 notEmpty(100)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1244:27 [INFO] [stderr] | [INFO] [stderr] 1244 | let mut lex2 = super::MatcherDefinitionToken::lexer("100"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1338:26 [INFO] [stderr] | [INFO] [stderr] 1338 | let mut lex = super::MatcherDefinitionToken::lexer("type, '1.0.0')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1342:26 [INFO] [stderr] | [INFO] [stderr] 1342 | let mut lex = super::MatcherDefinitionToken::lexer("match("); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1357:26 [INFO] [stderr] | [INFO] [stderr] 1357 | let mut lex = super::MatcherDefinitionToken::lexer("match(100, '100')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1372:26 [INFO] [stderr] | [INFO] [stderr] 1372 | let mut lex = super::MatcherDefinitionToken::lexer("match(testABBC, '100')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1392:26 [INFO] [stderr] | [INFO] [stderr] 1392 | let mut lex = super::MatcherDefinitionToken::lexer("$'bob'"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1398:26 [INFO] [stderr] | [INFO] [stderr] 1398 | let mut lex = super::MatcherDefinitionToken::lexer("match($"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] --> src/matchingrules/expressions.rs:1413:26 [INFO] [stderr] | [INFO] [stderr] 1413 | let mut lex = super::MatcherDefinitionToken::lexer("match($100)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `MatcherDefinitionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:406:26 [INFO] [stderr] | [INFO] [stderr] 406 | let mut lex = super::DateExpressionToken::lexer("not valid"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:421:26 [INFO] [stderr] | [INFO] [stderr] 421 | let mut lex = super::DateExpressionToken::lexer("now today not valid"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:439:26 [INFO] [stderr] | [INFO] [stderr] 439 | let mut lex = super::DateExpressionToken::lexer("now"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:445:26 [INFO] [stderr] | [INFO] [stderr] 445 | let mut lex = super::DateExpressionToken::lexer(" today "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:451:26 [INFO] [stderr] | [INFO] [stderr] 451 | let mut lex = super::DateExpressionToken::lexer("tomorrow"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:457:26 [INFO] [stderr] | [INFO] [stderr] 457 | let mut lex = super::DateExpressionToken::lexer("yesterday"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:466:26 [INFO] [stderr] | [INFO] [stderr] 466 | let mut lex = super::DateExpressionToken::lexer("+1 day"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:478:26 [INFO] [stderr] | [INFO] [stderr] 478 | let mut lex = super::DateExpressionToken::lexer("+ 2 weeks - 1 day"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:498:26 [INFO] [stderr] | [INFO] [stderr] 498 | let mut lex = super::DateExpressionToken::lexer("today + 2 week"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DateExpressionToken` in `super` [INFO] [stderr] --> src/generators/date_expression_parser.rs:510:26 [INFO] [stderr] | [INFO] [stderr] 510 | let mut lex = super::DateExpressionToken::lexer("today 2 week"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `DateExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:352:26 [INFO] [stderr] | [INFO] [stderr] 352 | let mut lex = super::TimeExpressionToken::lexer("not valid"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:367:26 [INFO] [stderr] | [INFO] [stderr] 367 | let mut lex = super::TimeExpressionToken::lexer("44 o'clock"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:382:26 [INFO] [stderr] | [INFO] [stderr] 382 | let mut lex = super::TimeExpressionToken::lexer("now today not valid"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:400:26 [INFO] [stderr] | [INFO] [stderr] 400 | let mut lex = super::TimeExpressionToken::lexer("now"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:406:26 [INFO] [stderr] | [INFO] [stderr] 406 | let mut lex = super::TimeExpressionToken::lexer(" midnight "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:412:26 [INFO] [stderr] | [INFO] [stderr] 412 | let mut lex = super::TimeExpressionToken::lexer("noon"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:418:26 [INFO] [stderr] | [INFO] [stderr] 418 | let mut lex = super::TimeExpressionToken::lexer("1 o'clock"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:427:26 [INFO] [stderr] | [INFO] [stderr] 427 | let mut lex = super::TimeExpressionToken::lexer("+1 hour"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:439:26 [INFO] [stderr] | [INFO] [stderr] 439 | let mut lex = super::TimeExpressionToken::lexer("+ 2 hours - 1 second"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:459:26 [INFO] [stderr] | [INFO] [stderr] 459 | let mut lex = super::TimeExpressionToken::lexer("midnight + 2 hours"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimeExpressionToken` in `super` [INFO] [stderr] --> src/generators/time_expression_parser.rs:471:26 [INFO] [stderr] | [INFO] [stderr] 471 | let mut lex = super::TimeExpressionToken::lexer("midnight 2 week"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `TimeExpressionToken` in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:340:40 [INFO] [stderr] | [INFO] [stderr] 340 | fn matching_definition(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 340 | fn matching_definition(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:368:44 [INFO] [stderr] | [INFO] [stderr] 368 | fn matching_definition_exp(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 368 | fn matching_definition_exp(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:451:37 [INFO] [stderr] | [INFO] [stderr] 451 | fn parse_each_value(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 451 | fn parse_each_value(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:481:34 [INFO] [stderr] | [INFO] [stderr] 481 | fn error_message(lex: &mut Lexer, v: &str, error: &str, additional: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 481 | fn error_message(lex: &mut Lexer, v: &str, error: &str, additional: &str) -> Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:495:35 [INFO] [stderr] | [INFO] [stderr] 495 | fn parse_each_key(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 495 | fn parse_each_key(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:536:19 [INFO] [stderr] | [INFO] [stderr] 536 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 535 | fn parse_not_empty( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:554:35 [INFO] [stderr] | [INFO] [stderr] 554 | fn parse_matching(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:589:47 [INFO] [stderr] | [INFO] [stderr] 589 | fn parse_matching_rule(lex: &mut logos::Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option(lex: &mut logos::Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:637:36 [INFO] [stderr] | [INFO] [stderr] 637 | fn parse_reference(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:643:33 [INFO] [stderr] | [INFO] [stderr] 643 | fn parse_semver(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:666:19 [INFO] [stderr] | [INFO] [stderr] 666 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 665 | fn parse_equality( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:675:32 [INFO] [stderr] | [INFO] [stderr] 675 | fn parse_regex(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:685:19 [INFO] [stderr] | [INFO] [stderr] 685 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 684 | fn parse_type( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:694:35 [INFO] [stderr] | [INFO] [stderr] 694 | fn parse_datetime(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:711:31 [INFO] [stderr] | [INFO] [stderr] 711 | fn parse_date(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:728:31 [INFO] [stderr] | [INFO] [stderr] 728 | fn parse_time(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:745:34 [INFO] [stderr] | [INFO] [stderr] 745 | fn parse_include(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:752:39 [INFO] [stderr] | [INFO] [stderr] 752 | fn parse_content_type(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Optio... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 752 | fn parse_content_type(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:773:19 [INFO] [stderr] | [INFO] [stderr] 773 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 772 | fn parse_primitive_value( [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:814:33 [INFO] [stderr] | [INFO] [stderr] 814 | fn parse_number(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:842:34 [INFO] [stderr] | [INFO] [stderr] 842 | fn parse_integer(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:861:34 [INFO] [stderr] | [INFO] [stderr] 861 | fn parse_decimal(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:889:34 [INFO] [stderr] | [INFO] [stderr] 889 | fn parse_boolean(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option, Option, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:899:33 [INFO] [stderr] | [INFO] [stderr] 899 | fn parse_string(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 899 | fn parse_string(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1008:32 [INFO] [stderr] | [INFO] [stderr] 1008 | fn parse_comma(lex: &mut Lexer, v: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1008 | fn parse_comma(lex: &mut Lexer, v: &str) -> anyhow::Result<()> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1040:39 [INFO] [stderr] | [INFO] [stderr] 1040 | fn parse_length_param(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1040 | fn parse_length_param(lex: &mut Lexer, v: &str) -> anyhow::Result { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MatcherDefinitionToken` in this scope [INFO] [stderr] --> src/matchingrules/expressions.rs:1060:40 [INFO] [stderr] | [INFO] [stderr] 1060 | fn from_provider_state(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1060 | fn from_provider_state(lex: &mut Lexer, v: &str) -> anyhow::Result<(String, ValueType, Option)> { [INFO] [stderr] | ++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | impl DateExpressionToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:166:46 [INFO] [stderr] | [INFO] [stderr] 166 | pub(crate) fn expression<'a>(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 166 | pub(crate) fn expression<'a, DateExpressionToken>(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:229:32 [INFO] [stderr] | [INFO] [stderr] 229 | fn adjustments(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result>> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:229:73 [INFO] [stderr] | [INFO] [stderr] 229 | fn adjustments(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result src/generators/date_expression_parser.rs:244:31 [INFO] [stderr] | [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stderr] --> src/generators/date_expression_parser.rs:244:72 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 244 | fn adjustment(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result> { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(json) = gen.to_json() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:304:102 [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:308:102 [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:259:25 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | for (path, gen) in values { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | category_map.insert(path.clone(), gen.clone()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:898:18 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:898:40 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:986:56 [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.gen::())), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1075:68 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:1163:63 [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().gen::())), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/expressions.rs:1091:9 [INFO] [stdout] | [INFO] [stdout] 1091 | ($e:expr) => {{ $e.map_err(|err| err.to_string()) }}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1091 | ($e:expr_2021) => {{ $e.map_err(|err| err.to_string()) }}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1393:16 [INFO] [stdout] | [INFO] [stdout] 1393 | ( $( $name:expr => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1393 | ( $( $name:expr_2021 => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:259:66 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1394:21 [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr_2021 => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1394:43 [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr ), * ] ),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1394 | $( $subname:expr => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 259 | fn base(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:11 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr_2021 ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:30 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr_2021 => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1424:52 [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr ), * ] ),* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1424 | ( $name:expr ; $( $subname:expr => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1438:11 [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr_2021 ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:272:30 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr ), * ] ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1438 | ( $name:expr ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:737:18 [INFO] [stdout] | [INFO] [stdout] 737 | $( $category:expr => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 737 | $( $category:expr_2021 => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr_2021 => $generator:expr ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:738:38 [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 738 | $( $subname:expr => $generator:expr_2021 ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr_2021 => $generator:expr ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generators/mod.rs:761:37 [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr ), * [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 761 | $( $category:expr => $generator:expr_2021 ), * [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/http_parts.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | Some(ref h) => match h.iter().find(|kv| kv.0.to_lowercase() == "content-type") { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Some(Value::Array(ref array)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/pact.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | Some(Value::Object(ref obj)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | MatchingRule::Regex(ref r) => json!({ "match": "regex", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | MatchingRule::Timestamp(ref t) => json!({ "match": "datetime", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:272:71 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | MatchingRule::Time(ref t) => json!({ "match": "time", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | MatchingRule::Date(ref d) => json!({ "match": "date", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 272 | fn operation(lex: &mut Lexer, exp: &str, token: &DateExpressionToken) -> anyhow::Result { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | MatchingRule::Include(ref s) => json!({ "match": "include", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | MatchingRule::ContentType(ref r) => json!({ "match": "contentType", [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | if let Value::Object(ref map) = v { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | Generator::Regex(ref regex) => Some(json!({ "type": "Regex", "regex": regex })), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:281:29 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | Generator::ProviderStateGenerator(ref expression, ref data_type) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:893:7 [INFO] [stdout] | [INFO] [stdout] 893 | Generator::Regex(ref regex) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 281 | fn duration(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:987:7 [INFO] [stdout] | [INFO] [stdout] 987 | Generator::ProviderStateGenerator(ref exp, ref dt) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:1070:7 [INFO] [stdout] | [INFO] [stdout] 1070 | Generator::Regex(ref regex) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:1164:7 [INFO] [stdout] | [INFO] [stdout] 1164 | Generator::ProviderStateGenerator(ref exp, ref dt) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 281 | fn duration(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(i) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 133 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 134 | } else if let Some(i) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 135 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 136 | } else if let Some(i) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | } else if let Some(i) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | } else if let Some(i) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ match self.as_v4_http() { Some(i) => { [INFO] [stdout] 133 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 134 ~ } _ => { match self.as_v4_async_message() { Some(i) => { [INFO] [stdout] 135 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 136 ~ } _ => { match self.as_v4_sync_message() { Some(i) => { [INFO] [stdout] 137 | std::fmt::Display::fmt(&i, f) [INFO] [stdout] 138 ~ } _ => { [INFO] [stdout] 139 | Err(fmt::Error) [INFO] [stdout] 140 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 147 | Box::new(http) [INFO] [stdout] 148 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 149 | Box::new(message) [INFO] [stdout] 150 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 147 | Box::new(http) [INFO] [stdout] 148 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 149 | Box::new(message) [INFO] [stdout] 150 ~ } _ => { match self.as_v4_sync_message() { Some(message) => { [INFO] [stdout] 151 | Box::new(message) [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 154 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 166 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 172 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(message) = self.as_v4_sync_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 160 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 161 | if let Some(other) = other.as_v4_http() { [INFO] [stdout] ... [INFO] [stdout] 165 | } [INFO] [stdout] 166 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 167 | if let Some(other) = other.as_v4_async_message() { [INFO] [stdout] ... [INFO] [stdout] 171 | } [INFO] [stdout] 172 ~ } _ => { match self.as_v4_sync_message() { Some(message) => { [INFO] [stdout] 173 | if let Some(other) = other.as_v4_sync_message() { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | false [INFO] [stdout] 180 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(other) = other.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match other.as_v4_http() { Some(other) => { [INFO] [stdout] 162 | http == other [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | false [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:299:34 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(other) = other.as_v4_async_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match other.as_v4_async_message() { Some(other) => { [INFO] [stdout] 168 | message == other [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | false [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(other) = other.as_v4_sync_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match other.as_v4_sync_message() { Some(other) => { [INFO] [stdout] 174 | message == other [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | false [INFO] [stdout] 177 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 299 | fn duration_type(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(err) = rules.clone().find(|rule| rule.is_err()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match rules.clone().find(|rule| rule.is_err()) { Some(err) => { [INFO] [stdout] 49 | Err(anyhow!("Matching rule configuration is not correct - {}", err.unwrap_err())) [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Ok(rules.map(|rule| Either::Left(rule.unwrap())).collect()) [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: `impl CallbackResult<'s, i64, expressions::MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, i64, expressions::MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: `impl CallbackResult<'s, usize, expressions::MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, usize, expressions::MatcherDefinitionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matchingrules/expressions.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 299 | fn duration_type(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stdout] warning: `impl CallbackResult<'s, u64, DateExpressionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/generators/date_expression_parser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/generators/date_expression_parser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stdout] warning: `impl CallbackResult<'s, u64, TimeExpressionToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/generators/time_expression_parser.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/generators/time_expression_parser.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Logos + use<'s>, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(req_res) = self.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 149 | std::fmt::Display::fmt(&req_res, f) [INFO] [stdout] 150 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 151 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 152 | } else if let Some(mp) = self.as_v4_http() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 153 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 154 | } else if let Some(mp) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else if let Some(mp) = self.as_v4_http() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | } else if let Some(mp) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match self.as_request_response() { Some(req_res) => { [INFO] [stdout] 149 | std::fmt::Display::fmt(&req_res, f) [INFO] [stdout] 150 ~ } _ => { match self.as_message() { Some(mp) => { [INFO] [stdout] 151 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 152 ~ } _ => { match self.as_v4_http() { Some(mp) => { [INFO] [stdout] 153 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 154 ~ } _ => { match self.as_v4_async_message() { Some(mp) => { [INFO] [stdout] 155 | std::fmt::Display::fmt(&mp, f) [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | Err(fmt::Error) [INFO] [stdout] 158 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `DateExpressionToken` in this scope [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(req_res) = self.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 173 | Box::new(req_res) [INFO] [stdout] 174 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | } else if let Some(mp) = self.as_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ } else { match self.as_request_response() { Some(req_res) => { [INFO] [stdout] 173 | Box::new(req_res) [INFO] [stdout] 174 ~ } _ => { match self.as_message() { Some(mp) => { [INFO] [stdout] 175 | Box::new(mp) [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 178 ~ }}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/generators/date_expression_parser.rs:360:27 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interaction.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(http) = self.as_v4_http() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 166 | Box::new(http) [INFO] [stdout] 167 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | } else if let Some(message) = self.as_v4_async_message() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interaction.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.as_v4_http() { Some(http) => { [INFO] [stdout] 166 | Box::new(http) [INFO] [stdout] 167 ~ } _ => { match self.as_v4_async_message() { Some(message) => { [INFO] [stdout] 168 | Box::new(message) [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | panic!("Internal Error - Tried to clone an interaction that was not valid") [INFO] [stdout] 171 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync_interaction.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(other) = other.as_request_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sync_interaction.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match other.as_request_response() { Some(other) => { [INFO] [stdout] 216 | if self.description == other.description && self.provider_states == other.provider_states { [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | vec![PactConflict { [INFO] [stdout] ... [INFO] [stdout] 238 | }] [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 360 | fn offset(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | if let Ok(pact) = self.as_v4_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 118 | } else if let Ok(pact) = self.as_request_response_pact() { [INFO] [stdout] | ------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 124 | } else if let Ok(pact) = self.as_message_pact() { [INFO] [stdout] | ---------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | } else if let Ok(pact) = self.as_request_response_pact() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | } else if let Ok(pact) = self.as_message_pact() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.as_v4_pact() { Ok(pact) => { [INFO] [stdout] 113 | if let Ok(other) = other.as_v4_pact() { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { match self.as_request_response_pact() { Ok(pact) => { [INFO] [stdout] 119 | if let Ok(other) = other.as_request_response_pact() { [INFO] [stdout] ... [INFO] [stdout] 123 | } [INFO] [stdout] 124 ~ } _ => { match self.as_message_pact() { Ok(pact) => { [INFO] [stdout] 125 | if let Ok(other) = other.as_message_pact() { [INFO] [stdout] ... [INFO] [stdout] 129 | } [INFO] [stdout] 130 ~ } _ => { [INFO] [stdout] 131 | false [INFO] [stdout] 132 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | if let Ok(other) = other.as_v4_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 113 ~ match other.as_v4_pact() { Ok(other) => { [INFO] [stdout] 114 | pact == other [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | false [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(other) = other.as_request_response_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match other.as_request_response_pact() { Ok(other) => { [INFO] [stdout] 120 | pact == other [INFO] [stdout] 121 ~ } _ => { [INFO] [stdout] 122 | false [INFO] [stdout] 123 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pact.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | if let Ok(other) = other.as_message_pact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pact.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match other.as_message_pact() { Ok(other) => { [INFO] [stdout] 126 | pact == other [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | false [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 360 | fn offset(lex: &mut Lexer, exp: &str) -> anyhow::Result<(DateOffsetType, u64)> { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | impl TimeExpressionToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:98:42 [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn expression(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn expression(lex: &mut Lexer, exp: &str) -> anyhow::Result { [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:172:19 [INFO] [stderr] | [INFO] [stderr] 172 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 171 | fn base( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:175:39 [INFO] [stderr] | [INFO] [stderr] 175 | ) -> anyhow::Result<(TimeBase, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 171 | fn base( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:195:19 [INFO] [stderr] | [INFO] [stderr] 195 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 194 | fn oclock( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:197:40 [INFO] [stderr] | [INFO] [stderr] 197 | ) -> anyhow::Result<(ClockHour, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 194 | fn oclock( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:224:19 [INFO] [stderr] | [INFO] [stderr] 224 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 223 | fn adjustments( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:251:19 [INFO] [stderr] | [INFO] [stderr] 251 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 250 | fn adjustment( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:266:19 [INFO] [stderr] | [INFO] [stderr] 266 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 265 | fn duration( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:287:19 [INFO] [stderr] | [INFO] [stderr] 287 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 286 | fn duration_type( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:307:19 [INFO] [stderr] | [INFO] [stderr] 307 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 306 | fn operation( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:309:10 [INFO] [stderr] | [INFO] [stderr] 309 | token: TimeExpressionToken [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimeExpressionToken` in this scope [INFO] [stderr] --> src/generators/time_expression_parser.rs:324:19 [INFO] [stderr] | [INFO] [stderr] 324 | lex: &mut Lexer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 323 | fn offset( [INFO] [stderr] | +++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:311:19 [INFO] [stderr] | [INFO] [stderr] 311 | let mut lex = MatcherDefinitionToken::lexer(v); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:322:19 [INFO] [stderr] | [INFO] [stderr] 322 | let mut lex = MatcherDefinitionToken::lexer(v); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:325:19 [INFO] [stderr] | [INFO] [stderr] 325 | if token == MatcherDefinitionToken::Matching || token == MatcherDefinitionToken::NotEmpty || [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:325:64 [INFO] [stderr] | [INFO] [stderr] 325 | if token == MatcherDefinitionToken::Matching || token == MatcherDefinitionToken::NotEmpty || [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:326:18 [INFO] [stderr] | [INFO] [stderr] 326 | token == MatcherDefinitionToken::EachKey || token == MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:326:62 [INFO] [stderr] | [INFO] [stderr] 326 | token == MatcherDefinitionToken::EachKey || token == MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:343:16 [INFO] [stderr] | [INFO] [stderr] 343 | if next == MatcherDefinitionToken::Comma { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:371:18 [INFO] [stderr] | [INFO] [stderr] 371 | if token == &MatcherDefinitionToken::Matching { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:388:25 [INFO] [stderr] | [INFO] [stderr] 388 | } else if token == &MatcherDefinitionToken::NotEmpty { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:396:25 [INFO] [stderr] | [INFO] [stderr] 396 | } else if token == &MatcherDefinitionToken::EachKey { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:399:25 [INFO] [stderr] | [INFO] [stderr] 399 | } else if token == &MatcherDefinitionToken::EachValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:402:25 [INFO] [stderr] | [INFO] [stderr] 402 | } else if token == &MatcherDefinitionToken::AtLeast { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:410:25 [INFO] [stderr] | [INFO] [stderr] 410 | } else if token == &MatcherDefinitionToken::AtMost { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1227:37 [INFO] [stderr] | [INFO] [stderr] 1227 | expect!(super::parse_comma(&mut MatcherDefinitionToken::lexer(", notEmpty('Value')"), ", notEmpty('Value')")).to(be_ok()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1433:19 [INFO] [stderr] | [INFO] [stderr] 1433 | let mut lex = MatcherDefinitionToken::lexer("notEmpty('test')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1443:19 [INFO] [stderr] | [INFO] [stderr] 1443 | let mut lex = MatcherDefinitionToken::lexer("matching(regex, '.*', 'aaabbb')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1453:19 [INFO] [stderr] | [INFO] [stderr] 1453 | let mut lex = MatcherDefinitionToken::lexer("matching($'test')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1463:19 [INFO] [stderr] | [INFO] [stderr] 1463 | let mut lex = MatcherDefinitionToken::lexer("eachKey(matching(regex, '.*', 'aaabbb'))"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1478:19 [INFO] [stderr] | [INFO] [stderr] 1478 | let mut lex = MatcherDefinitionToken::lexer("eachValue(matching(regex, '.*', 'aaabbb'))"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1493:19 [INFO] [stderr] | [INFO] [stderr] 1493 | let mut lex = MatcherDefinitionToken::lexer("100"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1509:19 [INFO] [stderr] | [INFO] [stderr] 1509 | let mut lex = MatcherDefinitionToken::lexer("somethingElse('to test')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1527:19 [INFO] [stderr] | [INFO] [stderr] 1527 | let mut lex = MatcherDefinitionToken::lexer("(matching($'bob'))"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1541:19 [INFO] [stderr] | [INFO] [stderr] 1541 | let mut lex = MatcherDefinitionToken::lexer("eachKey"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1555:19 [INFO] [stderr] | [INFO] [stderr] 1555 | let mut lex = MatcherDefinitionToken::lexer("eachKey matching"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1569:19 [INFO] [stderr] | [INFO] [stderr] 1569 | let mut lex = MatcherDefinitionToken::lexer("eachKey(matching(type, 'test') stuff"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1583:19 [INFO] [stderr] | [INFO] [stderr] 1583 | let mut lex = MatcherDefinitionToken::lexer("eachKey(matching(type, 'test')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1600:19 [INFO] [stderr] | [INFO] [stderr] 1600 | let mut lex = MatcherDefinitionToken::lexer("(matching($'bob'))"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1614:19 [INFO] [stderr] | [INFO] [stderr] 1614 | let mut lex = MatcherDefinitionToken::lexer("eachKey"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1628:19 [INFO] [stderr] | [INFO] [stderr] 1628 | let mut lex = MatcherDefinitionToken::lexer("eachKey matching"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1642:19 [INFO] [stderr] | [INFO] [stderr] 1642 | let mut lex = MatcherDefinitionToken::lexer("eachKey(matching(type, 'test') stuff"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1656:19 [INFO] [stderr] | [INFO] [stderr] 1656 | let mut lex = MatcherDefinitionToken::lexer("eachKey(matching(type, 'test')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1794:19 [INFO] [stderr] | [INFO] [stderr] 1794 | let mut lex = MatcherDefinitionToken::lexer(expression); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1832:19 [INFO] [stderr] | [INFO] [stderr] 1832 | let mut lex = MatcherDefinitionToken::lexer("atLeast(1)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1842:19 [INFO] [stderr] | [INFO] [stderr] 1842 | let mut lex = MatcherDefinitionToken::lexer("atLeast"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1855:19 [INFO] [stderr] | [INFO] [stderr] 1855 | let mut lex = MatcherDefinitionToken::lexer("atLeast(-10)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1867:19 [INFO] [stderr] | [INFO] [stderr] 1867 | let mut lex = MatcherDefinitionToken::lexer("atLeast('10')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1879:19 [INFO] [stderr] | [INFO] [stderr] 1879 | let mut lex = MatcherDefinitionToken::lexer("atLeast(10"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1894:19 [INFO] [stderr] | [INFO] [stderr] 1894 | let mut lex = MatcherDefinitionToken::lexer("atMost(100)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1904:19 [INFO] [stderr] | [INFO] [stderr] 1904 | let mut lex = MatcherDefinitionToken::lexer("atMost"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1917:19 [INFO] [stderr] | [INFO] [stderr] 1917 | let mut lex = MatcherDefinitionToken::lexer("atMost(-10)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1929:19 [INFO] [stderr] | [INFO] [stderr] 1929 | let mut lex = MatcherDefinitionToken::lexer("atMost('10')"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1941:19 [INFO] [stderr] | [INFO] [stderr] 1941 | let mut lex = MatcherDefinitionToken::lexer("atMost(10"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | } else if token == DateExpressionToken::Next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:196:24 [INFO] [stderr] | [INFO] [stderr] 196 | } else if token == DateExpressionToken::Last { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | } else if token == TimeExpressionToken::Next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:132:24 [INFO] [stderr] | [INFO] [stderr] 132 | } else if token == TimeExpressionToken::Last { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:199:17 [INFO] [stderr] | [INFO] [stderr] 199 | if token == TimeExpressionToken::OClock { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | if next == TimeExpressionToken::Am { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:204:27 [INFO] [stderr] | [INFO] [stderr] 204 | } else if next == TimeExpressionToken::Pm { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:332:7 [INFO] [stderr] | [INFO] [stderr] 332 | TimeExpressionToken::Milliseconds => Ok(TimeOffsetType::MILLISECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:331:7 [INFO] [stderr] | [INFO] [stderr] 331 | TimeExpressionToken::Seconds => Ok(TimeOffsetType::SECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:330:7 [INFO] [stderr] | [INFO] [stderr] 330 | TimeExpressionToken::Minutes => Ok(TimeOffsetType::MINUTE), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:329:7 [INFO] [stderr] | [INFO] [stderr] 329 | TimeExpressionToken::Hours => Ok(TimeOffsetType::HOUR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:313:5 [INFO] [stderr] | [INFO] [stderr] 313 | TimeExpressionToken::Minus => Ok(Operation::MINUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:312:5 [INFO] [stderr] | [INFO] [stderr] 312 | TimeExpressionToken::Plus => Ok(Operation::PLUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:295:7 [INFO] [stderr] | [INFO] [stderr] 295 | TimeExpressionToken::Milliseconds => Ok(TimeOffsetType::MILLISECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:294:7 [INFO] [stderr] | [INFO] [stderr] 294 | TimeExpressionToken::Seconds => Ok(TimeOffsetType::SECOND), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:293:7 [INFO] [stderr] | [INFO] [stderr] 293 | TimeExpressionToken::Minutes => Ok(TimeOffsetType::MINUTE), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:292:7 [INFO] [stderr] | [INFO] [stderr] 292 | TimeExpressionToken::Hours => Ok(TimeOffsetType::HOUR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:269:18 [INFO] [stderr] | [INFO] [stderr] 269 | if let Some(Ok(TimeExpressionToken::Digits(n))) = lex.next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:364:7 [INFO] [stderr] | [INFO] [stderr] 364 | DateExpressionToken::Week => Ok((DateOffsetType::WEEK, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:365:7 [INFO] [stderr] | [INFO] [stderr] 365 | DateExpressionToken::Month => Ok((DateOffsetType::MONTH, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:454:13 [INFO] [stderr] | [INFO] [stderr] 454 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:457:15 [INFO] [stderr] | [INFO] [stderr] 457 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:498:13 [INFO] [stderr] | [INFO] [stderr] 498 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:501:15 [INFO] [stderr] | [INFO] [stderr] 501 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:540:13 [INFO] [stderr] | [INFO] [stderr] 540 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:543:15 [INFO] [stderr] | [INFO] [stderr] 543 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:556:13 [INFO] [stderr] | [INFO] [stderr] 556 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:559:15 [INFO] [stderr] | [INFO] [stderr] 559 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:592:13 [INFO] [stderr] | [INFO] [stderr] 592 | if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:621:20 [INFO] [stderr] | [INFO] [stderr] 621 | } else if let Ok(MatcherDefinitionToken::Dollar) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:779:8 [INFO] [stderr] | [INFO] [stderr] 779 | Ok(MatcherDefinitionToken::String) => Ok((lex.slice().trim_matches('\'').to_string(), ValueType::String, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:780:8 [INFO] [stderr] | [INFO] [stderr] 780 | Ok(MatcherDefinitionToken::Null) => Ok((String::new(), ValueType::String, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:781:8 [INFO] [stderr] | [INFO] [stderr] 781 | Ok(MatcherDefinitionToken::Int(_)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:792:8 [INFO] [stderr] | [INFO] [stderr] 792 | Ok(MatcherDefinitionToken::Num(_)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:803:8 [INFO] [stderr] | [INFO] [stderr] 803 | Ok(MatcherDefinitionToken::Decimal) => Ok((lex.slice().to_string(), ValueType::Decimal, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:804:8 [INFO] [stderr] | [INFO] [stderr] 804 | Ok(MatcherDefinitionToken::Boolean) => Ok((lex.slice().to_string(), ValueType::Boolean, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:805:8 [INFO] [stderr] | [INFO] [stderr] 805 | Ok(MatcherDefinitionToken::Id) if lex.slice() == "fromProviderState" && !already_called => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:817:13 [INFO] [stderr] | [INFO] [stderr] 817 | if let Ok(MatcherDefinitionToken::Decimal) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:819:20 [INFO] [stderr] | [INFO] [stderr] 819 | } else if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:819:53 [INFO] [stderr] | [INFO] [stderr] 819 | } else if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:829:20 [INFO] [stderr] | [INFO] [stderr] 829 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:845:13 [INFO] [stderr] | [INFO] [stderr] 845 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:845:46 [INFO] [stderr] | [INFO] [stderr] 845 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:847:20 [INFO] [stderr] | [INFO] [stderr] 847 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:864:13 [INFO] [stderr] | [INFO] [stderr] 864 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:864:46 [INFO] [stderr] | [INFO] [stderr] 864 | if let Ok(MatcherDefinitionToken::Int(_) | MatcherDefinitionToken::Num(_)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:874:20 [INFO] [stderr] | [INFO] [stderr] 874 | } else if let Ok(MatcherDefinitionToken::Decimal) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:876:20 [INFO] [stderr] | [INFO] [stderr] 876 | } else if let Ok(MatcherDefinitionToken::Id) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:892:13 [INFO] [stderr] | [INFO] [stderr] 892 | if let Ok(MatcherDefinitionToken::Boolean) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:901:13 [INFO] [stderr] | [INFO] [stderr] 901 | if let Ok(MatcherDefinitionToken::String) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1010:13 [INFO] [stderr] | [INFO] [stderr] 1010 | if let Ok(MatcherDefinitionToken::Comma) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1042:13 [INFO] [stderr] | [INFO] [stderr] 1042 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1044:15 [INFO] [stderr] | [INFO] [stderr] 1044 | if let Ok(MatcherDefinitionToken::Num(length)) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1046:17 [INFO] [stderr] | [INFO] [stderr] 1046 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1062:13 [INFO] [stderr] | [INFO] [stderr] 1062 | if let Ok(MatcherDefinitionToken::LeftBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] --> src/matchingrules/expressions.rs:1067:15 [INFO] [stderr] | [INFO] [stderr] 1067 | if let Ok(MatcherDefinitionToken::RightBracket) = next { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MatcherDefinitionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:366:7 [INFO] [stderr] | [INFO] [stderr] 366 | DateExpressionToken::Year => Ok((DateOffsetType::YEAR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | TimeExpressionToken::Digits(d) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | TimeExpressionToken::Noon => Ok((TimeBase::Noon, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | TimeExpressionToken::Midnight => Ok((TimeBase::Midnight, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | TimeExpressionToken::Now => Ok((TimeBase::Now, None)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:367:7 [INFO] [stderr] | [INFO] [stderr] 367 | DateExpressionToken::Fortnight => Ok((DateOffsetType::WEEK, 2)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:368:7 [INFO] [stderr] | [INFO] [stderr] 368 | DateExpressionToken::Monday => Ok((DateOffsetType::MONDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:79:7 [INFO] [stderr] | [INFO] [stderr] 79 | TimeExpressionToken::Minus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 78 | TimeExpressionToken::Plus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:71:7 [INFO] [stderr] | [INFO] [stderr] 71 | TimeExpressionToken::Digits(_) => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:70:7 [INFO] [stderr] | [INFO] [stderr] 70 | TimeExpressionToken::Noon => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:69:7 [INFO] [stderr] | [INFO] [stderr] 69 | TimeExpressionToken::Midnight => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TimeExpressionToken` [INFO] [stderr] --> src/generators/time_expression_parser.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | TimeExpressionToken::Now => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `TimeExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:386:7 [INFO] [stderr] | [INFO] [stderr] 386 | DateExpressionToken::December => Ok((DateOffsetType::DEC, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:385:7 [INFO] [stderr] | [INFO] [stderr] 385 | DateExpressionToken::November => Ok((DateOffsetType::NOV, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:384:7 [INFO] [stderr] | [INFO] [stderr] 384 | DateExpressionToken::October => Ok((DateOffsetType::OCT, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:383:7 [INFO] [stderr] | [INFO] [stderr] 383 | DateExpressionToken::September => Ok((DateOffsetType::SEP, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:382:7 [INFO] [stderr] | [INFO] [stderr] 382 | DateExpressionToken::August => Ok((DateOffsetType::AUG, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:381:7 [INFO] [stderr] | [INFO] [stderr] 381 | DateExpressionToken::July => Ok((DateOffsetType::JULY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:380:7 [INFO] [stderr] | [INFO] [stderr] 380 | DateExpressionToken::June => Ok((DateOffsetType::JUNE, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:379:7 [INFO] [stderr] | [INFO] [stderr] 379 | DateExpressionToken::May => Ok((DateOffsetType::MAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:378:7 [INFO] [stderr] | [INFO] [stderr] 378 | DateExpressionToken::April => Ok((DateOffsetType::APR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:377:7 [INFO] [stderr] | [INFO] [stderr] 377 | DateExpressionToken::March => Ok((DateOffsetType::MAR, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:376:7 [INFO] [stderr] | [INFO] [stderr] 376 | DateExpressionToken::February => Ok((DateOffsetType::FEB, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:375:7 [INFO] [stderr] | [INFO] [stderr] 375 | DateExpressionToken::January => Ok((DateOffsetType::JAN, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:374:7 [INFO] [stderr] | [INFO] [stderr] 374 | DateExpressionToken::Sunday => Ok((DateOffsetType::SUNDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:373:7 [INFO] [stderr] | [INFO] [stderr] 373 | DateExpressionToken::Saturday => Ok((DateOffsetType::SATURDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:372:7 [INFO] [stderr] | [INFO] [stderr] 372 | DateExpressionToken::Friday => Ok((DateOffsetType::FRIDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:371:7 [INFO] [stderr] | [INFO] [stderr] 371 | DateExpressionToken::Thursday => Ok((DateOffsetType::THURSDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:136:7 [INFO] [stderr] | [INFO] [stderr] 136 | DateExpressionToken::Now => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:137:7 [INFO] [stderr] | [INFO] [stderr] 137 | DateExpressionToken::Today => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:138:7 [INFO] [stderr] | [INFO] [stderr] 138 | DateExpressionToken::Tomorrow => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:139:7 [INFO] [stderr] | [INFO] [stderr] 139 | DateExpressionToken::Yesterday => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:146:7 [INFO] [stderr] | [INFO] [stderr] 146 | DateExpressionToken::Plus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:147:7 [INFO] [stderr] | [INFO] [stderr] 147 | DateExpressionToken::Minus => true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:370:7 [INFO] [stderr] | [INFO] [stderr] 370 | DateExpressionToken::Wednesday => Ok((DateOffsetType::WEDNESDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:369:7 [INFO] [stderr] | [INFO] [stderr] 369 | DateExpressionToken::Tuesday => Ok((DateOffsetType::TUESDAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 261 | DateExpressionToken::Now => Ok(DateBase::NOW), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | DateExpressionToken::Today => Ok(DateBase::TODAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 263 | DateExpressionToken::Tomorrow => Ok(DateBase::TOMORROW), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | DateExpressionToken::Yesterday => Ok(DateBase::YESTERDAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:274:5 [INFO] [stderr] | [INFO] [stderr] 274 | DateExpressionToken::Plus => Ok(Operation::PLUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 275 | DateExpressionToken::Minus => Ok(Operation::MINUS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:282:18 [INFO] [stderr] | [INFO] [stderr] 282 | if let Some(Ok(DateExpressionToken::Int(n))) = lex.next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:302:7 [INFO] [stderr] | [INFO] [stderr] 302 | DateExpressionToken::Day => Ok(DateOffsetType::DAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:303:7 [INFO] [stderr] | [INFO] [stderr] 303 | DateExpressionToken::Days => Ok(DateOffsetType::DAY), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:304:7 [INFO] [stderr] | [INFO] [stderr] 304 | DateExpressionToken::Week => Ok(DateOffsetType::WEEK), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:305:7 [INFO] [stderr] | [INFO] [stderr] 305 | DateExpressionToken::Weeks => Ok(DateOffsetType::WEEK), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:306:7 [INFO] [stderr] | [INFO] [stderr] 306 | DateExpressionToken::Month => Ok(DateOffsetType::MONTH), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:307:7 [INFO] [stderr] | [INFO] [stderr] 307 | DateExpressionToken::Months => Ok(DateOffsetType::MONTH), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:308:7 [INFO] [stderr] | [INFO] [stderr] 308 | DateExpressionToken::Year => Ok(DateOffsetType::YEAR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:309:7 [INFO] [stderr] | [INFO] [stderr] 309 | DateExpressionToken::Years => Ok(DateOffsetType::YEAR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `DateExpressionToken` [INFO] [stderr] --> src/generators/date_expression_parser.rs:363:7 [INFO] [stderr] | [INFO] [stderr] 363 | DateExpressionToken::Day => Ok((DateOffsetType::DAY, 1)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DateExpressionToken` [INFO] [stderr] [INFO] [stderr] error: aborting due to 242 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling pact_models v1.2.5 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | for (path, gen) in values { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 642 | for (path, r#gen) in values { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | category_map.insert(path.clone(), gen.clone()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:898:18 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 898 | Ok(r#gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:898:40 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `)` [INFO] [stdout] --> src/generators/mod.rs:898:44 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | -- ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | for (path, gen) in values { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 642 | for (path, r#gen) in values { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | category_map.insert(path.clone(), gen.clone()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:898:18 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 898 | Ok(r#gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:898:40 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `)` [INFO] [stdout] --> src/generators/mod.rs:898:44 [INFO] [stdout] | [INFO] [stdout] 898 | Ok(gen) => Ok(rnd.sample(gen)), [INFO] [stdout] | -- ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(r#gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(r#gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(json) = gen.to_json() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:304:102 [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:308:102 [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:986:56 [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.gen::())), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.r#gen::())), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1075:68 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/macros.rs:278:6 [INFO] [stdout] | [INFO] [stdout] 278 | ($other:expr) => { [INFO] [stdout] | ----------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1163:63 [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().gen::())), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().r#gen::())), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(k, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(json) = gen.to_json() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:304:102 [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 304 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/matchingrules/mod.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:308:102 [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, gen)| { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 308 | Value::Array(vec![json!(variant), rules.to_v3_json(), Value::Object(gens.iter().map(|(key, r#gen)| { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | (key.to_string(), gen.to_json().unwrap()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:986:56 [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.gen::())), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 986 | Generator::RandomBoolean => Ok(format!("{}", rnd.r#gen::())), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1075:68 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(thread_rng().sample::(gen))), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/macros.rs:278:6 [INFO] [stdout] | [INFO] [stdout] 278 | ($other:expr) => { [INFO] [stdout] | ----------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generators/mod.rs:1163:63 [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().gen::())), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1163 | Generator::RandomBoolean => Ok(json!(rand::thread_rng().r#gen::())), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/http_parts.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | Some(ref h) => match h.iter().find(|kv| kv.0.to_lowercase() == "content-type") { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Some(Value::Array(ref array)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/pact.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | Some(Value::Object(ref obj)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | if let Value::Object(ref map) = v { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | Generator::Regex(ref regex) => Some(json!({ "type": "Regex", "regex": regex })), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | Generator::ProviderStateGenerator(ref expression, ref data_type) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_models` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/http_parts.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | Some(ref h) => match h.iter().find(|kv| kv.0.to_lowercase() == "content-type") { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/interaction.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Some(Value::Array(ref array)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/v4/pact.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | Some(Value::Object(ref obj)) => { [INFO] [stdout] | ^^^^^-^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/matchingrules/mod.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | if let Value::Object(ref map) = v { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | Generator::Regex(ref regex) => Some(json!({ "type": "Regex", "regex": regex })), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/generators/mod.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | Generator::ProviderStateGenerator(ref expression, ref data_type) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/path_exp.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | if let PathToken::Field(ref field) = token { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_models` (lib test) due to 23 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f5cca22ebf55c0e63d8a76be5cc93c92dc3c29734dd93c2baef594698556b993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5cca22ebf55c0e63d8a76be5cc93c92dc3c29734dd93c2baef594698556b993", kill_on_drop: false }` [INFO] [stdout] f5cca22ebf55c0e63d8a76be5cc93c92dc3c29734dd93c2baef594698556b993