[INFO] fetching crate programinduction 0.9.0... [INFO] checking programinduction-0.9.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate programinduction 0.9.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate programinduction 0.9.0 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 programinduction 0.9.0 [INFO] finished tweaking crates.io crate programinduction 0.9.0 [INFO] tweaked toml for crates.io crate programinduction 0.9.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate programinduction 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf9346f68d89cab101a97256aaa686b8a8d2a481554ff161fbdb2a51cc280ab [INFO] running `Command { std: "docker" "start" "-a" "ecf9346f68d89cab101a97256aaa686b8a8d2a481554ff161fbdb2a51cc280ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf9346f68d89cab101a97256aaa686b8a8d2a481554ff161fbdb2a51cc280ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf9346f68d89cab101a97256aaa686b8a8d2a481554ff161fbdb2a51cc280ab", kill_on_drop: false }` [INFO] [stdout] ecf9346f68d89cab101a97256aaa686b8a8d2a481554ff161fbdb2a51cc280ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 1b5207f1cbfccf87487296520583b3a0c145e62736a89779842a12378544a9bf [INFO] running `Command { std: "docker" "start" "-a" "1b5207f1cbfccf87487296520583b3a0c145e62736a89779842a12378544a9bf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking winnow v0.5.28 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking term_rewriting v0.7.0 [INFO] [stderr] Checking polytype v7.0.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Checking programinduction v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `programinduction` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/domains/strings.rs [INFO] [stderr] * src/trs/lexicon.rs [INFO] [stderr] * src/trs/parser.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/domains/strings.rs:431:14 [INFO] [stderr] | [INFO] [stderr] 431 | ($name:expr_2021, $tp:expr_2021, $body:block) => { [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/domains/strings.rs:431:31 [INFO] [stderr] | [INFO] [stderr] 431 | ($name:expr_2021, $tp:expr_2021, $body:block) => { [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/domains/strings.rs:591:14 [INFO] [stderr] | [INFO] [stderr] 591 | ($name:expr_2021, $f: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/domains/strings.rs:591:31 [INFO] [stderr] | [INFO] [stderr] 591 | ($name:expr_2021, $f: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/domains/strings.rs:703:14 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:32 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:47 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:65 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:269:16 [INFO] [stderr] | [INFO] [stderr] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:293:16 [INFO] [stderr] | [INFO] [stderr] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:481:16 [INFO] [stderr] | [INFO] [stderr] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:704:16 [INFO] [stderr] | [INFO] [stderr] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:728:16 [INFO] [stderr] | [INFO] [stderr] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:759:16 [INFO] [stderr] | [INFO] [stderr] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:802:16 [INFO] [stderr] | [INFO] [stderr] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:837:16 [INFO] [stderr] | [INFO] [stderr] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:882:16 [INFO] [stderr] | [INFO] [stderr] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/trs/parser.rs:214:1 [INFO] [stderr] | [INFO] [stderr] 214 | fn parse_irrelevant(input: &mut &str) -> PResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Accumulate<(&str, &str)>` will fail [INFO] [stderr] --> src/trs/parser.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 10 warnings emitted [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/domains/strings.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| gen::make_examples(rng, n_examples)) [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/domains/strings.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | mod 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/domains/strings.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.gen() { 65 } else { 97 }; [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/pcfg/enumerator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut t: f64 = 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/domains/strings.rs:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | ($name:expr, $tp:expr, $body:block) => { [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] 431 | ($name:expr_2021, $tp:expr, $body:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:431:30 [INFO] [stdout] | [INFO] [stdout] 431 | ($name:expr, $tp:expr, $body:block) => { [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] 431 | ($name:expr, $tp:expr_2021, $body:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | ($name:expr, $f: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] 591 | ($name:expr_2021, $f: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/domains/strings.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | ($name:expr, $f: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] 591 | ($name:expr, $f: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/domains/strings.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr_2021, $f1:expr, $name2:expr, $f2: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/domains/strings.rs:703:31 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr_2021, $name2:expr, $f2: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/domains/strings.rs:703:44 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr, $name2:expr_2021, $f2: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/domains/strings.rs:703:54 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:704:16 [INFO] [stdout] | [INFO] [stdout] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:759:16 [INFO] [stdout] | [INFO] [stdout] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:837:16 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:882:16 [INFO] [stdout] | [INFO] [stdout] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/trs/parser.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | fn parse_irrelevant(input: &mut &str) -> PResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Accumulate<(&str, &str)>` will fail [INFO] [stdout] --> src/trs/parser.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[bool], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Vec> { [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/domains/circuits.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | rng: &mut R, [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Vec + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[bool], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | ) -> Vec> { [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/domains/circuits.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | rng: &mut R, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 164 | ) -> Vec + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(o) = dsl.eval_arc(expr, &evaluator, &inps) { [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/domains/circuits.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } 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] 217 ~ match dsl.eval_arc(expr, &evaluator, &inps) { Ok(o) => { [INFO] [stdout] 218 | o == *out [INFO] [stdout] 219 ~ } _ => { [INFO] [stdout] 220 | false [INFO] [stdout] 221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[(Vec, strings::Space)], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/strings.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Vec, Space)], Representation = Language, Expression = Expression>> { [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/domains/strings.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | rng: &mut R, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Vec, Space)], Representation = Language, Expression = Expression> + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ec.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | if let Ok(lock) = Arc::try_unwrap(frontiers) { [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/ec.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | } 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] 379 ~ match Arc::try_unwrap(frontiers) { Ok(lock) => { [INFO] [stdout] 380 | let frontiers = lock.into_inner().expect("enumeration frontiers poisoned"); [INFO] [stdout] 381 | frontiers.into_iter().map(|(j, _, f)| (j, f)).collect() [INFO] [stdout] 382 ~ } _ => { [INFO] [stdout] 383 | panic!("enumeration lifetime exceeded its scope") [INFO] [stdout] 384 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:628:20 [INFO] [stdout] | [INFO] [stdout] 628 | if let Some(prim) = dsl.primitives.get(num) { [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/lambda/mod.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | } 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] 628 ~ match dsl.primitives.get(num) { Some(prim) => { [INFO] [stdout] 629 | Ok(prim.1.clone().instantiate_owned(ctx)) [INFO] [stdout] 630 ~ } _ => { [INFO] [stdout] 631 | Err(InferenceError::InvalidPrimitive(num)) [INFO] [stdout] 632 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:665:20 [INFO] [stdout] | [INFO] [stdout] 665 | if let Some(inv) = dsl.invented.get(num) { [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/lambda/mod.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | } 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] 665 ~ match dsl.invented.get(num) { Some(inv) => { [INFO] [stdout] 666 | Ok(inv.1.clone().instantiate_owned(ctx)) [INFO] [stdout] 667 ~ } _ => { [INFO] [stdout] 668 | Err(InferenceError::InvalidInvention(num)) [INFO] [stdout] 669 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 689 | if let Ok(tps) = dsl.infer(self) { [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/lambda/mod.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | } 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] 689 ~ match dsl.infer(self) { Ok(tps) => { [INFO] [stdout] 690 | let env = Rc::new(LinkedList::default()); [INFO] [stdout] ... [INFO] [stdout] 693 | self.etalong_internal(dsl, &env, &mut ctx, &req) [INFO] [stdout] 694 ~ } _ => { [INFO] [stdout] 695 | false [INFO] [stdout] 696 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:732:23 [INFO] [stdout] | [INFO] [stdout] 732 | while let Expression::Application(ref ff, ref fx) = **f { [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/lambda/mod.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:980:16 [INFO] [stdout] | [INFO] [stdout] 980 | if let Ok(o) = result { [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/lambda/mod.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | } 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] 980 ~ match result { Ok(o) => { [INFO] [stdout] 981 | o == *out [INFO] [stdout] 982 ~ } _ => { [INFO] [stdout] 983 | false [INFO] [stdout] 984 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1011:16 [INFO] [stdout] | [INFO] [stdout] 1011 | if let Ok(o) = result { [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/lambda/mod.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | } 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] 1011 ~ match result { Ok(o) => { [INFO] [stdout] 1012 | o == *out [INFO] [stdout] 1013 ~ } _ => { [INFO] [stdout] 1014 | false [INFO] [stdout] 1015 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1043:19 [INFO] [stdout] | [INFO] [stdout] 1043 | while let Some((ref v, ref nlst)) = lst.0 { [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/lambda/mod.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1056:19 [INFO] [stdout] | [INFO] [stdout] 1056 | while let Some((_, ref nlst)) = lst.0 { [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/lambda/mod.rs:1059:13 [INFO] [stdout] | [INFO] [stdout] 1059 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1080:19 [INFO] [stdout] | [INFO] [stdout] 1080 | while let Some((ref v, ref nlst)) = lst.0 { [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/lambda/mod.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 1086 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | if let Expression::Abstraction(ref body) = *expr { [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/lambda/compression.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | } 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] 429 ~ match *expr { Expression::Abstraction(ref body) => { [INFO] [stdout] 430 | self.likelihood_uses(ret, body, ctx, &env) [INFO] [stdout] 431 ~ } _ => { [INFO] [stdout] 432 | (f64::NEG_INFINITY, Uses::new(self)) // invalid expression [INFO] [stdout] 433 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | if let Expression::Index(_) = *expr { [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] 464 | TreeMatcher::do_match(self, ctx.to_mut(), expr, f, &mut bindings, xs.len()) [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/lambda/compression.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | } else if let Some(mut frag_tp) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | } 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] 459 ~ match *expr { Expression::Index(_) => { [INFO] [stdout] 460 | if expr != f { [INFO] [stdout] 461 | continue; [INFO] [stdout] 462 | } [INFO] [stdout] 463 ~ } _ => { match TreeMatcher::do_match(self, ctx.to_mut(), expr, f, &mut bindings, xs.len()) [INFO] [stdout] 464 ~ { Some(mut frag_tp) => { [INFO] [stdout] 465 | let mut template = VecDeque::with_capacity(xs.len() + 1); [INFO] [stdout] ... [INFO] [stdout] 488 | tp = Cow::Owned(frag_tp); [INFO] [stdout] 489 ~ } _ => { [INFO] [stdout] 490 | continue; [INFO] [stdout] 491 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:555:20 [INFO] [stdout] | [INFO] [stdout] 555 | if let Expression::Application(ref ff, ref x) = *f { [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/lambda/compression.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 555 ~ match *f { Expression::Application(ref ff, ref x) => { [INFO] [stdout] 556 | f = ff; [INFO] [stdout] 557 | xs.push_front(x); [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | break; [INFO] [stdout] 560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:708:20 [INFO] [stdout] | [INFO] [stdout] 708 | if let Expression::Abstraction(ref e_body) = *concrete { [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/lambda/compression.rs:710:17 [INFO] [stdout] | [INFO] [stdout] 710 | } 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] 708 ~ match *concrete { Expression::Abstraction(ref e_body) => { [INFO] [stdout] 709 | Self::might_match(dsl, f_body, e_body, depth + 1) [INFO] [stdout] 710 ~ } _ => { [INFO] [stdout] 711 | false [INFO] [stdout] 712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:715:20 [INFO] [stdout] | [INFO] [stdout] 715 | if let Expression::Application(ref c_f, ref c_x) = *concrete { [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/lambda/compression.rs:718:17 [INFO] [stdout] | [INFO] [stdout] 718 | } 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] 715 ~ match *concrete { Expression::Application(ref c_f, ref c_x) => { [INFO] [stdout] 716 | Self::might_match(dsl, f_x, c_x, depth) [INFO] [stdout] 717 | && Self::might_match(dsl, f_f, c_f, depth) [INFO] [stdout] 718 ~ } _ => { [INFO] [stdout] 719 | false [INFO] [stdout] 720 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let Expression::Invented(c_num) = *concrete { [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/lambda/compression.rs:725:17 [INFO] [stdout] | [INFO] [stdout] 725 | } 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] 723 ~ match *concrete { Expression::Invented(c_num) => { [INFO] [stdout] 724 | f_num == c_num [INFO] [stdout] 725 ~ } _ => { [INFO] [stdout] 726 | Self::might_match(dsl, &dsl.invented[f_num].0, concrete, depth) [INFO] [stdout] 727 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Expression::Abstraction(ref body) = *expr { [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/lambda/enumerator.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 78 ~ match *expr { Expression::Abstraction(ref body) => { [INFO] [stdout] 79 | likelihood_internal(dsl, ret, ctx, &env, body) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | (f64::NEG_INFINITY, ctx.clone()) // invalid expression [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Expression::Application(ref l, ref r) = *expr { [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/lambda/enumerator.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:500:32 [INFO] [stdout] | [INFO] [stdout] 500 | ... if let Some((i, f)) = applied { [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/lambda/enumerator.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | ... } 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] 500 ~ match applied { Some((i, f)) => { [INFO] [stdout] 501 | !dsl.violates_symmetry(&f, i, expr) [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | true [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | if let Some(expr) = s.expr.as_expression() { [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/lambda/enumerator.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | } 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] 581 ~ match s.expr.as_expression() { Some(expr) => { [INFO] [stdout] 582 | exprs.push((expr, s.cost, s.ctx)) [INFO] [stdout] 583 ~ } _ => { [INFO] [stdout] 584 | queue.push(s) [INFO] [stdout] 585 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:661:39 [INFO] [stdout] | [INFO] [stdout] 661 | ... } else if let Application(mut v) = v { [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/lambda/eval.rs:664:29 [INFO] [stdout] | [INFO] [stdout] 664 | ... } 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] 661 ~ } else { match v { Application(mut v) => { [INFO] [stdout] 662 | v.extend(xs); [INFO] [stdout] 663 | Ok(Application(v)) [INFO] [stdout] 664 ~ } _ => { [INFO] [stdout] 665 | xs.insert(0, v); [INFO] [stdout] 666 | Ok(Application(xs)) [INFO] [stdout] 667 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:720:40 [INFO] [stdout] | [INFO] [stdout] 720 | ... if let Abstraction(_, _) = x { [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/lambda/eval.rs:731:37 [INFO] [stdout] | [INFO] [stdout] 731 | ... } 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] 720 ~ match x { Abstraction(_, _) => { [INFO] [stdout] 721 | Value( [INFO] [stdout] ... [INFO] [stdout] 730 | ) [INFO] [stdout] 731 ~ } _ => { [INFO] [stdout] 732 | x [INFO] [stdout] 733 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:770:39 [INFO] [stdout] | [INFO] [stdout] 770 | ... } else if let Application(mut v) = v { [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/lambda/eval.rs:773:29 [INFO] [stdout] | [INFO] [stdout] 773 | ... } 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] 770 ~ } else { match v { Application(mut v) => { [INFO] [stdout] 771 | v.extend(xs); [INFO] [stdout] 772 | Ok(Application(v)) [INFO] [stdout] 773 ~ } _ => { [INFO] [stdout] 774 | Ok(Application(exprs.clone())) [INFO] [stdout] 775 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:820:23 [INFO] [stdout] | [INFO] [stdout] 820 | while let Expression::Application(ref inner_f, ref x) = *f { [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/lambda/eval.rs:823:17 [INFO] [stdout] | [INFO] [stdout] 823 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:831:23 [INFO] [stdout] | [INFO] [stdout] 831 | while let Expression::Abstraction(ref inner_body) = *body { [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/lambda/eval.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | ... break if let Some(init) = items.pop_front() { [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/lambda/parser.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... } 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] 105 ~ break match items.pop_front() { Some(init) => { [INFO] [stdout] 106 | let app = items.into_iter().fold(init, |a, v| { [INFO] [stdout] ... [INFO] [stdout] 109 | Ok((di, app)) [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | Err(ParseError::new(offset + di, "empty application")) [INFO] [stdout] 112 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(num) = dsl.invented.iter().position(|(x, _, _)| x == &expr) { [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/lambda/parser.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | } 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] 138 ~ match dsl.invented.iter().position(|(x, _, _)| x == &expr) { Some(num) => { [INFO] [stdout] 139 | Ok((di, Expression::Invented(num))) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | Err(ParseError::new( [INFO] [stdout] ... [INFO] [stdout] 144 | )) [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(num) = dsl [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 156 | || .primitives [INFO] [stdout] | ||___________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 157 | | .iter() [INFO] [stdout] 158 | | .position(|(name, _, _)| name == &inp[..di]) [INFO] [stdout] | |_____________________________________________________________^ [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/lambda/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 155 ~ match dsl [INFO] [stdout] 156 | .primitives [INFO] [stdout] 157 | .iter() [INFO] [stdout] 158 | .position(|(name, _, _)| name == &inp[..di]) [INFO] [stdout] 159 ~ { Some(num) => { [INFO] [stdout] 160 | Ok((di, Expression::Primitive(num))) [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | Err(ParseError::new(offset + di, "unexpected end of expression")) [INFO] [stdout] 163 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pcfg/mod.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | if let Ok(o) = g.eval(ar, &self.evaluator) { [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/pcfg/mod.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | } 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] 595 ~ match g.eval(ar, &self.evaluator) { Ok(o) => { [INFO] [stdout] 596 | if &o == self.output { [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | f64::NEG_INFINITY [INFO] [stdout] 603 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/trs/mod.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result + 'a, TypeError> { [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/trs/mod.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | lex: &Lexicon, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result + 'a + use<'a, O>, TypeError> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(idx) = self.signature.variables().iter().position(|x| x == v) { [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/trs/lexicon.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | } 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] 549 ~ match self.signature.variables().iter().position(|x| x == v) { Some(idx) => { [INFO] [stdout] 550 | Ok(self.vars[idx].clone()) [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | Err(TypeError::VarNotFound) [INFO] [stdout] 553 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(idx) = self.signature.operators().iter().position(|x| x == o) { [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/trs/lexicon.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ match self.signature.operators().iter().position(|x| x == o) { Some(idx) => { [INFO] [stdout] 557 | Ok(self.ops[idx].clone()) [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | Err(TypeError::OpNotFound) [INFO] [stdout] 560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:874:16 [INFO] [stdout] | [INFO] [stdout] 874 | if let Some(rule) = Rule::new(lhs, vec![rhs]) { [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/trs/lexicon.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | } 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] 874 ~ match Rule::new(lhs, vec![rhs]) { Some(rule) => { [INFO] [stdout] 875 | return Ok(rule); [INFO] [stdout] 876 ~ } _ => { [INFO] [stdout] 877 | *self = orig_self.clone(); [INFO] [stdout] 878 | *ctx = orig_ctx.clone(); [INFO] [stdout] 879 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:944:16 [INFO] [stdout] | [INFO] [stdout] 944 | if let Term::Variable(ref v) = *term { [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/trs/lexicon.rs:948:13 [INFO] [stdout] | [INFO] [stdout] 948 | } 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] 944 ~ match *term { Term::Variable(ref v) => { [INFO] [stdout] 945 | if !atoms.contains(&Atom::Variable(v.clone())) { [INFO] [stdout] 946 | vs.push((Some(Atom::Variable(v.clone())), vec![])); [INFO] [stdout] 947 | } [INFO] [stdout] 948 ~ } _ => { [INFO] [stdout] 949 | vs.push((None, vec![])); [INFO] [stdout] 950 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1054:28 [INFO] [stdout] | [INFO] [stdout] 1054 | if let Ok(new_trs) = trs.add_rule( [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 1055 | || &templates, [INFO] [stdout] 1056 | || params.atom_weights, [INFO] [stdout] 1057 | || params.max_sample_size, [INFO] [stdout] 1058 | || rng, [INFO] [stdout] 1059 | || ) { [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] | [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/trs/lexicon.rs:1061:25 [INFO] [stdout] | [INFO] [stdout] 1061 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1054 ~ match trs.add_rule( [INFO] [stdout] 1055 | &templates, [INFO] [stdout] ... [INFO] [stdout] 1058 | rng, [INFO] [stdout] 1059 ~ ) { Ok(new_trs) => { [INFO] [stdout] 1060 | return new_trs; [INFO] [stdout] 1061 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1091:23 [INFO] [stdout] | [INFO] [stdout] 1091 | } else if let Ok(new_trs) = trs.delete_rule(rng) { [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/trs/lexicon.rs:1093:13 [INFO] [stdout] | [INFO] [stdout] 1093 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1091 ~ } else { match trs.delete_rule(rng) { Ok(new_trs) => { [INFO] [stdout] 1092 | return vec![new_trs]; [INFO] [stdout] 1093 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1086:20 [INFO] [stdout] | [INFO] [stdout] 1086 | if let Ok(new_trs) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1087 | | trs.add_rule(&templates, params.atom_weights, params.max_sample_size, rng) [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/trs/lexicon.rs:1090:17 [INFO] [stdout] | [INFO] [stdout] 1090 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1086 ~ match trs.add_rule(&templates, params.atom_weights, params.max_sample_size, rng) [INFO] [stdout] 1087 ~ { Ok(new_trs) => { [INFO] [stdout] 1088 | return vec![new_trs]; [INFO] [stdout] 1089 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/rewrite.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let ll = if let Some(ref rhs) = datum.rhs() { [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/trs/rewrite.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } 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] 130 ~ let ll = match datum.rhs() { Some(ref rhs) => { [INFO] [stdout] 131 | let mut trace = Trace::new( [INFO] [stdout] ... [INFO] [stdout] 139 | trace.rewrites_to(params.max_steps, rhs) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | f64::NEG_INFINITY [INFO] [stdout] 142 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/rewrite.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | if let Some(rhs) = rule.rhs() { [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/trs/rewrite.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | } 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] 412 ~ match rule.rhs() { Some(rhs) => { [INFO] [stdout] 413 | TRS::find_differences(&rule.lhs, &rhs) [INFO] [stdout] ... [INFO] [stdout] 416 | .collect_vec() [INFO] [stdout] 417 ~ } _ => { [INFO] [stdout] 418 | vec![] [INFO] [stdout] 419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/ec.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `programinduction` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/domains/strings.rs [INFO] [stderr] * src/trs/lexicon.rs [INFO] [stderr] * src/trs/parser.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/domains/strings.rs:431:14 [INFO] [stderr] | [INFO] [stderr] 431 | ($name:expr_2021, $tp:expr_2021, $body:block) => { [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/domains/strings.rs:431:31 [INFO] [stderr] | [INFO] [stderr] 431 | ($name:expr_2021, $tp:expr_2021, $body:block) => { [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/domains/strings.rs:591:14 [INFO] [stderr] | [INFO] [stderr] 591 | ($name:expr_2021, $f: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/domains/strings.rs:591:31 [INFO] [stderr] | [INFO] [stderr] 591 | ($name:expr_2021, $f: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/domains/strings.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| gen::make_examples(rng, n_examples)) [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/domains/strings.rs:703:14 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:32 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:47 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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/domains/strings.rs:703:65 [INFO] [stderr] | [INFO] [stderr] 703 | ($name1:expr_2021, $f1:expr_2021, $name2:expr_2021, $f2: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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:269:16 [INFO] [stderr] | [INFO] [stderr] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:293:16 [INFO] [stderr] | [INFO] [stderr] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | mod 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: expected values for `feature` are: `verbose` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.gen() { 65 } else { 97 }; [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: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/pcfg/enumerator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut t: f64 = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | ($name:expr, $tp:expr, $body:block) => { [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] 431 | ($name:expr_2021, $tp:expr, $body:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:431:30 [INFO] [stdout] | [INFO] [stdout] 431 | ($name:expr, $tp:expr, $body:block) => { [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] 431 | ($name:expr, $tp:expr_2021, $body:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | ($name:expr, $f: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] 591 | ($name:expr_2021, $f:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/trs/lexicon.rs:481:16 [INFO] [stderr] | [INFO] [stderr] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:704:16 [INFO] [stderr] | [INFO] [stderr] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | ($name:expr, $f: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] 591 | ($name:expr, $f:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr_2021, $f1:expr, $name2:expr, $f2:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/trs/lexicon.rs:728:16 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:703:31 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr_2021, $name2:expr, $f2:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:703:44 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr, $name2:expr_2021, $f2:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/domains/strings.rs:703:54 [INFO] [stdout] | [INFO] [stdout] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2: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] 703 | ($name1:expr, $f1:expr, $name2:expr, $f2:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:759:16 [INFO] [stderr] | [INFO] [stderr] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:802:16 [INFO] [stderr] | [INFO] [stderr] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:837:16 [INFO] [stderr] | [INFO] [stderr] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/trs/lexicon.rs:882:16 [INFO] [stderr] | [INFO] [stderr] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `verbose` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/trs/parser.rs:214:1 [INFO] [stderr] | [INFO] [stderr] 214 | fn parse_irrelevant(input: &mut &str) -> PResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Accumulate<(&str, &str)>` will fail [INFO] [stderr] --> src/trs/parser.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 10 warnings emitted [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:704:16 [INFO] [stdout] | [INFO] [stdout] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:759:16 [INFO] [stdout] | [INFO] [stdout] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:837:16 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:882:16 [INFO] [stdout] | [INFO] [stdout] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/trs/parser.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | fn parse_irrelevant(input: &mut &str) -> PResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Accumulate<(&str, &str)>` will fail [INFO] [stdout] --> src/trs/parser.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[bool], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Vec> { [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/domains/circuits.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | rng: &mut R, [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Vec + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[bool], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | ) -> Vec> { [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/domains/circuits.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | rng: &mut R, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 164 | ) -> Vec + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/circuits.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(o) = dsl.eval_arc(expr, &evaluator, &inps) { [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/domains/circuits.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } 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] 217 ~ match dsl.eval_arc(expr, &evaluator, &inps) { Ok(o) => { [INFO] [stdout] 218 | o == *out [INFO] [stdout] 219 ~ } _ => { [INFO] [stdout] 220 | false [INFO] [stdout] 221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task<[(Vec, strings::Space)], Representation = Language, Expression = Expression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/domains/strings.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Vec, Space)], Representation = Language, Expression = Expression>> { [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/domains/strings.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | rng: &mut R, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Vec, Space)], Representation = Language, Expression = Expression> + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ec.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | if let Ok(lock) = Arc::try_unwrap(frontiers) { [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/ec.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | } 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] 379 ~ match Arc::try_unwrap(frontiers) { Ok(lock) => { [INFO] [stdout] 380 | let frontiers = lock.into_inner().expect("enumeration frontiers poisoned"); [INFO] [stdout] 381 | frontiers.into_iter().map(|(j, _, f)| (j, f)).collect() [INFO] [stdout] 382 ~ } _ => { [INFO] [stdout] 383 | panic!("enumeration lifetime exceeded its scope") [INFO] [stdout] 384 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:628:20 [INFO] [stdout] | [INFO] [stdout] 628 | if let Some(prim) = dsl.primitives.get(num) { [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/lambda/mod.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | } 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] 628 ~ match dsl.primitives.get(num) { Some(prim) => { [INFO] [stdout] 629 | Ok(prim.1.clone().instantiate_owned(ctx)) [INFO] [stdout] 630 ~ } _ => { [INFO] [stdout] 631 | Err(InferenceError::InvalidPrimitive(num)) [INFO] [stdout] 632 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:665:20 [INFO] [stdout] | [INFO] [stdout] 665 | if let Some(inv) = dsl.invented.get(num) { [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/lambda/mod.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | } 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] 665 ~ match dsl.invented.get(num) { Some(inv) => { [INFO] [stdout] 666 | Ok(inv.1.clone().instantiate_owned(ctx)) [INFO] [stdout] 667 ~ } _ => { [INFO] [stdout] 668 | Err(InferenceError::InvalidInvention(num)) [INFO] [stdout] 669 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 689 | if let Ok(tps) = dsl.infer(self) { [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/lambda/mod.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | } 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] 689 ~ match dsl.infer(self) { Ok(tps) => { [INFO] [stdout] 690 | let env = Rc::new(LinkedList::default()); [INFO] [stdout] ... [INFO] [stdout] 693 | self.etalong_internal(dsl, &env, &mut ctx, &req) [INFO] [stdout] 694 ~ } _ => { [INFO] [stdout] 695 | false [INFO] [stdout] 696 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:732:23 [INFO] [stdout] | [INFO] [stdout] 732 | while let Expression::Application(ref ff, ref fx) = **f { [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/lambda/mod.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:980:16 [INFO] [stdout] | [INFO] [stdout] 980 | if let Ok(o) = result { [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/lambda/mod.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | } 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] 980 ~ match result { Ok(o) => { [INFO] [stdout] 981 | o == *out [INFO] [stdout] 982 ~ } _ => { [INFO] [stdout] 983 | false [INFO] [stdout] 984 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1011:16 [INFO] [stdout] | [INFO] [stdout] 1011 | if let Ok(o) = result { [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/lambda/mod.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | } 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] 1011 ~ match result { Ok(o) => { [INFO] [stdout] 1012 | o == *out [INFO] [stdout] 1013 ~ } _ => { [INFO] [stdout] 1014 | false [INFO] [stdout] 1015 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1043:19 [INFO] [stdout] | [INFO] [stdout] 1043 | while let Some((ref v, ref nlst)) = lst.0 { [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/lambda/mod.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1056:19 [INFO] [stdout] | [INFO] [stdout] 1056 | while let Some((_, ref nlst)) = lst.0 { [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/lambda/mod.rs:1059:13 [INFO] [stdout] | [INFO] [stdout] 1059 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/mod.rs:1080:19 [INFO] [stdout] | [INFO] [stdout] 1080 | while let Some((ref v, ref nlst)) = lst.0 { [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/lambda/mod.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 1086 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | if let Expression::Abstraction(ref body) = *expr { [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/lambda/compression.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | } 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] 429 ~ match *expr { Expression::Abstraction(ref body) => { [INFO] [stdout] 430 | self.likelihood_uses(ret, body, ctx, &env) [INFO] [stdout] 431 ~ } _ => { [INFO] [stdout] 432 | (f64::NEG_INFINITY, Uses::new(self)) // invalid expression [INFO] [stdout] 433 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | if let Expression::Index(_) = *expr { [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] 464 | TreeMatcher::do_match(self, ctx.to_mut(), expr, f, &mut bindings, xs.len()) [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/lambda/compression.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | } else if let Some(mut frag_tp) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | } 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] 459 ~ match *expr { Expression::Index(_) => { [INFO] [stdout] 460 | if expr != f { [INFO] [stdout] 461 | continue; [INFO] [stdout] 462 | } [INFO] [stdout] 463 ~ } _ => { match TreeMatcher::do_match(self, ctx.to_mut(), expr, f, &mut bindings, xs.len()) [INFO] [stdout] 464 ~ { Some(mut frag_tp) => { [INFO] [stdout] 465 | let mut template = VecDeque::with_capacity(xs.len() + 1); [INFO] [stdout] ... [INFO] [stdout] 488 | tp = Cow::Owned(frag_tp); [INFO] [stdout] 489 ~ } _ => { [INFO] [stdout] 490 | continue; [INFO] [stdout] 491 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:555:20 [INFO] [stdout] | [INFO] [stdout] 555 | if let Expression::Application(ref ff, ref x) = *f { [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/lambda/compression.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 555 ~ match *f { Expression::Application(ref ff, ref x) => { [INFO] [stdout] 556 | f = ff; [INFO] [stdout] 557 | xs.push_front(x); [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | break; [INFO] [stdout] 560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:708:20 [INFO] [stdout] | [INFO] [stdout] 708 | if let Expression::Abstraction(ref e_body) = *concrete { [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/lambda/compression.rs:710:17 [INFO] [stdout] | [INFO] [stdout] 710 | } 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] 708 ~ match *concrete { Expression::Abstraction(ref e_body) => { [INFO] [stdout] 709 | Self::might_match(dsl, f_body, e_body, depth + 1) [INFO] [stdout] 710 ~ } _ => { [INFO] [stdout] 711 | false [INFO] [stdout] 712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:715:20 [INFO] [stdout] | [INFO] [stdout] 715 | if let Expression::Application(ref c_f, ref c_x) = *concrete { [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/lambda/compression.rs:718:17 [INFO] [stdout] | [INFO] [stdout] 718 | } 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] 715 ~ match *concrete { Expression::Application(ref c_f, ref c_x) => { [INFO] [stdout] 716 | Self::might_match(dsl, f_x, c_x, depth) [INFO] [stdout] 717 | && Self::might_match(dsl, f_f, c_f, depth) [INFO] [stdout] 718 ~ } _ => { [INFO] [stdout] 719 | false [INFO] [stdout] 720 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/compression.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let Expression::Invented(c_num) = *concrete { [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/lambda/compression.rs:725:17 [INFO] [stdout] | [INFO] [stdout] 725 | } 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] 723 ~ match *concrete { Expression::Invented(c_num) => { [INFO] [stdout] 724 | f_num == c_num [INFO] [stdout] 725 ~ } _ => { [INFO] [stdout] 726 | Self::might_match(dsl, &dsl.invented[f_num].0, concrete, depth) [INFO] [stdout] 727 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Expression::Abstraction(ref body) = *expr { [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/lambda/enumerator.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 78 ~ match *expr { Expression::Abstraction(ref body) => { [INFO] [stdout] 79 | likelihood_internal(dsl, ret, ctx, &env, body) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | (f64::NEG_INFINITY, ctx.clone()) // invalid expression [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Expression::Application(ref l, ref r) = *expr { [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/lambda/enumerator.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:500:32 [INFO] [stdout] | [INFO] [stdout] 500 | ... if let Some((i, f)) = applied { [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/lambda/enumerator.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | ... } 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] 500 ~ match applied { Some((i, f)) => { [INFO] [stdout] 501 | !dsl.violates_symmetry(&f, i, expr) [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | true [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/enumerator.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | if let Some(expr) = s.expr.as_expression() { [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/lambda/enumerator.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | } 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] 581 ~ match s.expr.as_expression() { Some(expr) => { [INFO] [stdout] 582 | exprs.push((expr, s.cost, s.ctx)) [INFO] [stdout] 583 ~ } _ => { [INFO] [stdout] 584 | queue.push(s) [INFO] [stdout] 585 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:661:39 [INFO] [stdout] | [INFO] [stdout] 661 | ... } else if let Application(mut v) = v { [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/lambda/eval.rs:664:29 [INFO] [stdout] | [INFO] [stdout] 664 | ... } 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] 661 ~ } else { match v { Application(mut v) => { [INFO] [stdout] 662 | v.extend(xs); [INFO] [stdout] 663 | Ok(Application(v)) [INFO] [stdout] 664 ~ } _ => { [INFO] [stdout] 665 | xs.insert(0, v); [INFO] [stdout] 666 | Ok(Application(xs)) [INFO] [stdout] 667 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:720:40 [INFO] [stdout] | [INFO] [stdout] 720 | ... if let Abstraction(_, _) = x { [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/lambda/eval.rs:731:37 [INFO] [stdout] | [INFO] [stdout] 731 | ... } 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] 720 ~ match x { Abstraction(_, _) => { [INFO] [stdout] 721 | Value( [INFO] [stdout] ... [INFO] [stdout] 730 | ) [INFO] [stdout] 731 ~ } _ => { [INFO] [stdout] 732 | x [INFO] [stdout] 733 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:770:39 [INFO] [stdout] | [INFO] [stdout] 770 | ... } else if let Application(mut v) = v { [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/lambda/eval.rs:773:29 [INFO] [stdout] | [INFO] [stdout] 773 | ... } 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] 770 ~ } else { match v { Application(mut v) => { [INFO] [stdout] 771 | v.extend(xs); [INFO] [stdout] 772 | Ok(Application(v)) [INFO] [stdout] 773 ~ } _ => { [INFO] [stdout] 774 | Ok(Application(exprs.clone())) [INFO] [stdout] 775 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:820:23 [INFO] [stdout] | [INFO] [stdout] 820 | while let Expression::Application(ref inner_f, ref x) = *f { [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/lambda/eval.rs:823:17 [INFO] [stdout] | [INFO] [stdout] 823 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/eval.rs:831:23 [INFO] [stdout] | [INFO] [stdout] 831 | while let Expression::Abstraction(ref inner_body) = *body { [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/lambda/eval.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | ... break if let Some(init) = items.pop_front() { [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/lambda/parser.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... } 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] 105 ~ break match items.pop_front() { Some(init) => { [INFO] [stdout] 106 | let app = items.into_iter().fold(init, |a, v| { [INFO] [stdout] ... [INFO] [stdout] 109 | Ok((di, app)) [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | Err(ParseError::new(offset + di, "empty application")) [INFO] [stdout] 112 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(num) = dsl.invented.iter().position(|(x, _, _)| x == &expr) { [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/lambda/parser.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | } 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] 138 ~ match dsl.invented.iter().position(|(x, _, _)| x == &expr) { Some(num) => { [INFO] [stdout] 139 | Ok((di, Expression::Invented(num))) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | Err(ParseError::new( [INFO] [stdout] ... [INFO] [stdout] 144 | )) [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lambda/parser.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(num) = dsl [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 156 | || .primitives [INFO] [stdout] | ||___________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 157 | | .iter() [INFO] [stdout] 158 | | .position(|(name, _, _)| name == &inp[..di]) [INFO] [stdout] | |_____________________________________________________________^ [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/lambda/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 155 ~ match dsl [INFO] [stdout] 156 | .primitives [INFO] [stdout] 157 | .iter() [INFO] [stdout] 158 | .position(|(name, _, _)| name == &inp[..di]) [INFO] [stdout] 159 ~ { Some(num) => { [INFO] [stdout] 160 | Ok((di, Expression::Primitive(num))) [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | Err(ParseError::new(offset + di, "unexpected end of expression")) [INFO] [stdout] 163 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pcfg/mod.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | if let Ok(o) = g.eval(ar, &self.evaluator) { [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/pcfg/mod.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | } 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] 595 ~ match g.eval(ar, &self.evaluator) { Ok(o) => { [INFO] [stdout] 596 | if &o == self.output { [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | f64::NEG_INFINITY [INFO] [stdout] 603 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Task + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/trs/mod.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result + 'a, TypeError> { [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/trs/mod.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | lex: &Lexicon, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result + 'a + use<'a, O>, TypeError> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(idx) = self.signature.variables().iter().position(|x| x == v) { [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/trs/lexicon.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | } 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] 549 ~ match self.signature.variables().iter().position(|x| x == v) { Some(idx) => { [INFO] [stdout] 550 | Ok(self.vars[idx].clone()) [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | Err(TypeError::VarNotFound) [INFO] [stdout] 553 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(idx) = self.signature.operators().iter().position(|x| x == o) { [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/trs/lexicon.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ match self.signature.operators().iter().position(|x| x == o) { Some(idx) => { [INFO] [stdout] 557 | Ok(self.ops[idx].clone()) [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | Err(TypeError::OpNotFound) [INFO] [stdout] 560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:874:16 [INFO] [stdout] | [INFO] [stdout] 874 | if let Some(rule) = Rule::new(lhs, vec![rhs]) { [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/trs/lexicon.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | } 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] 874 ~ match Rule::new(lhs, vec![rhs]) { Some(rule) => { [INFO] [stdout] 875 | return Ok(rule); [INFO] [stdout] 876 ~ } _ => { [INFO] [stdout] 877 | *self = orig_self.clone(); [INFO] [stdout] 878 | *ctx = orig_ctx.clone(); [INFO] [stdout] 879 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:944:16 [INFO] [stdout] | [INFO] [stdout] 944 | if let Term::Variable(ref v) = *term { [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/trs/lexicon.rs:948:13 [INFO] [stdout] | [INFO] [stdout] 948 | } 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] 944 ~ match *term { Term::Variable(ref v) => { [INFO] [stdout] 945 | if !atoms.contains(&Atom::Variable(v.clone())) { [INFO] [stdout] 946 | vs.push((Some(Atom::Variable(v.clone())), vec![])); [INFO] [stdout] 947 | } [INFO] [stdout] 948 ~ } _ => { [INFO] [stdout] 949 | vs.push((None, vec![])); [INFO] [stdout] 950 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1054:28 [INFO] [stdout] | [INFO] [stdout] 1054 | if let Ok(new_trs) = trs.add_rule( [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 1055 | || &templates, [INFO] [stdout] 1056 | || params.atom_weights, [INFO] [stdout] 1057 | || params.max_sample_size, [INFO] [stdout] 1058 | || rng, [INFO] [stdout] 1059 | || ) { [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] | [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/trs/lexicon.rs:1061:25 [INFO] [stdout] | [INFO] [stdout] 1061 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1054 ~ match trs.add_rule( [INFO] [stdout] 1055 | &templates, [INFO] [stdout] ... [INFO] [stdout] 1058 | rng, [INFO] [stdout] 1059 ~ ) { Ok(new_trs) => { [INFO] [stdout] 1060 | return new_trs; [INFO] [stdout] 1061 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1091:23 [INFO] [stdout] | [INFO] [stdout] 1091 | } else if let Ok(new_trs) = trs.delete_rule(rng) { [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/trs/lexicon.rs:1093:13 [INFO] [stdout] | [INFO] [stdout] 1093 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1091 ~ } else { match trs.delete_rule(rng) { Ok(new_trs) => { [INFO] [stdout] 1092 | return vec![new_trs]; [INFO] [stdout] 1093 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/lexicon.rs:1086:20 [INFO] [stdout] | [INFO] [stdout] 1086 | if let Ok(new_trs) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1087 | | trs.add_rule(&templates, params.atom_weights, params.max_sample_size, rng) [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/trs/lexicon.rs:1090:17 [INFO] [stdout] | [INFO] [stdout] 1090 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1086 ~ match trs.add_rule(&templates, params.atom_weights, params.max_sample_size, rng) [INFO] [stdout] 1087 ~ { Ok(new_trs) => { [INFO] [stdout] 1088 | return vec![new_trs]; [INFO] [stdout] 1089 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/rewrite.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let ll = if let Some(ref rhs) = datum.rhs() { [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/trs/rewrite.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } 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] 130 ~ let ll = match datum.rhs() { Some(ref rhs) => { [INFO] [stdout] 131 | let mut trace = Trace::new( [INFO] [stdout] ... [INFO] [stdout] 139 | trace.rewrites_to(params.max_steps, rhs) [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | f64::NEG_INFINITY [INFO] [stdout] 142 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trs/rewrite.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | if let Some(rhs) = rule.rhs() { [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/trs/rewrite.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | } 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] 412 ~ match rule.rhs() { Some(rhs) => { [INFO] [stdout] 413 | TRS::find_differences(&rule.lhs, &rhs) [INFO] [stdout] ... [INFO] [stdout] 416 | .collect_vec() [INFO] [stdout] 417 ~ } _ => { [INFO] [stdout] 418 | vec![] [INFO] [stdout] 419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/gp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/lambda.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/json_compressor.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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] Checking programinduction v0.9.0 (/tmp/fixit) [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| gen::make_examples(rng, n_examples)) [INFO] [stdout] | --- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| { gen::make_examples(rng, n_examples)}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| gen::make_examples(rng, n_examples)) [INFO] [stdout] | --- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 308 | .flat_map(|_| { gen::make_examples(rng, n_examples)}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | mod 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] 371 | mod r#gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.gen() { 65 } else { 97 }; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.r#gen() { 65 } else { 97 }; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | mod 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] 371 | mod r#gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/strings.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.gen() { 65 } else { 97 }; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 383 | let c = c + if rng.r#gen() { 65 } else { 97 }; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/pcfg/enumerator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut t: f64 = 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] 79 | let mut t: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/pcfg/enumerator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut t: f64 = 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] 79 | let mut t: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:704:16 [INFO] [stdout] | [INFO] [stdout] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:759:16 [INFO] [stdout] | [INFO] [stdout] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:837:16 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:882:16 [INFO] [stdout] | [INFO] [stdout] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:704:16 [INFO] [stdout] | [INFO] [stdout] 704 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:759:16 [INFO] [stdout] | [INFO] [stdout] 759 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:837:16 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/trs/lexicon.rs:882:16 [INFO] [stdout] | [INFO] [stdout] 882 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `verbose` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Accumulate<(&str, &str)>` is not satisfied [INFO] [stdout] --> src/trs/parser.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Accumulate<(&str, &str)>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Accumulate`: [INFO] [stdout] `()` implements `Accumulate` [INFO] [stdout] `BTreeMap` implements `Accumulate<(K, V)>` [INFO] [stdout] `BTreeSet` implements `Accumulate` [INFO] [stdout] `HashMap` implements `Accumulate<(K, V)>` [INFO] [stdout] `HashSet` implements `Accumulate` [INFO] [stdout] `Vec` implements `Accumulate<&'i [T]>` [INFO] [stdout] `Vec` implements `Accumulate` [INFO] [stdout] `std::string::String` implements `Accumulate<&'i str>` [INFO] [stdout] and 2 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `winnow::combinator::repeat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winnow-0.5.28/src/combinator/multi.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn repeat(range: impl Into, mut f: F) -> impl Parser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 121 | C: Accumulate, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Accumulate<(&str, &str)>` is not satisfied [INFO] [stdout] --> src/trs/parser.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | repeat(0.., (parse_comment, multispace0)).parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Accumulate<(&str, &str)>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Accumulate`: [INFO] [stdout] `()` implements `Accumulate` [INFO] [stdout] `BTreeMap` implements `Accumulate<(K, V)>` [INFO] [stdout] `BTreeSet` implements `Accumulate` [INFO] [stdout] `HashMap` implements `Accumulate<(K, V)>` [INFO] [stdout] `HashSet` implements `Accumulate` [INFO] [stdout] `Vec` implements `Accumulate<&'i [T]>` [INFO] [stdout] `Vec` implements `Accumulate` [INFO] [stdout] `std::string::String` implements `Accumulate<&'i str>` [INFO] [stdout] and 2 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `winnow::combinator::repeat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winnow-0.5.28/src/combinator/multi.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn repeat(range: impl Into, mut f: F) -> impl Parser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 121 | C: Accumulate, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `programinduction` (lib) due to 6 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `programinduction` (lib test) due to 6 previous errors; 9 warnings emitted [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" "1b5207f1cbfccf87487296520583b3a0c145e62736a89779842a12378544a9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5207f1cbfccf87487296520583b3a0c145e62736a89779842a12378544a9bf", kill_on_drop: false }` [INFO] [stdout] 1b5207f1cbfccf87487296520583b3a0c145e62736a89779842a12378544a9bf