[INFO] fetching crate pact_models 1.2.4... [INFO] checking pact_models-1.2.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pact_models 1.2.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate pact_models 1.2.4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_models 1.2.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pact_models 1.2.4 [INFO] tweaked toml for crates.io crate pact_models 1.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 235 packages to latest compatible versions [INFO] [stderr] Adding ariadne v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding logos v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding logos-codegen v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding logos-derive v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rand_regex v0.15.1 (available: v0.17.0) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rstest v0.19.0 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.19.0 (available: v0.22.0) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (available: v0.8.0) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v0.14.9 (available: v2.0.77) [INFO] [stderr] Adding typed-arena v1.7.0 (available: v2.0.2) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-registry v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac1207dac9cfc8c900bdf0203dfb4f211725d28688e151ed892fec6127e77212 [INFO] running `Command { std: "docker" "start" "-a" "ac1207dac9cfc8c900bdf0203dfb4f211725d28688e151ed892fec6127e77212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac1207dac9cfc8c900bdf0203dfb4f211725d28688e151ed892fec6127e77212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1207dac9cfc8c900bdf0203dfb4f211725d28688e151ed892fec6127e77212", kill_on_drop: false }` [INFO] [stdout] ac1207dac9cfc8c900bdf0203dfb4f211725d28688e151ed892fec6127e77212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70097fb47e5903307d932eb868674de741c3ca7a65a93046a2a7bb59aca75687 [INFO] running `Command { std: "docker" "start" "-a" "70097fb47e5903307d932eb868674de741c3ca7a65a93046a2a7bb59aca75687", 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] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling pact_models v1.2.4 (/tmp/fixit) [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking uuid v1.10.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 hamcrest2 v0.3.0 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking trim-margin v0.1.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking rstest v0.19.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/mod.rs [INFO] [stderr] * src/matchingrules/expressions.rs [INFO] [stderr] * src/matchingrules/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/expressions.rs:1091:6 [INFO] [stderr] | [INFO] [stderr] 1091 | ($e:expr_2021) => {{ $e.map_err(|err| err.to_string()) }}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1388:10 [INFO] [stderr] | [INFO] [stderr] 1388 | ( $( $name:expr_2021 => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1389:12 [INFO] [stderr] | [INFO] [stderr] 1389 | $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1389:39 [INFO] [stderr] | [INFO] [stderr] 1389 | $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:5 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:26 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:53 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1433:5 [INFO] [stderr] | [INFO] [stderr] 1433 | ( $name:expr_2021 ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1433:28 [INFO] [stderr] | [INFO] [stderr] 1433 | ( $name:expr_2021 ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:737:8 [INFO] [stderr] | [INFO] [stderr] 737 | $( $category:expr_2021 => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:738:10 [INFO] [stderr] | [INFO] [stderr] 738 | $( $subname:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:738:32 [INFO] [stderr] | [INFO] [stderr] 738 | $( $subname:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:761:8 [INFO] [stderr] | [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] 761 | $( $category:expr_2021 => $generator:expr_2021 ), * [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] | [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] = note: see issue #123742 for more information [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] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:761:31 [INFO] [stderr] | [INFO] [stderr] 761 | $( $category:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [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] [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!(rand::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:74 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(rand::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/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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matchingrules/mod.rs:1388:16 [INFO] [stdout] | [INFO] [stdout] 1388 | ( $( $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] 1388 | ( $( $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:1389:21 [INFO] [stdout] | [INFO] [stdout] 1389 | $( $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] 1389 | $( $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:1389:43 [INFO] [stdout] | [INFO] [stdout] 1389 | $( $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] 1389 | $( $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:1419:11 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1419:30 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1419:52 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1433:11 [INFO] [stdout] | [INFO] [stdout] 1433 | ( $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] 1433 | ( $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:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | ( $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] 1433 | ( $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: `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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [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] [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] [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] [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] [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] [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] [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] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [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/mod.rs [INFO] [stderr] * src/matchingrules/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1388:10 [INFO] [stderr] | [INFO] [stderr] 1388 | ( $( $name:expr_2021 => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1389:12 [INFO] [stderr] | [INFO] [stderr] 1389 | $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1389:39 [INFO] [stderr] | [INFO] [stderr] 1389 | $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:5 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:26 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1419:53 [INFO] [stderr] | [INFO] [stderr] 1419 | ( $name:expr_2021 ; $( $subname:expr_2021 => [ $( $matcher:expr_2021 ), * ] ),* ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1433:5 [INFO] [stderr] | [INFO] [stderr] 1433 | ( $name:expr_2021 ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matchingrules/mod.rs:1433:28 [INFO] [stderr] | [INFO] [stderr] 1433 | ( $name:expr_2021 ; [ $( $matcher:expr_2021 ), * ] ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:737:8 [INFO] [stderr] | [INFO] [stderr] 737 | $( $category:expr_2021 => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:738:10 [INFO] [stderr] | [INFO] [stderr] 738 | $( $subname:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:738:32 [INFO] [stderr] | [INFO] [stderr] 738 | $( $subname:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:761:8 [INFO] [stderr] | [INFO] [stderr] 761 | $( $category:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generators/mod.rs:761:31 [INFO] [stderr] | [INFO] [stderr] 761 | $( $category:expr_2021 => $generator:expr_2021 ), * [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [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!(rand::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:74 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(rand::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:1388:16 [INFO] [stdout] | [INFO] [stdout] 1388 | ( $( $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] 1388 | ( $( $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:1389:21 [INFO] [stdout] | [INFO] [stdout] 1389 | $( $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] 1389 | $( $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:1389:43 [INFO] [stdout] | [INFO] [stdout] 1389 | $( $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] 1389 | $( $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:1419:11 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1419:30 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1419:52 [INFO] [stdout] | [INFO] [stdout] 1419 | ( $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] 1419 | ( $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:1433:11 [INFO] [stdout] | [INFO] [stdout] 1433 | ( $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] 1433 | ( $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:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | ( $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] 1433 | ( $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: `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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [INFO] [stdout] [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] [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] [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] [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] [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] [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] [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] [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] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.52s [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.4 (/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 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 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 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 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 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!(rand::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!(rand::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!(rand::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!(rand::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:74 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(rand::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.128/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:74 [INFO] [stdout] | [INFO] [stdout] 1075 | Ok(gen) => Ok(json!(rand::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.128/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: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_models` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_models` (lib test) due to 16 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" "70097fb47e5903307d932eb868674de741c3ca7a65a93046a2a7bb59aca75687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70097fb47e5903307d932eb868674de741c3ca7a65a93046a2a7bb59aca75687", kill_on_drop: false }` [INFO] [stdout] 70097fb47e5903307d932eb868674de741c3ca7a65a93046a2a7bb59aca75687