[INFO] fetching crate symbolica 0.11.0... [INFO] checking symbolica-0.11.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate symbolica 0.11.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate symbolica 0.11.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 symbolica 0.11.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate symbolica 0.11.0 [INFO] tweaked toml for crates.io crate symbolica 0.11.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate symbolica 0.11.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bf458d57c76e2eccc5332ef8762a0b45c9977f8caf0815b4f8a75aa3ec662d8 [INFO] running `Command { std: "docker" "start" "-a" "4bf458d57c76e2eccc5332ef8762a0b45c9977f8caf0815b4f8a75aa3ec662d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bf458d57c76e2eccc5332ef8762a0b45c9977f8caf0815b4f8a75aa3ec662d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf458d57c76e2eccc5332ef8762a0b45c9977f8caf0815b4f8a75aa3ec662d8", kill_on_drop: false }` [INFO] [stdout] 4bf458d57c76e2eccc5332ef8762a0b45c9977f8caf0815b4f8a75aa3ec662d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 337aafa55f4382b67a5adecf81f7d13edd5917398360143b2a730e04c27f46c6 [INFO] running `Command { std: "docker" "start" "-a" "337aafa55f4382b67a5adecf81f7d13edd5917398360143b2a730e04c27f46c6", 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] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling rug v1.25.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling symbolica v0.11.0 (/tmp/fixit) [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking append-only-vec v0.1.5 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `symbolica` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/api/cpp.rs [INFO] [stderr] * src/atom.rs [INFO] [stderr] * src/atom/representation.rs [INFO] [stderr] * src/evaluate.rs [INFO] [stderr] * src/poly/evaluate.rs [INFO] [stderr] * src/poly/polynomial.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/api/cpp.rs:171:10 [INFO] [stderr] | [INFO] [stderr] 171 | ($in_field: expr_2021, $exp_size: ty) => { [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/api/cpp.rs:298:10 [INFO] [stderr] | [INFO] [stderr] 298 | ($in_field: expr_2021, $exp_size: ty) => { [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/atom.rs:833:6 [INFO] [stderr] | [INFO] [stderr] 833 | ($name: expr_2021, $($id: 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/atom.rs:833:26 [INFO] [stderr] | [INFO] [stderr] 833 | ($name: expr_2021, $($id: 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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/evaluate.rs:901:14 [INFO] [stderr] | [INFO] [stderr] 901 | ($i: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/evaluate.rs:1451:14 [INFO] [stderr] | [INFO] [stderr] 1451 | ($i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | rng.gen() [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [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/evaluate.rs:1468:14 [INFO] [stderr] | [INFO] [stderr] 1468 | ($i: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/evaluate.rs:1481:14 [INFO] [stderr] | [INFO] [stderr] 1481 | ($in_block: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:951:26 [INFO] [stdout] | [INFO] [stdout] 951 | let f: 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 issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(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] = 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/evaluate.rs:1979:14 [INFO] [stderr] | [INFO] [stderr] 1979 | ($i: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/evaluate.rs:1996:14 [INFO] [stderr] | [INFO] [stderr] 1996 | ($i: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/float.rs:1923:24 [INFO] [stdout] | [INFO] [stdout] 1923 | let rng1 = 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: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:1924:24 [INFO] [stdout] | [INFO] [stdout] 1924 | let rng2 = rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/streaming.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().gen::()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/evaluate.rs:2009:14 [INFO] [stderr] | [INFO] [stderr] 2009 | ($in_block: 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/poly/evaluate.rs:1395:14 [INFO] [stderr] | [INFO] [stderr] 1395 | ($i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 44 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [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] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/poly/polynomial.rs:840:14 [INFO] [stderr] | [INFO] [stderr] 840 | ($source:expr_2021, $index: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] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 82 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/poly/polynomial.rs:840:33 [INFO] [stderr] | [INFO] [stderr] 840 | ($source:expr_2021, $index:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 96 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 114 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/poly/polynomial.rs:929:14 [INFO] [stderr] | [INFO] [stderr] 929 | ($source:expr_2021, $index: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/poly/polynomial.rs:929:33 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 929 | ($source:expr_2021, $index: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: elided lifetime has a name [INFO] [stderr] --> src/atom/representation.rs:1696:53 [INFO] [stderr] | [INFO] [stderr] 1653 | impl<'a> ListSlice<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 147 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 278 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 404 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/api/cpp.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | ($in_field: expr, $exp_size: ty) => { [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] 171 | ($in_field: expr_2021, $exp_size: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/api/cpp.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | ($in_field: expr, $exp_size: ty) => { [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] 298 | ($in_field: expr_2021, $exp_size: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/atom/representation.rs:1696:53 [INFO] [stdout] | [INFO] [stdout] 1653 | impl<'a> ListSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/atom.rs:833:13 [INFO] [stdout] | [INFO] [stdout] 833 | ($name: expr, $($id: 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] 833 | ($name: expr_2021, $($id: 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/atom.rs:833:26 [INFO] [stdout] | [INFO] [stdout] 833 | ($name: expr, $($id: 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] 833 | ($name: expr, $($id: 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/evaluate.rs:901:17 [INFO] [stdout] | [INFO] [stdout] 901 | ($i: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] 901 | ($i: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/evaluate.rs:1451:17 [INFO] [stdout] | [INFO] [stdout] 1451 | ($i: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] 1451 | ($i: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/evaluate.rs:1468:17 [INFO] [stdout] | [INFO] [stdout] 1468 | ($i: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] 1468 | ($i: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/evaluate.rs:1481:25 [INFO] [stdout] | [INFO] [stdout] 1481 | ($in_block: 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] 1481 | ($in_block: 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/evaluate.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1979 | ($i: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] 1979 | ($i: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/evaluate.rs:1996:17 [INFO] [stdout] | [INFO] [stdout] 1996 | ($i: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] 1996 | ($i: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/evaluate.rs:2009:25 [INFO] [stdout] | [INFO] [stdout] 2009 | ($in_block: 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] 2009 | ($in_block: 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/poly/evaluate.rs:1395:17 [INFO] [stdout] | [INFO] [stdout] 1395 | ($i: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] 1395 | ($i: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/poly/polynomial.rs:840:22 [INFO] [stdout] | [INFO] [stdout] 840 | ($source:expr, $index: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] 840 | ($source:expr_2021, $index: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/poly/polynomial.rs:840:35 [INFO] [stdout] | [INFO] [stdout] 840 | ($source:expr, $index: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] 840 | ($source:expr, $index: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/poly/polynomial.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | ($source:expr, $index: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] 929 | ($source:expr_2021, $index: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/poly/polynomial.rs:929:35 [INFO] [stdout] | [INFO] [stdout] 929 | ($source:expr, $index: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] 929 | ($source:expr, $index:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/api/cpp.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let _ = Box::from_raw(symbolica); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/api/cpp.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe extern "C" fn drop(symbolica: *mut Symbolica) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Num::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | NUM_ID => Atom::Num(Num::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/atom/representation.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) unsafe fn from_raw(raw: RawAtom) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Var::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | VAR_ID => Atom::Var(Var::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Fun::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | FUN_ID => Atom::Fun(Fun::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Mul::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | MUL_ID => Atom::Mul(Mul::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Add::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ADD_ID => Atom::Add(Add::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Pow::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | POW_ID => Atom::Pow(Pow::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | } 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] 383 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 384 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 406 | } [INFO] [stdout] 407 ~ } _ => { [INFO] [stdout] 408 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 409 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 415 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 416 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } 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] 453 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 454 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 481 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | } 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] 486 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 487 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 507 | } [INFO] [stdout] 508 ~ } _ => { [INFO] [stdout] 509 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 510 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/atom/representation.rs:1507:24 [INFO] [stdout] | [INFO] [stdout] 1507 | if let Some(nv) = state_map.variables_lists.get(&old_id) { [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/atom/representation.rs:1512:21 [INFO] [stdout] | [INFO] [stdout] 1512 | } 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] 1507 ~ match state_map.variables_lists.get(&old_id) { Some(nv) => { [INFO] [stdout] 1508 | let mut rr = r.deserialize(); [INFO] [stdout] ... [INFO] [stdout] 1511 | out.to_num(Coefficient::RationalPolynomial(rr)); [INFO] [stdout] 1512 ~ } _ => { [INFO] [stdout] 1513 | out.set_from_view(self); [INFO] [stdout] 1514 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collect.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(coeff_map) = coeff_map { [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/collect.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | } 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] 179 ~ } else { match coeff_map { Some(coeff_map) => { [INFO] [stdout] 180 | let mut handle = workspace.new_atom(); [INFO] [stdout] 181 | coeff_map(rest.as_view(), &mut handle); [INFO] [stdout] 182 | add.extend(handle.as_view()); [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | add.extend(rest.as_view()); [INFO] [stdout] 185 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collect.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(v) = poly.get_variables().iter().position(|v| v == &x.into()) { [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/collect.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | } 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] 430 ~ match poly.get_variables().iter().position(|v| v == &x.into()) { Some(v) => { [INFO] [stdout] 431 | let mut a = ws.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 440 | add.as_view().normalize(ws, out); [INFO] [stdout] 441 ~ } _ => { [INFO] [stdout] 442 | out.set_from_view(self); [INFO] [stdout] 443 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | if let Atom::Mul(m) = arg_der.deref_mut() { [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/derivative.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match arg_der.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 150 | m.extend(fn_der.as_view()); [INFO] [stdout] 151 | arg_der.as_view().normalize(workspace, out); [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | let mut mul = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 157 | mul.as_view().normalize(workspace, out); [INFO] [stdout] 158 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | if let Atom::Mul(m) = exp_der.deref_mut() { [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/derivative.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | } 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] 224 ~ match exp_der.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 225 | m.extend(*self); [INFO] [stdout] 226 | m.extend(log_base.as_view()); [INFO] [stdout] 227 | exp_der.as_view().normalize(workspace, &mut exp_der_contrib); [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | let mut mul = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 234 | mul.as_view().normalize(workspace, &mut exp_der_contrib); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | if let Atom::Mul(mm) = arg_der.deref_mut() { [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/derivative.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | } 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] 292 ~ match arg_der.deref_mut() { Atom::Mul(mm) => { [INFO] [stdout] 293 | for other_arg in args.iter() { [INFO] [stdout] ... [INFO] [stdout] 299 | add.extend(arg_der.as_view()); [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | let mm = mul_h.to_mul(); [INFO] [stdout] ... [INFO] [stdout] 308 | add.extend(mul_h.as_view()); [INFO] [stdout] 309 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | ... while let Some(x) = it.next() { [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/derivative.rs:480:29 [INFO] [stdout] | [INFO] [stdout] 480 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | if let Some(q) = num.divides(d) { [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/factorized_rational_polynomial.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | } 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] 759 ~ match num.divides(d) { Some(q) => { [INFO] [stdout] 760 | num = q; [INFO] [stdout] 761 | *p -= 1; [INFO] [stdout] 762 ~ } _ => { [INFO] [stdout] 763 | break; [INFO] [stdout] 764 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:859:20 [INFO] [stdout] | [INFO] [stdout] 859 | if let Some(q) = reduced_numerator_1.divides(d) { [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/factorized_rational_polynomial.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | } 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] 859 ~ match reduced_numerator_1.divides(d) { Some(q) => { [INFO] [stdout] 860 | reduced_numerator_1 = Cow::Owned(q); [INFO] [stdout] 861 | p -= 1; [INFO] [stdout] 862 ~ } _ => { [INFO] [stdout] 863 | break; [INFO] [stdout] 864 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:879:20 [INFO] [stdout] | [INFO] [stdout] 879 | if let Some(q) = reduced_numerator_2.divides(d) { [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/factorized_rational_polynomial.rs:882:17 [INFO] [stdout] | [INFO] [stdout] 882 | } 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] 879 ~ match reduced_numerator_2.divides(d) { Some(q) => { [INFO] [stdout] 880 | reduced_numerator_2 = Cow::Owned(q); [INFO] [stdout] 881 | p -= 1; [INFO] [stdout] 882 ~ } _ => { [INFO] [stdout] 883 | break; [INFO] [stdout] 884 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:950:16 [INFO] [stdout] | [INFO] [stdout] 950 | if let Some((_, p2)) = self.denominators.iter().find(|(d2, _)| d == d2) { [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/factorized_rational_polynomial.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | } 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] 950 ~ match self.denominators.iter().find(|(d2, _)| d == d2) { Some((_, p2)) => { [INFO] [stdout] 951 | if p > p2 { [INFO] [stdout] ... [INFO] [stdout] 955 | } [INFO] [stdout] 956 ~ } _ => { [INFO] [stdout] 957 | reduced_numerator_2 = reduced_numerator_2 * &d.pow(*p); [INFO] [stdout] 958 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:981:20 [INFO] [stdout] | [INFO] [stdout] 981 | if let Some(q) = reduced_numerator_1.divides(&d) { [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/factorized_rational_polynomial.rs:984:17 [INFO] [stdout] | [INFO] [stdout] 984 | } 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] 981 ~ match reduced_numerator_1.divides(&d) { Some(q) => { [INFO] [stdout] 982 | reduced_numerator_1 = Cow::Owned(q); [INFO] [stdout] 983 | p -= 1; [INFO] [stdout] 984 ~ } _ => { [INFO] [stdout] 985 | break; [INFO] [stdout] 986 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 403 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 404 | // the max is at most 2 binary digits off [INFO] [stdout] ... [INFO] [stdout] 408 | r.set_prec(1.max(max_prec.min(r.prec() as i32)) as u32); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 446 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 447 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 448 | r.set_prec(1.max(max_prec.min(r.prec() as i32)) as u32); [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | if let Some(e) = self.0.get_exp() { [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/float.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 534 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 535 | if let Some(e1) = e1 { [INFO] [stdout] ... [INFO] [stdout] 540 | } [INFO] [stdout] 541 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:536:20 [INFO] [stdout] | [INFO] [stdout] 536 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 536 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 537 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 538 | self.set_prec(1.max(max_prec.min(self.prec() as i32)) as u32); [INFO] [stdout] 539 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:564:12 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(e) = self.0.get_exp() { [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/float.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 564 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 565 | if let Some(e1) = e1 { [INFO] [stdout] ... [INFO] [stdout] 570 | } [INFO] [stdout] 571 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:566:20 [INFO] [stdout] | [INFO] [stdout] 566 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 566 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 567 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 568 | self.set_prec(1.max(max_prec.min(self.prec() as i32)) as u32); [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:1015:12 [INFO] [stdout] | [INFO] [stdout] 1015 | if let Some(e) = self.0.get_exp() { [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/float.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1022 | } 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] 1015 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 1016 | // Exp grows in precision when e < 0 [INFO] [stdout] ... [INFO] [stdout] 1021 | .into() [INFO] [stdout] 1022 ~ } _ => { [INFO] [stdout] 1023 | self.0.clone().exp().into() [INFO] [stdout] 1024 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:1101:16 [INFO] [stdout] | [INFO] [stdout] 1101 | if let Some(eb) = self.0.get_exp() { [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/float.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1101 ~ match self.0.get_exp() { Some(eb) => { [INFO] [stdout] 1102 | // eb is (over)estimate of ln(self) [INFO] [stdout] ... [INFO] [stdout] 1115 | } [INFO] [stdout] 1116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(n) = n.to_i64() { [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] 194 | Integer::Natural(n) [INFO] [stdout] 195 | } else if let Some(n) = n.to_i128() { [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/integer.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | } else if let Some(n) = n.to_i128() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } 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] 193 ~ match n.to_i64() { Some(n) => { [INFO] [stdout] 194 | Integer::Natural(n) [INFO] [stdout] 195 ~ } _ => { match n.to_i128() { Some(n) => { [INFO] [stdout] 196 | Integer::Double(n) [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | Integer::Large(n) [INFO] [stdout] 199 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if let Ok(n) = s.parse::() { [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/integer.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } 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] 223 ~ match s.parse::() { Ok(n) => { [INFO] [stdout] 224 | Ok(Integer::Large(n)) [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | Err("Could not parse integer") [INFO] [stdout] 227 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1018:12 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Integer::Large(r) = 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/domains/integer.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | } 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] 1018 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1019 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1023 | } [INFO] [stdout] 1024 ~ } _ => { [INFO] [stdout] 1025 | &self + rhs [INFO] [stdout] 1026 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 1035 | if let Integer::Large(r) = 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] 1041 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | } 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] 1035 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1036 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1040 | } [INFO] [stdout] 1041 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1042 | match self { [INFO] [stdout] ... [INFO] [stdout] 1046 | } [INFO] [stdout] 1047 ~ } _ => { [INFO] [stdout] 1048 | self + &rhs [INFO] [stdout] 1049 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | if let Integer::Large(s) = 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/domains/integer.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1110 | } 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] 1104 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1105 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1109 | } [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | &self - rhs [INFO] [stdout] 1112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1121:12 [INFO] [stdout] | [INFO] [stdout] 1121 | if let Integer::Large(r) = 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/domains/integer.rs:1127:9 [INFO] [stdout] | [INFO] [stdout] 1127 | } 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] 1121 ~ match rhs { Integer::Large(r) => { [INFO] [stdout] 1122 | match self { [INFO] [stdout] ... [INFO] [stdout] 1126 | } [INFO] [stdout] 1127 ~ } _ => { [INFO] [stdout] 1128 | self - &rhs [INFO] [stdout] 1129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1138 | if let Integer::Large(s) = 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] 1144 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1144:9 [INFO] [stdout] | [INFO] [stdout] 1144 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | } 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] 1138 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1139 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1143 | } [INFO] [stdout] 1144 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1145 | match self { [INFO] [stdout] ... [INFO] [stdout] 1149 | } [INFO] [stdout] 1150 ~ } _ => { [INFO] [stdout] 1151 | self - &rhs [INFO] [stdout] 1152 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1204:12 [INFO] [stdout] | [INFO] [stdout] 1204 | if let Integer::Large(r) = 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/domains/integer.rs:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | } 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] 1204 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1205 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1209 | } [INFO] [stdout] 1210 ~ } _ => { [INFO] [stdout] 1211 | &self * rhs [INFO] [stdout] 1212 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1230:12 [INFO] [stdout] | [INFO] [stdout] 1230 | if let Integer::Large(r) = 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] 1236 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1236:9 [INFO] [stdout] | [INFO] [stdout] 1236 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | } 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] 1230 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1231 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1235 | } [INFO] [stdout] 1236 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1237 | match self { [INFO] [stdout] ... [INFO] [stdout] 1241 | } [INFO] [stdout] 1242 ~ } _ => { [INFO] [stdout] 1243 | self * &rhs [INFO] [stdout] 1244 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1290:12 [INFO] [stdout] | [INFO] [stdout] 1290 | if let Integer::Large(s) = 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/domains/integer.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | } 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] 1290 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1291 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1295 | } [INFO] [stdout] 1296 ~ } _ => { [INFO] [stdout] 1297 | &self / rhs [INFO] [stdout] 1298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1307:12 [INFO] [stdout] | [INFO] [stdout] 1307 | if let Integer::Large(r) = 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/domains/integer.rs:1313:9 [INFO] [stdout] | [INFO] [stdout] 1313 | } 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] 1307 ~ match rhs { Integer::Large(r) => { [INFO] [stdout] 1308 | match self { [INFO] [stdout] ... [INFO] [stdout] 1312 | } [INFO] [stdout] 1313 ~ } _ => { [INFO] [stdout] 1314 | self / &rhs [INFO] [stdout] 1315 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1324:12 [INFO] [stdout] | [INFO] [stdout] 1324 | if let Integer::Large(s) = 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] 1330 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1330:9 [INFO] [stdout] | [INFO] [stdout] 1330 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | } 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] 1324 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1325 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1329 | } [INFO] [stdout] 1330 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1331 | match self { [INFO] [stdout] ... [INFO] [stdout] 1335 | } [INFO] [stdout] 1336 ~ } _ => { [INFO] [stdout] 1337 | self / &rhs [INFO] [stdout] 1338 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/rational.rs:835:16 [INFO] [stdout] | [INFO] [stdout] 835 | if let Ok(q) = [INFO] [stdout] | ________________^ [INFO] [stdout] 836 | | Rational::maximal_quotient_reconstruction(&cur_result, &prime_accum, None) [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/rational.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 835 ~ match Rational::maximal_quotient_reconstruction(&cur_result, &prime_accum, None) [INFO] [stdout] 836 ~ { Ok(q) => { [INFO] [stdout] 837 | if q == last_guess { [INFO] [stdout] ... [INFO] [stdout] 841 | } [INFO] [stdout] 842 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/rational_polynomial.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | if let Some(r) = hm.get_mut(e_list.as_slice()) { [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/rational_polynomial.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | } 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] 392 ~ match hm.get_mut(e_list.as_slice()) { Some(r) => { [INFO] [stdout] 393 | r.numerator [INFO] [stdout] 394 | .append_monomial(e.coefficient.clone(), &e_list_coeff); [INFO] [stdout] 395 ~ } _ => { [INFO] [stdout] 396 | let mut r = RationalPolynomial::new( [INFO] [stdout] ... [INFO] [stdout] 402 | hm.insert(e_list.clone(), r); [INFO] [stdout] 403 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2642:16 [INFO] [stdout] | [INFO] [stdout] 2642 | if let Expression::Mul(m) = &mut 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/evaluate.rs:2681:13 [INFO] [stdout] | [INFO] [stdout] 2681 | } else if x == scheme[0] { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2642 ~ match &mut x { Expression::Mul(m) => { [INFO] [stdout] 2643 | let mut pow_counter = 0; [INFO] [stdout] ... [INFO] [stdout] 2680 | found = pow_counter > 0; [INFO] [stdout] 2681 ~ } _ => if x == scheme[0] { [INFO] [stdout] 2682 | found = true; [INFO] [stdout] 2683 | x = Expression::Const(Rational::one()); [INFO] [stdout] 2684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2708:12 [INFO] [stdout] | [INFO] [stdout] 2708 | if let Expression::Mul(a) = contains { [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/evaluate.rs:2710:9 [INFO] [stdout] | [INFO] [stdout] 2710 | } 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] 2708 ~ match contains { Expression::Mul(a) => { [INFO] [stdout] 2709 | v.extend(a); [INFO] [stdout] 2710 ~ } _ => { [INFO] [stdout] 2711 | v.push(contains); [INFO] [stdout] 2712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2738:16 [INFO] [stdout] | [INFO] [stdout] 2738 | if let Expression::Add(aa) = r { [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/evaluate.rs:2740:13 [INFO] [stdout] | [INFO] [stdout] 2740 | } 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] 2738 ~ match r { Expression::Add(aa) => { [INFO] [stdout] 2739 | a.extend(aa); [INFO] [stdout] 2740 ~ } _ => { [INFO] [stdout] 2741 | a.push(r); [INFO] [stdout] 2742 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:4034:24 [INFO] [stdout] | [INFO] [stdout] 4034 | if let Expression::Mul(m) = a { [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/evaluate.rs:4036:21 [INFO] [stdout] | [INFO] [stdout] 4036 | } 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] 4034 ~ match a { Expression::Mul(m) => { [INFO] [stdout] 4035 | muls.extend(m); [INFO] [stdout] 4036 ~ } _ => { [INFO] [stdout] 4037 | muls.push(a); [INFO] [stdout] 4038 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | if let AtomView::Add(a) = new_base.as_view() { [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] 176 | } else if let AtomView::Mul(m) = new_base.as_view() { [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/expand.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | } else if let AtomView::Mul(m) = new_base.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/expand.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | } 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] 107 ~ match new_base.as_view() { AtomView::Add(a) => { [INFO] [stdout] 108 | // expand (a+b+c+..)^n [INFO] [stdout] ... [INFO] [stdout] 175 | true [INFO] [stdout] 176 ~ } _ => { match new_base.as_view() { AtomView::Mul(m) => { [INFO] [stdout] 177 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 195 | true [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | let mut pow_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 201 | changed [INFO] [stdout] 202 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | while let Some(new_term) = ci.next() { [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/expand.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | ... if let Atom::Mul(m) = expanded_child.deref_mut() { [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/expand.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match expanded_child.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 149 | m.extend(coeff_h.as_view()); [INFO] [stdout] 150 | add.extend(expanded_child.as_view()); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 156 | add.extend(mul_h.as_view()); [INFO] [stdout] 157 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | if let AtomView::Add(a) = new_arg.as_view() { [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/expand.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | } else if sum.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match new_arg.as_view() { AtomView::Add(a) => { [INFO] [stdout] 216 | changed = true; [INFO] [stdout] ... [INFO] [stdout] 243 | new_sum.clear(); [INFO] [stdout] 244 ~ } _ => if sum.is_empty() { [INFO] [stdout] 245 | sum.push(new_arg); [INFO] [stdout] ... [INFO] [stdout] 257 | } [INFO] [stdout] 258 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | ... if let Atom::Mul(m) = b.deref_mut() { [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/expand.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | ... } 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] 223 ~ match b.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 224 | m.extend(child); [INFO] [stdout] 225 | new_sum.push(b); [INFO] [stdout] 226 ~ } _ => { [INFO] [stdout] 227 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 231 | new_sum.push(mul_h); [INFO] [stdout] 232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/graph.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(edge) = self.edges.pop() { [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/graph.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | } 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] 304 ~ match self.edges.pop() { Some(edge) => { [INFO] [stdout] 305 | self.nodes[edge.vertices.0].edges.pop(); [INFO] [stdout] 306 | self.nodes[edge.vertices.1].edges.pop(); [INFO] [stdout] 307 | Some(edge) [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | None [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some((_, used_flags)) = it.next(&mut match_stack) { [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/id.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match it.next(&mut match_stack) { Some((_, used_flags)) => { [INFO] [stdout] 358 | let mut rhs_subs = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 405 | return true; [INFO] [stdout] 406 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:2633:20 [INFO] [stdout] | [INFO] [stdout] 2633 | if let Some(it) = self.pattern_iter.as_mut() { [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/id.rs:2650:17 [INFO] [stdout] | [INFO] [stdout] 2650 | } 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] 2633 ~ match self.pattern_iter.as_mut() { Some(it) => { [INFO] [stdout] 2634 | if let Some((_, used_flags)) = it.next(&mut self.match_stack) { [INFO] [stdout] ... [INFO] [stdout] 2649 | } [INFO] [stdout] 2650 ~ } _ => { [INFO] [stdout] 2651 | // prevent duplicate matches by not matching to single atoms in a list as they will [INFO] [stdout] 2652 | // be tested at a later stage in the atom tree iterator, as we want to store the position [INFO] [stdout] 2653 | self.pattern_iter = Some(AtomMatchIterator::new(self.pattern, ct)); [INFO] [stdout] 2654 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:2814:12 [INFO] [stdout] | [INFO] [stdout] 2814 | if let Some(pattern_match) = self.pattern_tree_iterator.next() { [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/id.rs:2842:9 [INFO] [stdout] | [INFO] [stdout] 2842 | } 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] 2814 ~ match self.pattern_tree_iterator.next() { Some(pattern_match) => { [INFO] [stdout] 2815 | Workspace::get_local().with(|ws| { [INFO] [stdout] ... [INFO] [stdout] 2841 | Some(()) [INFO] [stdout] 2842 ~ } _ => { [INFO] [stdout] 2843 | None [INFO] [stdout] 2844 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:700:24 [INFO] [stdout] | [INFO] [stdout] 700 | if let Atom::Mul(mul) = handle.deref_mut() { [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/normalize.rs:720:21 [INFO] [stdout] | [INFO] [stdout] 720 | } 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] 700 ~ match handle.deref_mut() { Atom::Mul(mul) => { [INFO] [stdout] 701 | for c in mul.to_mul_view().iter() { [INFO] [stdout] ... [INFO] [stdout] 719 | } [INFO] [stdout] 720 ~ } _ => { [INFO] [stdout] 721 | if let AtomView::Num(n) = handle.as_view() { [INFO] [stdout] ... [INFO] [stdout] 733 | atom_test_buf.push(handle); [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:752:27 [INFO] [stdout] | [INFO] [stdout] 752 | while let Some(mut cur_buf) = atom_test_buf.pop() { [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/normalize.rs:771:21 [INFO] [stdout] | [INFO] [stdout] 771 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:1161:35 [INFO] [stdout] | [INFO] [stdout] 1161 | } else if let AtomView::Num(n) = base_handle.as_view() { [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] 1172 | } else if let AtomView::Var(v) = base_handle.as_view() { [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] 1207 | } else if let AtomView::Pow(p_base) = base_handle.as_view() { [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] 1223 | } else if let AtomView::Mul(m) = base_handle.as_view() { [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/normalize.rs:1172:25 [INFO] [stdout] | [INFO] [stdout] 1172 | } else if let AtomView::Var(v) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1207:25 [INFO] [stdout] | [INFO] [stdout] 1207 | } else if let AtomView::Pow(p_base) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1223:25 [INFO] [stdout] | [INFO] [stdout] 1223 | } else if let AtomView::Mul(m) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1237:25 [INFO] [stdout] | [INFO] [stdout] 1237 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1161 ~ } else { match base_handle.as_view() { AtomView::Num(n) => { [INFO] [stdout] 1162 | // simplify a number to a numerical power [INFO] [stdout] ... [INFO] [stdout] 1171 | exp_handle.to_num(new_exp_num); [INFO] [stdout] 1172 ~ } _ => { match base_handle.as_view() { AtomView::Var(v) => { [INFO] [stdout] 1173 | if v.get_symbol() == State::I { [INFO] [stdout] ... [INFO] [stdout] 1206 | } [INFO] [stdout] 1207 ~ } _ => { match base_handle.as_view() { AtomView::Pow(p_base) => { [INFO] [stdout] 1208 | if exp_num.is_integer() { [INFO] [stdout] ... [INFO] [stdout] 1222 | } [INFO] [stdout] 1223 ~ } _ => { match base_handle.as_view() { AtomView::Mul(m) => { [INFO] [stdout] 1224 | // rewrite (x*y)^2 as x^2*y^2 [INFO] [stdout] ... [INFO] [stdout] 1236 | } [INFO] [stdout] 1237 ~ } _ => {}}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/numerical_integration.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 495 | if let (Some(s1), Some(s2)) = (&mut self.sub_grid, &other.sub_grid) { [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/numerical_integration.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match (&mut self.sub_grid, &other.sub_grid) { (Some(s1), Some(s2)) => { [INFO] [stdout] 496 | s1.merge_unchecked(s2); [INFO] [stdout] 497 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/numerical_integration.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | if let Some(sub_grid) = &mut self.bins[v].sub_grid { [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/numerical_integration.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | } 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] 639 ~ match &mut self.bins[v].sub_grid { Some(sub_grid) => { [INFO] [stdout] 640 | let child_sample = if let Some(sub_sample) = child { [INFO] [stdout] ... [INFO] [stdout] 650 | *weight *= &child_sample.get_weight(); [INFO] [stdout] 651 ~ } _ => { [INFO] [stdout] 652 | *child = None; [INFO] [stdout] 653 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if let Token::Op(ml, mr, o2, mut args2) = other { [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/parser.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | } 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] 263 ~ match other { Token::Op(ml, mr, o2, mut args2) => { [INFO] [stdout] 264 | debug_assert!(!ml && !mr); [INFO] [stdout] ... [INFO] [stdout] 271 | } [INFO] [stdout] 272 ~ } _ => { [INFO] [stdout] 273 | args.insert(0, other); [INFO] [stdout] 274 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | if let Token::Number(n) = &mut other { [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/parser.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | } 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] 320 ~ match &mut other { Token::Number(n) => { [INFO] [stdout] 321 | if n.starts_with('-') { [INFO] [stdout] ... [INFO] [stdout] 325 | } [INFO] [stdout] 326 ~ } _ => { [INFO] [stdout] 327 | other.distribute_neg(); [INFO] [stdout] 328 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if let Token::Op(ml, mr, o2, mut args2) = other { [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/parser.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 333 ~ match other { Token::Op(ml, mr, o2, mut args2) => { [INFO] [stdout] 334 | debug_assert!(!ml && !mr); [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | args.push(other); [INFO] [stdout] 348 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | if let Token::Number(n) = other { [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/parser.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | } 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] 352 ~ match other { Token::Number(n) => { [INFO] [stdout] 353 | Err(format!("operator expected between '{}' and '{}'", self, n)) [INFO] [stdout] 354 ~ } _ => { [INFO] [stdout] 355 | Err(format!( [INFO] [stdout] ... [INFO] [stdout] 358 | )) [INFO] [stdout] 359 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Variable::Symbol(id) = var_map[index] { [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/parser.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | } 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] 507 ~ match var_map[index] { Variable::Symbol(id) => { [INFO] [stdout] 508 | out.to_var(id); [INFO] [stdout] 509 ~ } _ => { [INFO] [stdout] 510 | Err(format!("Undefined variable {}", name))?; [INFO] [stdout] 511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:617:20 [INFO] [stdout] | [INFO] [stdout] 617 | if let Variable::Symbol(id) = var_map[index] { [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/parser.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | } 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] 617 ~ match var_map[index] { Variable::Symbol(id) => { [INFO] [stdout] 618 | let mut fun_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 631 | fun_h.as_view().normalize(workspace, out); [INFO] [stdout] 632 ~ } _ => { [INFO] [stdout] 633 | Err(format!("Undefined variable {}", name))?; [INFO] [stdout] 634 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:809:28 [INFO] [stdout] | [INFO] [stdout] 809 | if let Some(Token::ID(_)) = stack.last() { [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/parser.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | } else if unsafe { stack.last().unwrap_unchecked() }.is_normal() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 809 ~ match stack.last() { Some(Token::ID(_)) => { [INFO] [stdout] 810 | let name = unsafe { stack.pop().unwrap_unchecked() }; [INFO] [stdout] ... [INFO] [stdout] 813 | } [INFO] [stdout] 814 ~ } _ => if unsafe { stack.last().unwrap_unchecked() }.is_normal() { [INFO] [stdout] 815 | // insert multiplication: x(...) -> x*(...) [INFO] [stdout] ... [INFO] [stdout] 819 | stack.push(Token::OpenParenthesis) [INFO] [stdout] 820 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:811:32 [INFO] [stdout] | [INFO] [stdout] 811 | ... if let Token::ID(_) = name { [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/parser.rs:813:29 [INFO] [stdout] | [INFO] [stdout] 813 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 811 ~ match name { Token::ID(_) => { [INFO] [stdout] 812 | stack.push(Token::Fn(true, false, vec![name])); // serves as open paren [INFO] [stdout] 813 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:844:36 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Token::ID(_) = name { [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/parser.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 844 ~ match name { Token::ID(_) => { [INFO] [stdout] 845 | stack.push(Token::Fn(true, true, vec![name])); [INFO] [stdout] 846 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:997:36 [INFO] [stdout] | [INFO] [stdout] 997 | ... if let Token::Op(_, _, Operator::Argument, arg2) = mid { [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/parser.rs:999:33 [INFO] [stdout] | [INFO] [stdout] 999 | ... } 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] 997 ~ match mid { Token::Op(_, _, Operator::Argument, arg2) => { [INFO] [stdout] 998 | args.extend(arg2); [INFO] [stdout] 999 ~ } _ => { [INFO] [stdout] 1000| args.push(mid); [INFO] [stdout] 1001~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1017:36 [INFO] [stdout] | [INFO] [stdout] 1017 | ... if let Token::Op(_, _, o_mid, mut m_mid) = mid { [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/parser.rs:1023:33 [INFO] [stdout] | [INFO] [stdout] 1023 | ... } 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] 1017 ~ match mid { Token::Op(_, _, o_mid, mut m_mid) => { [INFO] [stdout] 1018 | if o_mid == *o1 && o_mid.right_associative() { [INFO] [stdout] ... [INFO] [stdout] 1022 | } [INFO] [stdout] 1023 ~ } _ => { [INFO] [stdout] 1024 | m.push(mid) [INFO] [stdout] 1025 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | if let HornerScheme::Leaf(_, r) = &content { [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/poly/evaluate.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | } 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] 486 ~ match &content { HornerScheme::Leaf(_, r) => { [INFO] [stdout] 487 | if r.is_one() { [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => { [INFO] [stdout] 493 | Some(content) [INFO] [stdout] 494 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let HornerScheme::Leaf(_, r) = &rest { [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/poly/evaluate.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 495 ~ match &rest { HornerScheme::Leaf(_, r) => { [INFO] [stdout] 496 | if r.is_zero() { [INFO] [stdout] ... [INFO] [stdout] 500 | } [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | Some(rest) [INFO] [stdout] 503 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | let boxed_children = if let Some(mut b) = boxes.pop() { [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/poly/evaluate.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | } 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] 507 ~ let boxed_children = match boxes.pop() { Some(mut b) => { [INFO] [stdout] 508 | *b = children; [INFO] [stdout] 509 | b [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | Box::new(children) [INFO] [stdout] 512 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | if let Some(content) = n.content_rest.1.as_ref() { [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/poly/evaluate.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 668 ~ match n.content_rest.1.as_ref() { Some(content) => { [INFO] [stdout] 669 | content.get_constants(constants, shift); [INFO] [stdout] 670 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:743:29 [INFO] [stdout] | [INFO] [stdout] 743 | let v1 = if let Some(v) = seen.get(&b) { [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/poly/evaluate.rs:745:17 [INFO] [stdout] | [INFO] [stdout] 745 | } 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] 743 ~ let v1 = match seen.get(&b) { Some(v) => { [INFO] [stdout] 744 | *v [INFO] [stdout] 745 ~ } _ => { [INFO] [stdout] 746 | // check if var^pow is seen before [INFO] [stdout] ... [INFO] [stdout] 814 | } [INFO] [stdout] 815 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:750:28 [INFO] [stdout] | [INFO] [stdout] 750 | if let Some(v) = seen.get(&c) { [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/poly/evaluate.rs:752:25 [INFO] [stdout] | [INFO] [stdout] 752 | } 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] 750 ~ match seen.get(&c) { Some(v) => { [INFO] [stdout] 751 | *v [INFO] [stdout] 752 ~ } _ => { [INFO] [stdout] 753 | /// Binary exponentiation [INFO] [stdout] ... [INFO] [stdout] 796 | bin_exp(n.var, n.pow, instr, seen) [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | if let Some(s) = &n.content_rest.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/poly/evaluate.rs:812:21 [INFO] [stdout] | [INFO] [stdout] 812 | } 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] 802 ~ match &n.content_rest.0 { Some(s) => { [INFO] [stdout] 803 | let v1 = s.to_instr_rec(instr, seen, constant_seen); [INFO] [stdout] ... [INFO] [stdout] 811 | instr.len() - 1 [INFO] [stdout] 812 ~ } _ => { [INFO] [stdout] 813 | vp [INFO] [stdout] 814 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:817:29 [INFO] [stdout] | [INFO] [stdout] 817 | let vr = if let Some(s) = &n.content_rest.1 { [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/poly/evaluate.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | } 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] 817 ~ let vr = match &n.content_rest.1 { Some(s) => { [INFO] [stdout] 818 | let v2 = s.to_instr_rec(instr, seen, constant_seen); [INFO] [stdout] ... [INFO] [stdout] 827 | instr.len() - 1 [INFO] [stdout] 828 ~ } _ => { [INFO] [stdout] 829 | v1 [INFO] [stdout] 830 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:992:28 [INFO] [stdout] | [INFO] [stdout] 992 | if let Instruction::Mul(_) = self.instr[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/poly/evaluate.rs:994:25 [INFO] [stdout] | [INFO] [stdout] 994 | } 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] 992 ~ match self.instr[v] { Instruction::Mul(_) => { [INFO] [stdout] 993 | use_count[v] = 2; // different type, so disable [INFO] [stdout] 994 ~ } _ => { [INFO] [stdout] 995 | use_count[v] += 1; [INFO] [stdout] 996 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1001:28 [INFO] [stdout] | [INFO] [stdout] 1001 | if let Instruction::Add(_) = self.instr[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/poly/evaluate.rs:1003:25 [INFO] [stdout] | [INFO] [stdout] 1003 | } 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] 1001 ~ match self.instr[v] { Instruction::Add(_) => { [INFO] [stdout] 1002 | use_count[v] = 2; [INFO] [stdout] 1003 ~ } _ => { [INFO] [stdout] 1004 | use_count[v] += 1; [INFO] [stdout] 1005 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1020:16 [INFO] [stdout] | [INFO] [stdout] 1020 | if let Instruction::Add(a) | Instruction::Mul(a) = &self.instr[i] { [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/poly/evaluate.rs:1047:13 [INFO] [stdout] | [INFO] [stdout] 1047 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1020 ~ match &self.instr[i] { Instruction::Add(a) | Instruction::Mul(a) => { [INFO] [stdout] 1021 | if a.iter().any(|v| use_count[*v] == 1) { [INFO] [stdout] ... [INFO] [stdout] 1046 | } [INFO] [stdout] 1047 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1028:36 [INFO] [stdout] | [INFO] [stdout] 1028 | ... if let Instruction::Add(aa) | Instruction::Mul(aa) = &self.instr[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/poly/evaluate.rs:1034:33 [INFO] [stdout] | [INFO] [stdout] 1034 | ... } 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] 1028 ~ match &self.instr[v] [INFO] [stdout] 1029 ~ { Instruction::Add(aa) | Instruction::Mul(aa) => { [INFO] [stdout] 1030 | for x in aa { [INFO] [stdout] ... [INFO] [stdout] 1033 | self.instr[v] = Instruction::Empty; [INFO] [stdout] 1034 ~ } _ => { [INFO] [stdout] 1035 | unreachable!() [INFO] [stdout] 1036 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:959:24 [INFO] [stdout] | [INFO] [stdout] 959 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:961:13 [INFO] [stdout] | [INFO] [stdout] 961 | } 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] 959 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 960 | v - &p.last().unwrap()[k] [INFO] [stdout] 961 ~ } _ => { [INFO] [stdout] 962 | -p.last().unwrap()[k].clone() [INFO] [stdout] 963 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:1934:24 [INFO] [stdout] | [INFO] [stdout] 1934 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:1936:13 [INFO] [stdout] | [INFO] [stdout] 1936 | } 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] 1934 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 1935 | v - &p.last().unwrap()[k] [INFO] [stdout] 1936 ~ } _ => { [INFO] [stdout] 1937 | -p.last().unwrap()[k].clone() [INFO] [stdout] 1938 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:2311:24 [INFO] [stdout] | [INFO] [stdout] 2311 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:2313:13 [INFO] [stdout] | [INFO] [stdout] 2313 | } 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] 2311 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 2312 | v - &p.last().unwrap()[k] [INFO] [stdout] 2313 ~ } _ => { [INFO] [stdout] 2314 | -p.last().unwrap()[k].clone() [INFO] [stdout] 2315 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1035:16 [INFO] [stdout] | [INFO] [stdout] 1035 | if let Some(r) = solved_coeff { [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/poly/gcd.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | } 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] 1035 ~ match solved_coeff { Some(r) => { [INFO] [stdout] 1036 | // evaluate the scaling term for every sample [INFO] [stdout] ... [INFO] [stdout] 1065 | } [INFO] [stdout] 1066 ~ } _ => { [INFO] [stdout] 1067 | debug!( [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1982:24 [INFO] [stdout] | [INFO] [stdout] 1982 | if let Some(q1) = b.divides(&gc) { [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/poly/gcd.rs:1985:21 [INFO] [stdout] | [INFO] [stdout] 1985 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1982 ~ match b.divides(&gc) { Some(q1) => { [INFO] [stdout] 1983 | debug!("match {} {}", q, q1); [INFO] [stdout] 1984 | return Ok((gc.mul_coeff(content_gcd), q, q1)); [INFO] [stdout] 1985 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1993:24 [INFO] [stdout] | [INFO] [stdout] 1993 | if let Some(q) = a.divides(&a_co_fac) { [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/poly/gcd.rs:1997:21 [INFO] [stdout] | [INFO] [stdout] 1997 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1993 ~ match a.divides(&a_co_fac) { Some(q) => { [INFO] [stdout] 1994 | if let Some(q1) = b.divides(&q) { [INFO] [stdout] 1995 | return Ok((q.mul_coeff(content_gcd), a_co_fac, q1)); [INFO] [stdout] 1996 | } [INFO] [stdout] 1997 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1994:28 [INFO] [stdout] | [INFO] [stdout] 1994 | if let Some(q1) = b.divides(&q) { [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/poly/gcd.rs:1996:25 [INFO] [stdout] | [INFO] [stdout] 1996 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1994 ~ match b.divides(&q) { Some(q1) => { [INFO] [stdout] 1995 | return Ok((q.mul_coeff(content_gcd), a_co_fac, q1)); [INFO] [stdout] 1996 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:2004:24 [INFO] [stdout] | [INFO] [stdout] 2004 | if let Some(q) = b.divides(&b_co_fac) { [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/poly/gcd.rs:2008:21 [INFO] [stdout] | [INFO] [stdout] 2008 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2004 ~ match b.divides(&b_co_fac) { Some(q) => { [INFO] [stdout] 2005 | if let Some(q1) = a.divides(&q) { [INFO] [stdout] 2006 | return Ok((q.mul_coeff(content_gcd), q1, b_co_fac)); [INFO] [stdout] 2007 | } [INFO] [stdout] 2008 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:2005:28 [INFO] [stdout] | [INFO] [stdout] 2005 | if let Some(q1) = a.divides(&q) { [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/poly/gcd.rs:2007:25 [INFO] [stdout] | [INFO] [stdout] 2007 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2005 ~ match a.divides(&q) { Some(q1) => { [INFO] [stdout] 2006 | return Ok((q.mul_coeff(content_gcd), q1, b_co_fac)); [INFO] [stdout] 2007 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some((index, g)) = basis [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] 235 | | .iter() [INFO] [stdout] 236 | | .filter(|g| monom.iter().zip(g.1.max_exp()).all(|(pe, ge)| *pe >= *ge)) [INFO] [stdout] 237 | | .min_by_key(|g| g.1.nterms()) [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/poly/groebner.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match basis [INFO] [stdout] 235 | .iter() [INFO] [stdout] 236 | .filter(|g| monom.iter().zip(g.1.max_exp()).all(|(pe, ge)| *pe >= *ge)) [INFO] [stdout] 237 | .min_by_key(|g| g.1.nterms()) [INFO] [stdout] 238 ~ { Some((index, g)) => { [INFO] [stdout] 239 | for ((e, pe), ge) in exp.iter_mut().zip(monom).zip(g.max_exp()) { [INFO] [stdout] ... [INFO] [stdout] 244 | new_polys.push(pp); [INFO] [stdout] 245 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | while let Some(c) = rest_coeff.pop() { [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/poly/groebner.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(pos) = self.variables.iter().position(|v| v == var) { [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/poly/polynomial.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 330 ~ match self.variables.iter().position(|v| v == var) { Some(pos) => { [INFO] [stdout] 331 | let mut exp = vec![E::zero(); self.nvars()]; [INFO] [stdout] 332 | exp[pos] = E::one(); [INFO] [stdout] 333 | Ok(self.monomial(self.ring.one(), exp)) [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | Err("Variable not found") [INFO] [stdout] 336 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(pos) = self.variables.iter().position(|v| v == old) { [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/poly/polynomial.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 472 ~ match self.variables.iter().position(|v| v == old) { Some(pos) => { [INFO] [stdout] 473 | let mut new_vars = self.variables.as_ref().clone(); [INFO] [stdout] 474 | new_vars[pos] = new.clone(); [INFO] [stdout] 475 | self.variables = Arc::new(new_vars); [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | if let Some(p) = new_var_map.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/poly/polynomial.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 499 ~ match new_var_map.iter().position(|x| x == v) { Some(p) => { [INFO] [stdout] 500 | *pos = p; [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | *pos = new_var_map.len(); [INFO] [stdout] 503 | new_var_map.push(v.clone()); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:1053:12 [INFO] [stdout] | [INFO] [stdout] 1053 | if let Some(r) = self.mul_dense(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/poly/polynomial.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | } 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] 1053 ~ match self.mul_dense(rhs) { Some(r) => { [INFO] [stdout] 1054 | r [INFO] [stdout] 1055 ~ } _ => { [INFO] [stdout] 1056 | self.heap_mul(rhs) [INFO] [stdout] 1057 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:482:28 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(f) = &conflict_fn { [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/state.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 496 | } 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] 482 ~ match &conflict_fn { Some(f) => { [INFO] [stdout] 483 | let new_name = f(&str); [INFO] [stdout] ... [INFO] [stdout] 495 | } [INFO] [stdout] 496 ~ } _ => { [INFO] [stdout] 497 | return Err(std::io::Error::new( [INFO] [stdout] ... [INFO] [stdout] 500 | )); [INFO] [stdout] 501 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | if let Some(new_id) = state_map.symbols.get(&id) { [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/state.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | } 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] 526 ~ match state_map.symbols.get(&id) { Some(new_id) => { [INFO] [stdout] 527 | variables.push(Variable::Symbol(*new_id)); [INFO] [stdout] 528 ~ } _ => { [INFO] [stdout] 529 | variables.push(Variable::Symbol(ID_TO_STR[id as usize].0)) [INFO] [stdout] 530 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:538:39 [INFO] [stdout] | [INFO] [stdout] 538 | let symb = if let Some(new_id) = state_map.symbols.get(&id) { [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/state.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | } 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] 538 ~ let symb = match state_map.symbols.get(&id) { Some(new_id) => { [INFO] [stdout] 539 | *new_id [INFO] [stdout] 540 ~ } _ => { [INFO] [stdout] 541 | ID_TO_STR[id as usize].0 [INFO] [stdout] 542 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:605:12 [INFO] [stdout] | [INFO] [stdout] 605 | if let Ok(mut a) = self.atom_buffer.try_borrow_mut() { [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/state.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | } 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] 605 ~ match self.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 606 | if let Some(b) = a.pop() { [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] 611 ~ } _ => { [INFO] [stdout] 612 | Atom::default().into() // very rare [INFO] [stdout] 613 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:606:16 [INFO] [stdout] | [INFO] [stdout] 606 | if let Some(b) = a.pop() { [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/state.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | } 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] 606 ~ match a.pop() { Some(b) => { [INFO] [stdout] 607 | b.into() [INFO] [stdout] 608 ~ } _ => { [INFO] [stdout] 609 | Atom::default().into() [INFO] [stdout] 610 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 633 | if let Ok(mut a) = self.atom_buffer.try_borrow_mut() { [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/state.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 633 ~ match self.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 634 | a.push(atom); [INFO] [stdout] 635 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let Ok(mut a) = ws.atom_buffer.try_borrow_mut() { [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/state.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 727 | } [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 ws.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 724 | if a.len() < Workspace::ATOM_BUFFER_MAX { [INFO] [stdout] 725 | a.push(std::mem::replace(&mut self.0, Atom::Zero)); [INFO] [stdout] 726 | } [INFO] [stdout] 727 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streaming.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | if let Ok(()) = a.read(ff) { [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/streaming.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } 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] 340 ~ match a.read(ff) { Ok(()) => { [INFO] [stdout] 341 | head.push(Some(a)); [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | head.push(None); [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streaming.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | if let Ok(()) = a.read(&mut files[smallest[0] - 1]) { [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/streaming.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 377 ~ match a.read(&mut files[smallest[0] - 1]) { Ok(()) => { [INFO] [stdout] 378 | head[smallest[0]] = Some(a); [INFO] [stdout] 379 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transformer.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | if let AtomView::Fun(ff) = h.as_view() { [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/transformer.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 248 ~ match h.as_view() { AtomView::Fun(ff) => { [INFO] [stdout] 249 | let mut h2 = workspace.new_atom(); [INFO] [stdout] 250 | ff.linearize_impl(symbols, workspace, &mut h2); [INFO] [stdout] 251 | add.extend(h2.as_view()); [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | add.extend(h.as_view()); [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transformer.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | if let Ok(s) = cur_input.series( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |____________________________________| [INFO] [stdout] 434 | || *x, [INFO] [stdout] 435 | || expansion_point.as_view(), [INFO] [stdout] 436 | || depth.clone(), [INFO] [stdout] 437 | || *depth_is_absolute, [INFO] [stdout] 438 | || ) { [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/transformer.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 433 ~ match cur_input.series( [INFO] [stdout] 434 | *x, [INFO] [stdout] ... [INFO] [stdout] 437 | *depth_is_absolute, [INFO] [stdout] 438 ~ ) { Ok(s) => { [INFO] [stdout] 439 | s.to_atom_into(out); [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | std::mem::swap(out, &mut tmp); [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 155 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating examples/pattern_restrictions.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `symbolica` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/api/cpp.rs [INFO] [stderr] * src/atom.rs [INFO] [stderr] * src/atom/representation.rs [INFO] [stderr] * src/domains/integer.rs [INFO] [stderr] * src/evaluate.rs [INFO] [stderr] * src/poly/evaluate.rs [INFO] [stderr] * src/poly/polynomial.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/api/cpp.rs:171:10 [INFO] [stderr] | [INFO] [stderr] 171 | ($in_field: expr_2021, $exp_size: ty) => { [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/api/cpp.rs:298:10 [INFO] [stderr] | [INFO] [stderr] 298 | ($in_field: expr_2021, $exp_size: ty) => { [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/atom.rs:833:6 [INFO] [stderr] | [INFO] [stderr] 833 | ($name: expr_2021, $($id: 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/atom.rs:833:26 [INFO] [stderr] | [INFO] [stderr] 833 | ($name: expr_2021, $($id: 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/evaluate.rs:901:14 [INFO] [stderr] | [INFO] [stderr] 901 | ($i: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/evaluate.rs:1451:14 [INFO] [stderr] | [INFO] [stderr] 1451 | ($i: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/evaluate.rs:1468:14 [INFO] [stderr] | [INFO] [stderr] 1468 | ($i: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/evaluate.rs:1481:14 [INFO] [stderr] | [INFO] [stderr] 1481 | ($in_block: 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/evaluate.rs:1979:14 [INFO] [stderr] | [INFO] [stderr] 1979 | ($i: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/evaluate.rs:1996:14 [INFO] [stderr] | [INFO] [stderr] 1996 | ($i: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/evaluate.rs:2009:14 [INFO] [stderr] | [INFO] [stderr] 2009 | ($in_block: 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/poly/evaluate.rs:1395:14 [INFO] [stderr] | [INFO] [stderr] 1395 | ($i: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/poly/polynomial.rs:840:14 [INFO] [stderr] | [INFO] [stderr] 840 | ($source:expr_2021, $index: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/poly/polynomial.rs:840:33 [INFO] [stderr] | [INFO] [stderr] 840 | ($source:expr_2021, $index: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/poly/polynomial.rs:929:14 [INFO] [stderr] | [INFO] [stderr] 929 | ($source:expr_2021, $index: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/poly/polynomial.rs:929:33 [INFO] [stderr] | [INFO] [stderr] 929 | ($source:expr_2021, $index: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/integer.rs:2040:14 [INFO] [stderr] | [INFO] [stderr] 2040 | ($a: expr_2021, $b: expr_2021, $res: expr_2021, $op: tt) => { [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/integer.rs:2040:29 [INFO] [stderr] | [INFO] [stderr] 2040 | ($a: expr_2021, $b: expr_2021, $res: expr_2021, $op: tt) => { [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/integer.rs:2040:44 [INFO] [stderr] | [INFO] [stderr] 2040 | ($a: expr_2021, $b: expr_2021, $res: expr_2021, $op: tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [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: elided lifetime has a name [INFO] [stderr] --> src/atom/representation.rs:1696:53 [INFO] [stderr] | [INFO] [stderr] 1653 | impl<'a> ListSlice<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors; 1 warning 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/float.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:951:26 [INFO] [stdout] | [INFO] [stdout] 951 | let f: 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:1923:24 [INFO] [stdout] | [INFO] [stdout] 1923 | let rng1 = 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/domains/float.rs:1924:24 [INFO] [stdout] | [INFO] [stdout] 1924 | let rng2 = 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/streaming.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().gen::()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 44 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 82 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 96 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 114 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 147 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 278 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 404 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/api/cpp.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | ($in_field: expr, $exp_size: ty) => { [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] 171 | ($in_field: expr_2021, $exp_size: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/api/cpp.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | ($in_field: expr, $exp_size: ty) => { [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] 298 | ($in_field: expr_2021, $exp_size: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/atom/representation.rs:1696:53 [INFO] [stdout] | [INFO] [stdout] 1653 | impl<'a> ListSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/atom.rs:833:13 [INFO] [stdout] | [INFO] [stdout] 833 | ($name: expr, $($id: 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] 833 | ($name: expr_2021, $($id: 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/atom.rs:833:26 [INFO] [stdout] | [INFO] [stdout] 833 | ($name: expr, $($id: 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] 833 | ($name: expr, $($id: 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/integer.rs:2040:18 [INFO] [stdout] | [INFO] [stdout] 2040 | ($a: expr, $b: expr, $res: expr, $op: tt) => { [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] 2040 | ($a: expr_2021, $b: expr, $res: expr, $op: tt) => { [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/integer.rs:2040:28 [INFO] [stdout] | [INFO] [stdout] 2040 | ($a: expr, $b: expr, $res: expr, $op: tt) => { [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] 2040 | ($a: expr, $b: expr_2021, $res: expr, $op: tt) => { [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/integer.rs:2040:40 [INFO] [stdout] | [INFO] [stdout] 2040 | ($a: expr, $b: expr, $res: expr, $op: tt) => { [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] 2040 | ($a: expr, $b: expr, $res: expr_2021, $op: tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/evaluate.rs:901:17 [INFO] [stdout] | [INFO] [stdout] 901 | ($i: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] 901 | ($i: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/evaluate.rs:1451:17 [INFO] [stdout] | [INFO] [stdout] 1451 | ($i: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] 1451 | ($i: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/evaluate.rs:1468:17 [INFO] [stdout] | [INFO] [stdout] 1468 | ($i: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] 1468 | ($i: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/evaluate.rs:1481:25 [INFO] [stdout] | [INFO] [stdout] 1481 | ($in_block: 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] 1481 | ($in_block: 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/evaluate.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1979 | ($i: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] 1979 | ($i: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/evaluate.rs:1996:17 [INFO] [stdout] | [INFO] [stdout] 1996 | ($i: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] 1996 | ($i: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/evaluate.rs:2009:25 [INFO] [stdout] | [INFO] [stdout] 2009 | ($in_block: 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] 2009 | ($in_block: 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/poly/evaluate.rs:1395:17 [INFO] [stdout] | [INFO] [stdout] 1395 | ($i: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] 1395 | ($i: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/poly/polynomial.rs:840:22 [INFO] [stdout] | [INFO] [stdout] 840 | ($source:expr, $index: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] 840 | ($source:expr_2021, $index: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/poly/polynomial.rs:840:35 [INFO] [stdout] | [INFO] [stdout] 840 | ($source:expr, $index: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] 840 | ($source:expr, $index: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/poly/polynomial.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | ($source:expr, $index: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] 929 | ($source:expr_2021, $index: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/poly/polynomial.rs:929:35 [INFO] [stdout] | [INFO] [stdout] 929 | ($source:expr, $index: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] 929 | ($source:expr, $index:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/api/cpp.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let _ = Box::from_raw(symbolica); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/api/cpp.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe extern "C" fn drop(symbolica: *mut Symbolica) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Num::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | NUM_ID => Atom::Num(Num::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/atom/representation.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) unsafe fn from_raw(raw: RawAtom) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Var::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | VAR_ID => Atom::Var(Var::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Fun::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | FUN_ID => Atom::Fun(Fun::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Mul::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | MUL_ID => Atom::Mul(Mul::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Add::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ADD_ID => Atom::Add(Add::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Pow::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | POW_ID => Atom::Pow(Pow::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | } 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] 383 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 384 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 406 | } [INFO] [stdout] 407 ~ } _ => { [INFO] [stdout] 408 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 409 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 415 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 416 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } 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] 453 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 454 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 481 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if let Ok(mut stream) = TcpStream::connect("symbolica.io:12012") { [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/lib.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | } 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] 486 ~ match TcpStream::connect("symbolica.io:12012") { Ok(mut stream) => { [INFO] [stdout] 487 | let mut m: HashMap = HashMap::default(); [INFO] [stdout] ... [INFO] [stdout] 507 | } [INFO] [stdout] 508 ~ } _ => { [INFO] [stdout] 509 | Err("Could not connect to the license server".to_owned()) [INFO] [stdout] 510 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/atom/representation.rs:1507:24 [INFO] [stdout] | [INFO] [stdout] 1507 | if let Some(nv) = state_map.variables_lists.get(&old_id) { [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/atom/representation.rs:1512:21 [INFO] [stdout] | [INFO] [stdout] 1512 | } 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] 1507 ~ match state_map.variables_lists.get(&old_id) { Some(nv) => { [INFO] [stdout] 1508 | let mut rr = r.deserialize(); [INFO] [stdout] ... [INFO] [stdout] 1511 | out.to_num(Coefficient::RationalPolynomial(rr)); [INFO] [stdout] 1512 ~ } _ => { [INFO] [stdout] 1513 | out.set_from_view(self); [INFO] [stdout] 1514 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collect.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(coeff_map) = coeff_map { [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/collect.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | } 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] 179 ~ } else { match coeff_map { Some(coeff_map) => { [INFO] [stdout] 180 | let mut handle = workspace.new_atom(); [INFO] [stdout] 181 | coeff_map(rest.as_view(), &mut handle); [INFO] [stdout] 182 | add.extend(handle.as_view()); [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | add.extend(rest.as_view()); [INFO] [stdout] 185 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collect.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(v) = poly.get_variables().iter().position(|v| v == &x.into()) { [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/collect.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | } 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] 430 ~ match poly.get_variables().iter().position(|v| v == &x.into()) { Some(v) => { [INFO] [stdout] 431 | let mut a = ws.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 440 | add.as_view().normalize(ws, out); [INFO] [stdout] 441 ~ } _ => { [INFO] [stdout] 442 | out.set_from_view(self); [INFO] [stdout] 443 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | if let Atom::Mul(m) = arg_der.deref_mut() { [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/derivative.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match arg_der.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 150 | m.extend(fn_der.as_view()); [INFO] [stdout] 151 | arg_der.as_view().normalize(workspace, out); [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | let mut mul = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 157 | mul.as_view().normalize(workspace, out); [INFO] [stdout] 158 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | if let Atom::Mul(m) = exp_der.deref_mut() { [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/derivative.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | } 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] 224 ~ match exp_der.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 225 | m.extend(*self); [INFO] [stdout] 226 | m.extend(log_base.as_view()); [INFO] [stdout] 227 | exp_der.as_view().normalize(workspace, &mut exp_der_contrib); [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | let mut mul = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 234 | mul.as_view().normalize(workspace, &mut exp_der_contrib); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | if let Atom::Mul(mm) = arg_der.deref_mut() { [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/derivative.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | } 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] 292 ~ match arg_der.deref_mut() { Atom::Mul(mm) => { [INFO] [stdout] 293 | for other_arg in args.iter() { [INFO] [stdout] ... [INFO] [stdout] 299 | add.extend(arg_der.as_view()); [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | let mm = mul_h.to_mul(); [INFO] [stdout] ... [INFO] [stdout] 308 | add.extend(mul_h.as_view()); [INFO] [stdout] 309 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derivative.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | ... while let Some(x) = it.next() { [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/derivative.rs:480:29 [INFO] [stdout] | [INFO] [stdout] 480 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | if let Some(q) = num.divides(d) { [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/factorized_rational_polynomial.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | } 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] 759 ~ match num.divides(d) { Some(q) => { [INFO] [stdout] 760 | num = q; [INFO] [stdout] 761 | *p -= 1; [INFO] [stdout] 762 ~ } _ => { [INFO] [stdout] 763 | break; [INFO] [stdout] 764 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:859:20 [INFO] [stdout] | [INFO] [stdout] 859 | if let Some(q) = reduced_numerator_1.divides(d) { [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/factorized_rational_polynomial.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | } 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] 859 ~ match reduced_numerator_1.divides(d) { Some(q) => { [INFO] [stdout] 860 | reduced_numerator_1 = Cow::Owned(q); [INFO] [stdout] 861 | p -= 1; [INFO] [stdout] 862 ~ } _ => { [INFO] [stdout] 863 | break; [INFO] [stdout] 864 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:879:20 [INFO] [stdout] | [INFO] [stdout] 879 | if let Some(q) = reduced_numerator_2.divides(d) { [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/factorized_rational_polynomial.rs:882:17 [INFO] [stdout] | [INFO] [stdout] 882 | } 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] 879 ~ match reduced_numerator_2.divides(d) { Some(q) => { [INFO] [stdout] 880 | reduced_numerator_2 = Cow::Owned(q); [INFO] [stdout] 881 | p -= 1; [INFO] [stdout] 882 ~ } _ => { [INFO] [stdout] 883 | break; [INFO] [stdout] 884 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:950:16 [INFO] [stdout] | [INFO] [stdout] 950 | if let Some((_, p2)) = self.denominators.iter().find(|(d2, _)| d == d2) { [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/factorized_rational_polynomial.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | } 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] 950 ~ match self.denominators.iter().find(|(d2, _)| d == d2) { Some((_, p2)) => { [INFO] [stdout] 951 | if p > p2 { [INFO] [stdout] ... [INFO] [stdout] 955 | } [INFO] [stdout] 956 ~ } _ => { [INFO] [stdout] 957 | reduced_numerator_2 = reduced_numerator_2 * &d.pow(*p); [INFO] [stdout] 958 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/factorized_rational_polynomial.rs:981:20 [INFO] [stdout] | [INFO] [stdout] 981 | if let Some(q) = reduced_numerator_1.divides(&d) { [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/factorized_rational_polynomial.rs:984:17 [INFO] [stdout] | [INFO] [stdout] 984 | } 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] 981 ~ match reduced_numerator_1.divides(&d) { Some(q) => { [INFO] [stdout] 982 | reduced_numerator_1 = Cow::Owned(q); [INFO] [stdout] 983 | p -= 1; [INFO] [stdout] 984 ~ } _ => { [INFO] [stdout] 985 | break; [INFO] [stdout] 986 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 403 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 404 | // the max is at most 2 binary digits off [INFO] [stdout] ... [INFO] [stdout] 408 | r.set_prec(1.max(max_prec.min(r.prec() as i32)) as u32); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 446 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 447 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 448 | r.set_prec(1.max(max_prec.min(r.prec() as i32)) as u32); [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | if let Some(e) = self.0.get_exp() { [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/float.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 534 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 535 | if let Some(e1) = e1 { [INFO] [stdout] ... [INFO] [stdout] 540 | } [INFO] [stdout] 541 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:536:20 [INFO] [stdout] | [INFO] [stdout] 536 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 536 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 537 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 538 | self.set_prec(1.max(max_prec.min(self.prec() as i32)) as u32); [INFO] [stdout] 539 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:564:12 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(e) = self.0.get_exp() { [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/float.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 564 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 565 | if let Some(e1) = e1 { [INFO] [stdout] ... [INFO] [stdout] 570 | } [INFO] [stdout] 571 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:566:20 [INFO] [stdout] | [INFO] [stdout] 566 | if let Some(e2) = rhs.0.get_exp() { [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/float.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 566 ~ match rhs.0.get_exp() { Some(e2) => { [INFO] [stdout] 567 | let max_prec = e + 1 - (e1 - sp as i32).max(e2 - rhs.prec() as i32); [INFO] [stdout] 568 | self.set_prec(1.max(max_prec.min(self.prec() as i32)) as u32); [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:1015:12 [INFO] [stdout] | [INFO] [stdout] 1015 | if let Some(e) = self.0.get_exp() { [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/float.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1022 | } 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] 1015 ~ match self.0.get_exp() { Some(e) => { [INFO] [stdout] 1016 | // Exp grows in precision when e < 0 [INFO] [stdout] ... [INFO] [stdout] 1021 | .into() [INFO] [stdout] 1022 ~ } _ => { [INFO] [stdout] 1023 | self.0.clone().exp().into() [INFO] [stdout] 1024 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/float.rs:1101:16 [INFO] [stdout] | [INFO] [stdout] 1101 | if let Some(eb) = self.0.get_exp() { [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/float.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1101 ~ match self.0.get_exp() { Some(eb) => { [INFO] [stdout] 1102 | // eb is (over)estimate of ln(self) [INFO] [stdout] ... [INFO] [stdout] 1115 | } [INFO] [stdout] 1116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(n) = n.to_i64() { [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] 194 | Integer::Natural(n) [INFO] [stdout] 195 | } else if let Some(n) = n.to_i128() { [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/integer.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | } else if let Some(n) = n.to_i128() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } 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] 193 ~ match n.to_i64() { Some(n) => { [INFO] [stdout] 194 | Integer::Natural(n) [INFO] [stdout] 195 ~ } _ => { match n.to_i128() { Some(n) => { [INFO] [stdout] 196 | Integer::Double(n) [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | Integer::Large(n) [INFO] [stdout] 199 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if let Ok(n) = s.parse::() { [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/integer.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } 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] 223 ~ match s.parse::() { Ok(n) => { [INFO] [stdout] 224 | Ok(Integer::Large(n)) [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | Err("Could not parse integer") [INFO] [stdout] 227 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1018:12 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Integer::Large(r) = 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/domains/integer.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | } 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] 1018 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1019 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1023 | } [INFO] [stdout] 1024 ~ } _ => { [INFO] [stdout] 1025 | &self + rhs [INFO] [stdout] 1026 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 1035 | if let Integer::Large(r) = 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] 1041 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | } 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] 1035 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1036 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1040 | } [INFO] [stdout] 1041 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1042 | match self { [INFO] [stdout] ... [INFO] [stdout] 1046 | } [INFO] [stdout] 1047 ~ } _ => { [INFO] [stdout] 1048 | self + &rhs [INFO] [stdout] 1049 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | if let Integer::Large(s) = 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/domains/integer.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1110 | } 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] 1104 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1105 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1109 | } [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | &self - rhs [INFO] [stdout] 1112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1121:12 [INFO] [stdout] | [INFO] [stdout] 1121 | if let Integer::Large(r) = 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/domains/integer.rs:1127:9 [INFO] [stdout] | [INFO] [stdout] 1127 | } 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] 1121 ~ match rhs { Integer::Large(r) => { [INFO] [stdout] 1122 | match self { [INFO] [stdout] ... [INFO] [stdout] 1126 | } [INFO] [stdout] 1127 ~ } _ => { [INFO] [stdout] 1128 | self - &rhs [INFO] [stdout] 1129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1138 | if let Integer::Large(s) = 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] 1144 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1144:9 [INFO] [stdout] | [INFO] [stdout] 1144 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | } 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] 1138 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1139 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1143 | } [INFO] [stdout] 1144 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1145 | match self { [INFO] [stdout] ... [INFO] [stdout] 1149 | } [INFO] [stdout] 1150 ~ } _ => { [INFO] [stdout] 1151 | self - &rhs [INFO] [stdout] 1152 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1204:12 [INFO] [stdout] | [INFO] [stdout] 1204 | if let Integer::Large(r) = 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/domains/integer.rs:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | } 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] 1204 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1205 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1209 | } [INFO] [stdout] 1210 ~ } _ => { [INFO] [stdout] 1211 | &self * rhs [INFO] [stdout] 1212 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1230:12 [INFO] [stdout] | [INFO] [stdout] 1230 | if let Integer::Large(r) = 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] 1236 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1236:9 [INFO] [stdout] | [INFO] [stdout] 1236 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | } 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] 1230 ~ match self { Integer::Large(r) => { [INFO] [stdout] 1231 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1235 | } [INFO] [stdout] 1236 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1237 | match self { [INFO] [stdout] ... [INFO] [stdout] 1241 | } [INFO] [stdout] 1242 ~ } _ => { [INFO] [stdout] 1243 | self * &rhs [INFO] [stdout] 1244 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1290:12 [INFO] [stdout] | [INFO] [stdout] 1290 | if let Integer::Large(s) = 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/domains/integer.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | } 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] 1290 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1291 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1295 | } [INFO] [stdout] 1296 ~ } _ => { [INFO] [stdout] 1297 | &self / rhs [INFO] [stdout] 1298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1307:12 [INFO] [stdout] | [INFO] [stdout] 1307 | if let Integer::Large(r) = 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/domains/integer.rs:1313:9 [INFO] [stdout] | [INFO] [stdout] 1313 | } 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] 1307 ~ match rhs { Integer::Large(r) => { [INFO] [stdout] 1308 | match self { [INFO] [stdout] ... [INFO] [stdout] 1312 | } [INFO] [stdout] 1313 ~ } _ => { [INFO] [stdout] 1314 | self / &rhs [INFO] [stdout] 1315 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1324:12 [INFO] [stdout] | [INFO] [stdout] 1324 | if let Integer::Large(s) = 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] 1330 | } else if let Integer::Large(r) = rhs { [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/integer.rs:1330:9 [INFO] [stdout] | [INFO] [stdout] 1330 | } else if let Integer::Large(r) = rhs { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/domains/integer.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | } 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] 1324 ~ match self { Integer::Large(s) => { [INFO] [stdout] 1325 | match rhs { [INFO] [stdout] ... [INFO] [stdout] 1329 | } [INFO] [stdout] 1330 ~ } _ => { match rhs { Integer::Large(r) => { [INFO] [stdout] 1331 | match self { [INFO] [stdout] ... [INFO] [stdout] 1335 | } [INFO] [stdout] 1336 ~ } _ => { [INFO] [stdout] 1337 | self / &rhs [INFO] [stdout] 1338 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/rational.rs:835:16 [INFO] [stdout] | [INFO] [stdout] 835 | if let Ok(q) = [INFO] [stdout] | ________________^ [INFO] [stdout] 836 | | Rational::maximal_quotient_reconstruction(&cur_result, &prime_accum, None) [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/rational.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 835 ~ match Rational::maximal_quotient_reconstruction(&cur_result, &prime_accum, None) [INFO] [stdout] 836 ~ { Ok(q) => { [INFO] [stdout] 837 | if q == last_guess { [INFO] [stdout] ... [INFO] [stdout] 841 | } [INFO] [stdout] 842 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/domains/rational_polynomial.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | if let Some(r) = hm.get_mut(e_list.as_slice()) { [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/rational_polynomial.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | } 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] 392 ~ match hm.get_mut(e_list.as_slice()) { Some(r) => { [INFO] [stdout] 393 | r.numerator [INFO] [stdout] 394 | .append_monomial(e.coefficient.clone(), &e_list_coeff); [INFO] [stdout] 395 ~ } _ => { [INFO] [stdout] 396 | let mut r = RationalPolynomial::new( [INFO] [stdout] ... [INFO] [stdout] 402 | hm.insert(e_list.clone(), r); [INFO] [stdout] 403 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2642:16 [INFO] [stdout] | [INFO] [stdout] 2642 | if let Expression::Mul(m) = &mut 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/evaluate.rs:2681:13 [INFO] [stdout] | [INFO] [stdout] 2681 | } else if x == scheme[0] { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2642 ~ match &mut x { Expression::Mul(m) => { [INFO] [stdout] 2643 | let mut pow_counter = 0; [INFO] [stdout] ... [INFO] [stdout] 2680 | found = pow_counter > 0; [INFO] [stdout] 2681 ~ } _ => if x == scheme[0] { [INFO] [stdout] 2682 | found = true; [INFO] [stdout] 2683 | x = Expression::Const(Rational::one()); [INFO] [stdout] 2684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2708:12 [INFO] [stdout] | [INFO] [stdout] 2708 | if let Expression::Mul(a) = contains { [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/evaluate.rs:2710:9 [INFO] [stdout] | [INFO] [stdout] 2710 | } 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] 2708 ~ match contains { Expression::Mul(a) => { [INFO] [stdout] 2709 | v.extend(a); [INFO] [stdout] 2710 ~ } _ => { [INFO] [stdout] 2711 | v.push(contains); [INFO] [stdout] 2712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:2738:16 [INFO] [stdout] | [INFO] [stdout] 2738 | if let Expression::Add(aa) = r { [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/evaluate.rs:2740:13 [INFO] [stdout] | [INFO] [stdout] 2740 | } 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] 2738 ~ match r { Expression::Add(aa) => { [INFO] [stdout] 2739 | a.extend(aa); [INFO] [stdout] 2740 ~ } _ => { [INFO] [stdout] 2741 | a.push(r); [INFO] [stdout] 2742 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/evaluate.rs:4034:24 [INFO] [stdout] | [INFO] [stdout] 4034 | if let Expression::Mul(m) = a { [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/evaluate.rs:4036:21 [INFO] [stdout] | [INFO] [stdout] 4036 | } 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] 4034 ~ match a { Expression::Mul(m) => { [INFO] [stdout] 4035 | muls.extend(m); [INFO] [stdout] 4036 ~ } _ => { [INFO] [stdout] 4037 | muls.push(a); [INFO] [stdout] 4038 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | if let AtomView::Add(a) = new_base.as_view() { [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] 176 | } else if let AtomView::Mul(m) = new_base.as_view() { [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/expand.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | } else if let AtomView::Mul(m) = new_base.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/expand.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | } 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] 107 ~ match new_base.as_view() { AtomView::Add(a) => { [INFO] [stdout] 108 | // expand (a+b+c+..)^n [INFO] [stdout] ... [INFO] [stdout] 175 | true [INFO] [stdout] 176 ~ } _ => { match new_base.as_view() { AtomView::Mul(m) => { [INFO] [stdout] 177 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 195 | true [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | let mut pow_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 201 | changed [INFO] [stdout] 202 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | while let Some(new_term) = ci.next() { [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/expand.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | ... if let Atom::Mul(m) = expanded_child.deref_mut() { [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/expand.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match expanded_child.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 149 | m.extend(coeff_h.as_view()); [INFO] [stdout] 150 | add.extend(expanded_child.as_view()); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 156 | add.extend(mul_h.as_view()); [INFO] [stdout] 157 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | if let AtomView::Add(a) = new_arg.as_view() { [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/expand.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | } else if sum.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match new_arg.as_view() { AtomView::Add(a) => { [INFO] [stdout] 216 | changed = true; [INFO] [stdout] ... [INFO] [stdout] 243 | new_sum.clear(); [INFO] [stdout] 244 ~ } _ => if sum.is_empty() { [INFO] [stdout] 245 | sum.push(new_arg); [INFO] [stdout] ... [INFO] [stdout] 257 | } [INFO] [stdout] 258 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expand.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | ... if let Atom::Mul(m) = b.deref_mut() { [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/expand.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | ... } 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] 223 ~ match b.deref_mut() { Atom::Mul(m) => { [INFO] [stdout] 224 | m.extend(child); [INFO] [stdout] 225 | new_sum.push(b); [INFO] [stdout] 226 ~ } _ => { [INFO] [stdout] 227 | let mut mul_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 231 | new_sum.push(mul_h); [INFO] [stdout] 232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/graph.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(edge) = self.edges.pop() { [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/graph.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | } 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] 304 ~ match self.edges.pop() { Some(edge) => { [INFO] [stdout] 305 | self.nodes[edge.vertices.0].edges.pop(); [INFO] [stdout] 306 | self.nodes[edge.vertices.1].edges.pop(); [INFO] [stdout] 307 | Some(edge) [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | None [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some((_, used_flags)) = it.next(&mut match_stack) { [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/id.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match it.next(&mut match_stack) { Some((_, used_flags)) => { [INFO] [stdout] 358 | let mut rhs_subs = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 405 | return true; [INFO] [stdout] 406 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:2633:20 [INFO] [stdout] | [INFO] [stdout] 2633 | if let Some(it) = self.pattern_iter.as_mut() { [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/id.rs:2650:17 [INFO] [stdout] | [INFO] [stdout] 2650 | } 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] 2633 ~ match self.pattern_iter.as_mut() { Some(it) => { [INFO] [stdout] 2634 | if let Some((_, used_flags)) = it.next(&mut self.match_stack) { [INFO] [stdout] ... [INFO] [stdout] 2649 | } [INFO] [stdout] 2650 ~ } _ => { [INFO] [stdout] 2651 | // prevent duplicate matches by not matching to single atoms in a list as they will [INFO] [stdout] 2652 | // be tested at a later stage in the atom tree iterator, as we want to store the position [INFO] [stdout] 2653 | self.pattern_iter = Some(AtomMatchIterator::new(self.pattern, ct)); [INFO] [stdout] 2654 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/id.rs:2814:12 [INFO] [stdout] | [INFO] [stdout] 2814 | if let Some(pattern_match) = self.pattern_tree_iterator.next() { [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/id.rs:2842:9 [INFO] [stdout] | [INFO] [stdout] 2842 | } 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] 2814 ~ match self.pattern_tree_iterator.next() { Some(pattern_match) => { [INFO] [stdout] 2815 | Workspace::get_local().with(|ws| { [INFO] [stdout] ... [INFO] [stdout] 2841 | Some(()) [INFO] [stdout] 2842 ~ } _ => { [INFO] [stdout] 2843 | None [INFO] [stdout] 2844 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:700:24 [INFO] [stdout] | [INFO] [stdout] 700 | if let Atom::Mul(mul) = handle.deref_mut() { [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/normalize.rs:720:21 [INFO] [stdout] | [INFO] [stdout] 720 | } 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] 700 ~ match handle.deref_mut() { Atom::Mul(mul) => { [INFO] [stdout] 701 | for c in mul.to_mul_view().iter() { [INFO] [stdout] ... [INFO] [stdout] 719 | } [INFO] [stdout] 720 ~ } _ => { [INFO] [stdout] 721 | if let AtomView::Num(n) = handle.as_view() { [INFO] [stdout] ... [INFO] [stdout] 733 | atom_test_buf.push(handle); [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:752:27 [INFO] [stdout] | [INFO] [stdout] 752 | while let Some(mut cur_buf) = atom_test_buf.pop() { [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/normalize.rs:771:21 [INFO] [stdout] | [INFO] [stdout] 771 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/normalize.rs:1161:35 [INFO] [stdout] | [INFO] [stdout] 1161 | } else if let AtomView::Num(n) = base_handle.as_view() { [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] 1172 | } else if let AtomView::Var(v) = base_handle.as_view() { [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] 1207 | } else if let AtomView::Pow(p_base) = base_handle.as_view() { [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] 1223 | } else if let AtomView::Mul(m) = base_handle.as_view() { [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/normalize.rs:1172:25 [INFO] [stdout] | [INFO] [stdout] 1172 | } else if let AtomView::Var(v) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1207:25 [INFO] [stdout] | [INFO] [stdout] 1207 | } else if let AtomView::Pow(p_base) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1223:25 [INFO] [stdout] | [INFO] [stdout] 1223 | } else if let AtomView::Mul(m) = base_handle.as_view() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/normalize.rs:1237:25 [INFO] [stdout] | [INFO] [stdout] 1237 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1161 ~ } else { match base_handle.as_view() { AtomView::Num(n) => { [INFO] [stdout] 1162 | // simplify a number to a numerical power [INFO] [stdout] ... [INFO] [stdout] 1171 | exp_handle.to_num(new_exp_num); [INFO] [stdout] 1172 ~ } _ => { match base_handle.as_view() { AtomView::Var(v) => { [INFO] [stdout] 1173 | if v.get_symbol() == State::I { [INFO] [stdout] ... [INFO] [stdout] 1206 | } [INFO] [stdout] 1207 ~ } _ => { match base_handle.as_view() { AtomView::Pow(p_base) => { [INFO] [stdout] 1208 | if exp_num.is_integer() { [INFO] [stdout] ... [INFO] [stdout] 1222 | } [INFO] [stdout] 1223 ~ } _ => { match base_handle.as_view() { AtomView::Mul(m) => { [INFO] [stdout] 1224 | // rewrite (x*y)^2 as x^2*y^2 [INFO] [stdout] ... [INFO] [stdout] 1236 | } [INFO] [stdout] 1237 ~ } _ => {}}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/numerical_integration.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 495 | if let (Some(s1), Some(s2)) = (&mut self.sub_grid, &other.sub_grid) { [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/numerical_integration.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match (&mut self.sub_grid, &other.sub_grid) { (Some(s1), Some(s2)) => { [INFO] [stdout] 496 | s1.merge_unchecked(s2); [INFO] [stdout] 497 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/numerical_integration.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | if let Some(sub_grid) = &mut self.bins[v].sub_grid { [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/numerical_integration.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | } 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] 639 ~ match &mut self.bins[v].sub_grid { Some(sub_grid) => { [INFO] [stdout] 640 | let child_sample = if let Some(sub_sample) = child { [INFO] [stdout] ... [INFO] [stdout] 650 | *weight *= &child_sample.get_weight(); [INFO] [stdout] 651 ~ } _ => { [INFO] [stdout] 652 | *child = None; [INFO] [stdout] 653 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/numerical_integration.rs:1160:20 [INFO] [stdout] | [INFO] [stdout] 1160 | if let Sample::Discrete(_weight, i, cont_sample) = &sample { [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/numerical_integration.rs:1166:17 [INFO] [stdout] | [INFO] [stdout] 1166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1160 ~ match &sample { Sample::Discrete(_weight, i, cont_sample) => { [INFO] [stdout] 1161 | if let Sample::Continuous(_cont_weight, xs) = [INFO] [stdout] ... [INFO] [stdout] 1165 | } [INFO] [stdout] 1166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if let Token::Op(ml, mr, o2, mut args2) = other { [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/parser.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | } 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] 263 ~ match other { Token::Op(ml, mr, o2, mut args2) => { [INFO] [stdout] 264 | debug_assert!(!ml && !mr); [INFO] [stdout] ... [INFO] [stdout] 271 | } [INFO] [stdout] 272 ~ } _ => { [INFO] [stdout] 273 | args.insert(0, other); [INFO] [stdout] 274 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | if let Token::Number(n) = &mut other { [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/parser.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | } 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] 320 ~ match &mut other { Token::Number(n) => { [INFO] [stdout] 321 | if n.starts_with('-') { [INFO] [stdout] ... [INFO] [stdout] 325 | } [INFO] [stdout] 326 ~ } _ => { [INFO] [stdout] 327 | other.distribute_neg(); [INFO] [stdout] 328 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if let Token::Op(ml, mr, o2, mut args2) = other { [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/parser.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 333 ~ match other { Token::Op(ml, mr, o2, mut args2) => { [INFO] [stdout] 334 | debug_assert!(!ml && !mr); [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | args.push(other); [INFO] [stdout] 348 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | if let Token::Number(n) = other { [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/parser.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | } 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] 352 ~ match other { Token::Number(n) => { [INFO] [stdout] 353 | Err(format!("operator expected between '{}' and '{}'", self, n)) [INFO] [stdout] 354 ~ } _ => { [INFO] [stdout] 355 | Err(format!( [INFO] [stdout] ... [INFO] [stdout] 358 | )) [INFO] [stdout] 359 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Variable::Symbol(id) = var_map[index] { [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/parser.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | } 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] 507 ~ match var_map[index] { Variable::Symbol(id) => { [INFO] [stdout] 508 | out.to_var(id); [INFO] [stdout] 509 ~ } _ => { [INFO] [stdout] 510 | Err(format!("Undefined variable {}", name))?; [INFO] [stdout] 511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:617:20 [INFO] [stdout] | [INFO] [stdout] 617 | if let Variable::Symbol(id) = var_map[index] { [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/parser.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | } 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] 617 ~ match var_map[index] { Variable::Symbol(id) => { [INFO] [stdout] 618 | let mut fun_h = workspace.new_atom(); [INFO] [stdout] ... [INFO] [stdout] 631 | fun_h.as_view().normalize(workspace, out); [INFO] [stdout] 632 ~ } _ => { [INFO] [stdout] 633 | Err(format!("Undefined variable {}", name))?; [INFO] [stdout] 634 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:809:28 [INFO] [stdout] | [INFO] [stdout] 809 | if let Some(Token::ID(_)) = stack.last() { [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/parser.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | } else if unsafe { stack.last().unwrap_unchecked() }.is_normal() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 809 ~ match stack.last() { Some(Token::ID(_)) => { [INFO] [stdout] 810 | let name = unsafe { stack.pop().unwrap_unchecked() }; [INFO] [stdout] ... [INFO] [stdout] 813 | } [INFO] [stdout] 814 ~ } _ => if unsafe { stack.last().unwrap_unchecked() }.is_normal() { [INFO] [stdout] 815 | // insert multiplication: x(...) -> x*(...) [INFO] [stdout] ... [INFO] [stdout] 819 | stack.push(Token::OpenParenthesis) [INFO] [stdout] 820 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:811:32 [INFO] [stdout] | [INFO] [stdout] 811 | ... if let Token::ID(_) = name { [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/parser.rs:813:29 [INFO] [stdout] | [INFO] [stdout] 813 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 811 ~ match name { Token::ID(_) => { [INFO] [stdout] 812 | stack.push(Token::Fn(true, false, vec![name])); // serves as open paren [INFO] [stdout] 813 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:844:36 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Token::ID(_) = name { [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/parser.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 844 ~ match name { Token::ID(_) => { [INFO] [stdout] 845 | stack.push(Token::Fn(true, true, vec![name])); [INFO] [stdout] 846 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:997:36 [INFO] [stdout] | [INFO] [stdout] 997 | ... if let Token::Op(_, _, Operator::Argument, arg2) = mid { [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/parser.rs:999:33 [INFO] [stdout] | [INFO] [stdout] 999 | ... } 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] 997 ~ match mid { Token::Op(_, _, Operator::Argument, arg2) => { [INFO] [stdout] 998 | args.extend(arg2); [INFO] [stdout] 999 ~ } _ => { [INFO] [stdout] 1000| args.push(mid); [INFO] [stdout] 1001~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1017:36 [INFO] [stdout] | [INFO] [stdout] 1017 | ... if let Token::Op(_, _, o_mid, mut m_mid) = mid { [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/parser.rs:1023:33 [INFO] [stdout] | [INFO] [stdout] 1023 | ... } 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] 1017 ~ match mid { Token::Op(_, _, o_mid, mut m_mid) => { [INFO] [stdout] 1018 | if o_mid == *o1 && o_mid.right_associative() { [INFO] [stdout] ... [INFO] [stdout] 1022 | } [INFO] [stdout] 1023 ~ } _ => { [INFO] [stdout] 1024 | m.push(mid) [INFO] [stdout] 1025 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | if let HornerScheme::Leaf(_, r) = &content { [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/poly/evaluate.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | } 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] 486 ~ match &content { HornerScheme::Leaf(_, r) => { [INFO] [stdout] 487 | if r.is_one() { [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => { [INFO] [stdout] 493 | Some(content) [INFO] [stdout] 494 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let HornerScheme::Leaf(_, r) = &rest { [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/poly/evaluate.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 495 ~ match &rest { HornerScheme::Leaf(_, r) => { [INFO] [stdout] 496 | if r.is_zero() { [INFO] [stdout] ... [INFO] [stdout] 500 | } [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | Some(rest) [INFO] [stdout] 503 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | let boxed_children = if let Some(mut b) = boxes.pop() { [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/poly/evaluate.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | } 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] 507 ~ let boxed_children = match boxes.pop() { Some(mut b) => { [INFO] [stdout] 508 | *b = children; [INFO] [stdout] 509 | b [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | Box::new(children) [INFO] [stdout] 512 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | if let Some(content) = n.content_rest.1.as_ref() { [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/poly/evaluate.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 668 ~ match n.content_rest.1.as_ref() { Some(content) => { [INFO] [stdout] 669 | content.get_constants(constants, shift); [INFO] [stdout] 670 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:743:29 [INFO] [stdout] | [INFO] [stdout] 743 | let v1 = if let Some(v) = seen.get(&b) { [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/poly/evaluate.rs:745:17 [INFO] [stdout] | [INFO] [stdout] 745 | } 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] 743 ~ let v1 = match seen.get(&b) { Some(v) => { [INFO] [stdout] 744 | *v [INFO] [stdout] 745 ~ } _ => { [INFO] [stdout] 746 | // check if var^pow is seen before [INFO] [stdout] ... [INFO] [stdout] 814 | } [INFO] [stdout] 815 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:750:28 [INFO] [stdout] | [INFO] [stdout] 750 | if let Some(v) = seen.get(&c) { [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/poly/evaluate.rs:752:25 [INFO] [stdout] | [INFO] [stdout] 752 | } 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] 750 ~ match seen.get(&c) { Some(v) => { [INFO] [stdout] 751 | *v [INFO] [stdout] 752 ~ } _ => { [INFO] [stdout] 753 | /// Binary exponentiation [INFO] [stdout] ... [INFO] [stdout] 796 | bin_exp(n.var, n.pow, instr, seen) [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | if let Some(s) = &n.content_rest.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/poly/evaluate.rs:812:21 [INFO] [stdout] | [INFO] [stdout] 812 | } 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] 802 ~ match &n.content_rest.0 { Some(s) => { [INFO] [stdout] 803 | let v1 = s.to_instr_rec(instr, seen, constant_seen); [INFO] [stdout] ... [INFO] [stdout] 811 | instr.len() - 1 [INFO] [stdout] 812 ~ } _ => { [INFO] [stdout] 813 | vp [INFO] [stdout] 814 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:817:29 [INFO] [stdout] | [INFO] [stdout] 817 | let vr = if let Some(s) = &n.content_rest.1 { [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/poly/evaluate.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | } 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] 817 ~ let vr = match &n.content_rest.1 { Some(s) => { [INFO] [stdout] 818 | let v2 = s.to_instr_rec(instr, seen, constant_seen); [INFO] [stdout] ... [INFO] [stdout] 827 | instr.len() - 1 [INFO] [stdout] 828 ~ } _ => { [INFO] [stdout] 829 | v1 [INFO] [stdout] 830 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:992:28 [INFO] [stdout] | [INFO] [stdout] 992 | if let Instruction::Mul(_) = self.instr[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/poly/evaluate.rs:994:25 [INFO] [stdout] | [INFO] [stdout] 994 | } 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] 992 ~ match self.instr[v] { Instruction::Mul(_) => { [INFO] [stdout] 993 | use_count[v] = 2; // different type, so disable [INFO] [stdout] 994 ~ } _ => { [INFO] [stdout] 995 | use_count[v] += 1; [INFO] [stdout] 996 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1001:28 [INFO] [stdout] | [INFO] [stdout] 1001 | if let Instruction::Add(_) = self.instr[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/poly/evaluate.rs:1003:25 [INFO] [stdout] | [INFO] [stdout] 1003 | } 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] 1001 ~ match self.instr[v] { Instruction::Add(_) => { [INFO] [stdout] 1002 | use_count[v] = 2; [INFO] [stdout] 1003 ~ } _ => { [INFO] [stdout] 1004 | use_count[v] += 1; [INFO] [stdout] 1005 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1020:16 [INFO] [stdout] | [INFO] [stdout] 1020 | if let Instruction::Add(a) | Instruction::Mul(a) = &self.instr[i] { [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/poly/evaluate.rs:1047:13 [INFO] [stdout] | [INFO] [stdout] 1047 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1020 ~ match &self.instr[i] { Instruction::Add(a) | Instruction::Mul(a) => { [INFO] [stdout] 1021 | if a.iter().any(|v| use_count[*v] == 1) { [INFO] [stdout] ... [INFO] [stdout] 1046 | } [INFO] [stdout] 1047 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/evaluate.rs:1028:36 [INFO] [stdout] | [INFO] [stdout] 1028 | ... if let Instruction::Add(aa) | Instruction::Mul(aa) = &self.instr[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/poly/evaluate.rs:1034:33 [INFO] [stdout] | [INFO] [stdout] 1034 | ... } 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] 1028 ~ match &self.instr[v] [INFO] [stdout] 1029 ~ { Instruction::Add(aa) | Instruction::Mul(aa) => { [INFO] [stdout] 1030 | for x in aa { [INFO] [stdout] ... [INFO] [stdout] 1033 | self.instr[v] = Instruction::Empty; [INFO] [stdout] 1034 ~ } _ => { [INFO] [stdout] 1035 | unreachable!() [INFO] [stdout] 1036 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:959:24 [INFO] [stdout] | [INFO] [stdout] 959 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:961:13 [INFO] [stdout] | [INFO] [stdout] 961 | } 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] 959 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 960 | v - &p.last().unwrap()[k] [INFO] [stdout] 961 ~ } _ => { [INFO] [stdout] 962 | -p.last().unwrap()[k].clone() [INFO] [stdout] 963 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:1934:24 [INFO] [stdout] | [INFO] [stdout] 1934 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:1936:13 [INFO] [stdout] | [INFO] [stdout] 1936 | } 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] 1934 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 1935 | v - &p.last().unwrap()[k] [INFO] [stdout] 1936 ~ } _ => { [INFO] [stdout] 1937 | -p.last().unwrap()[k].clone() [INFO] [stdout] 1938 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/factor.rs:2311:24 [INFO] [stdout] | [INFO] [stdout] 2311 | let e = if let Some((v, _)) = y_poly.iter().find(|e| e.1.to_u32() as usize == k) { [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/poly/factor.rs:2313:13 [INFO] [stdout] | [INFO] [stdout] 2313 | } 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] 2311 ~ let e = match y_poly.iter().find(|e| e.1.to_u32() as usize == k) { Some((v, _)) => { [INFO] [stdout] 2312 | v - &p.last().unwrap()[k] [INFO] [stdout] 2313 ~ } _ => { [INFO] [stdout] 2314 | -p.last().unwrap()[k].clone() [INFO] [stdout] 2315 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1035:16 [INFO] [stdout] | [INFO] [stdout] 1035 | if let Some(r) = solved_coeff { [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/poly/gcd.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | } 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] 1035 ~ match solved_coeff { Some(r) => { [INFO] [stdout] 1036 | // evaluate the scaling term for every sample [INFO] [stdout] ... [INFO] [stdout] 1065 | } [INFO] [stdout] 1066 ~ } _ => { [INFO] [stdout] 1067 | debug!( [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1982:24 [INFO] [stdout] | [INFO] [stdout] 1982 | if let Some(q1) = b.divides(&gc) { [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/poly/gcd.rs:1985:21 [INFO] [stdout] | [INFO] [stdout] 1985 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1982 ~ match b.divides(&gc) { Some(q1) => { [INFO] [stdout] 1983 | debug!("match {} {}", q, q1); [INFO] [stdout] 1984 | return Ok((gc.mul_coeff(content_gcd), q, q1)); [INFO] [stdout] 1985 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1993:24 [INFO] [stdout] | [INFO] [stdout] 1993 | if let Some(q) = a.divides(&a_co_fac) { [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/poly/gcd.rs:1997:21 [INFO] [stdout] | [INFO] [stdout] 1997 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1993 ~ match a.divides(&a_co_fac) { Some(q) => { [INFO] [stdout] 1994 | if let Some(q1) = b.divides(&q) { [INFO] [stdout] 1995 | return Ok((q.mul_coeff(content_gcd), a_co_fac, q1)); [INFO] [stdout] 1996 | } [INFO] [stdout] 1997 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:1994:28 [INFO] [stdout] | [INFO] [stdout] 1994 | if let Some(q1) = b.divides(&q) { [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/poly/gcd.rs:1996:25 [INFO] [stdout] | [INFO] [stdout] 1996 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1994 ~ match b.divides(&q) { Some(q1) => { [INFO] [stdout] 1995 | return Ok((q.mul_coeff(content_gcd), a_co_fac, q1)); [INFO] [stdout] 1996 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:2004:24 [INFO] [stdout] | [INFO] [stdout] 2004 | if let Some(q) = b.divides(&b_co_fac) { [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/poly/gcd.rs:2008:21 [INFO] [stdout] | [INFO] [stdout] 2008 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2004 ~ match b.divides(&b_co_fac) { Some(q) => { [INFO] [stdout] 2005 | if let Some(q1) = a.divides(&q) { [INFO] [stdout] 2006 | return Ok((q.mul_coeff(content_gcd), q1, b_co_fac)); [INFO] [stdout] 2007 | } [INFO] [stdout] 2008 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/gcd.rs:2005:28 [INFO] [stdout] | [INFO] [stdout] 2005 | if let Some(q1) = a.divides(&q) { [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/poly/gcd.rs:2007:25 [INFO] [stdout] | [INFO] [stdout] 2007 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2005 ~ match a.divides(&q) { Some(q1) => { [INFO] [stdout] 2006 | return Ok((q.mul_coeff(content_gcd), q1, b_co_fac)); [INFO] [stdout] 2007 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some((index, g)) = basis [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] 235 | | .iter() [INFO] [stdout] 236 | | .filter(|g| monom.iter().zip(g.1.max_exp()).all(|(pe, ge)| *pe >= *ge)) [INFO] [stdout] 237 | | .min_by_key(|g| g.1.nterms()) [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/poly/groebner.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match basis [INFO] [stdout] 235 | .iter() [INFO] [stdout] 236 | .filter(|g| monom.iter().zip(g.1.max_exp()).all(|(pe, ge)| *pe >= *ge)) [INFO] [stdout] 237 | .min_by_key(|g| g.1.nterms()) [INFO] [stdout] 238 ~ { Some((index, g)) => { [INFO] [stdout] 239 | for ((e, pe), ge) in exp.iter_mut().zip(monom).zip(g.max_exp()) { [INFO] [stdout] ... [INFO] [stdout] 244 | new_polys.push(pp); [INFO] [stdout] 245 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | while let Some(c) = rest_coeff.pop() { [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/poly/groebner.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | echelonize_impl!(RationalField); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 930 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 931 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:843:24 [INFO] [stdout] | [INFO] [stdout] 843 | if let Some((coeff, col)) = matrix[r].first_mut() { [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] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/poly/groebner.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/groebner.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | if let Some((coeff, col)) = matrix[r].first() { [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] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/poly/groebner.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 932 | echelonize_impl!(AlgebraicExtension); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `echelonize_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(pos) = self.variables.iter().position(|v| v == var) { [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/poly/polynomial.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 330 ~ match self.variables.iter().position(|v| v == var) { Some(pos) => { [INFO] [stdout] 331 | let mut exp = vec![E::zero(); self.nvars()]; [INFO] [stdout] 332 | exp[pos] = E::one(); [INFO] [stdout] 333 | Ok(self.monomial(self.ring.one(), exp)) [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | Err("Variable not found") [INFO] [stdout] 336 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(pos) = self.variables.iter().position(|v| v == old) { [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/poly/polynomial.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 472 ~ match self.variables.iter().position(|v| v == old) { Some(pos) => { [INFO] [stdout] 473 | let mut new_vars = self.variables.as_ref().clone(); [INFO] [stdout] 474 | new_vars[pos] = new.clone(); [INFO] [stdout] 475 | self.variables = Arc::new(new_vars); [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | if let Some(p) = new_var_map.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/poly/polynomial.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 499 ~ match new_var_map.iter().position(|x| x == v) { Some(p) => { [INFO] [stdout] 500 | *pos = p; [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | *pos = new_var_map.len(); [INFO] [stdout] 503 | new_var_map.push(v.clone()); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/poly/polynomial.rs:1053:12 [INFO] [stdout] | [INFO] [stdout] 1053 | if let Some(r) = self.mul_dense(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/poly/polynomial.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | } 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] 1053 ~ match self.mul_dense(rhs) { Some(r) => { [INFO] [stdout] 1054 | r [INFO] [stdout] 1055 ~ } _ => { [INFO] [stdout] 1056 | self.heap_mul(rhs) [INFO] [stdout] 1057 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:482:28 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(f) = &conflict_fn { [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/state.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 496 | } 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] 482 ~ match &conflict_fn { Some(f) => { [INFO] [stdout] 483 | let new_name = f(&str); [INFO] [stdout] ... [INFO] [stdout] 495 | } [INFO] [stdout] 496 ~ } _ => { [INFO] [stdout] 497 | return Err(std::io::Error::new( [INFO] [stdout] ... [INFO] [stdout] 500 | )); [INFO] [stdout] 501 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | if let Some(new_id) = state_map.symbols.get(&id) { [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/state.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | } 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] 526 ~ match state_map.symbols.get(&id) { Some(new_id) => { [INFO] [stdout] 527 | variables.push(Variable::Symbol(*new_id)); [INFO] [stdout] 528 ~ } _ => { [INFO] [stdout] 529 | variables.push(Variable::Symbol(ID_TO_STR[id as usize].0)) [INFO] [stdout] 530 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:538:39 [INFO] [stdout] | [INFO] [stdout] 538 | let symb = if let Some(new_id) = state_map.symbols.get(&id) { [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/state.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | } 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] 538 ~ let symb = match state_map.symbols.get(&id) { Some(new_id) => { [INFO] [stdout] 539 | *new_id [INFO] [stdout] 540 ~ } _ => { [INFO] [stdout] 541 | ID_TO_STR[id as usize].0 [INFO] [stdout] 542 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:605:12 [INFO] [stdout] | [INFO] [stdout] 605 | if let Ok(mut a) = self.atom_buffer.try_borrow_mut() { [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/state.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | } 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] 605 ~ match self.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 606 | if let Some(b) = a.pop() { [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] 611 ~ } _ => { [INFO] [stdout] 612 | Atom::default().into() // very rare [INFO] [stdout] 613 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:606:16 [INFO] [stdout] | [INFO] [stdout] 606 | if let Some(b) = a.pop() { [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/state.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | } 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] 606 ~ match a.pop() { Some(b) => { [INFO] [stdout] 607 | b.into() [INFO] [stdout] 608 ~ } _ => { [INFO] [stdout] 609 | Atom::default().into() [INFO] [stdout] 610 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 633 | if let Ok(mut a) = self.atom_buffer.try_borrow_mut() { [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/state.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 633 ~ match self.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 634 | a.push(atom); [INFO] [stdout] 635 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let Ok(mut a) = ws.atom_buffer.try_borrow_mut() { [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/state.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 727 | } [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 ws.atom_buffer.try_borrow_mut() { Ok(mut a) => { [INFO] [stdout] 724 | if a.len() < Workspace::ATOM_BUFFER_MAX { [INFO] [stdout] 725 | a.push(std::mem::replace(&mut self.0, Atom::Zero)); [INFO] [stdout] 726 | } [INFO] [stdout] 727 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streaming.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | if let Ok(()) = a.read(ff) { [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/streaming.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } 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] 340 ~ match a.read(ff) { Ok(()) => { [INFO] [stdout] 341 | head.push(Some(a)); [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | head.push(None); [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streaming.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | if let Ok(()) = a.read(&mut files[smallest[0] - 1]) { [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/streaming.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 377 ~ match a.read(&mut files[smallest[0] - 1]) { Ok(()) => { [INFO] [stdout] 378 | head[smallest[0]] = Some(a); [INFO] [stdout] 379 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transformer.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | if let AtomView::Fun(ff) = h.as_view() { [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/transformer.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 248 ~ match h.as_view() { AtomView::Fun(ff) => { [INFO] [stdout] 249 | let mut h2 = workspace.new_atom(); [INFO] [stdout] 250 | ff.linearize_impl(symbols, workspace, &mut h2); [INFO] [stdout] 251 | add.extend(h2.as_view()); [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | add.extend(h.as_view()); [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transformer.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | if let Ok(s) = cur_input.series( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |____________________________________| [INFO] [stdout] 434 | || *x, [INFO] [stdout] 435 | || expansion_point.as_view(), [INFO] [stdout] 436 | || depth.clone(), [INFO] [stdout] 437 | || *depth_is_absolute, [INFO] [stdout] 438 | || ) { [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/transformer.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 433 ~ match cur_input.series( [INFO] [stdout] 434 | *x, [INFO] [stdout] ... [INFO] [stdout] 437 | *depth_is_absolute, [INFO] [stdout] 438 ~ ) { Ok(s) => { [INFO] [stdout] 439 | s.to_atom_into(out); [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | std::mem::swap(out, &mut tmp); [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 159 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating examples/polynomial.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/pattern_restrictions.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | while let Some(m) = it.next() { [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] --> examples/pattern_restrictions.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/import_export.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/partial_fraction.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/replace_all.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/replace_once.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/tree_walk.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/replace_once.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | while let Some(()) = it.next(&mut replaced) { [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] --> examples/replace_once.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/nested_evaluation.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/partition.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/expansion.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/factorization.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/numerical_integration.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/numerical_integration.rs (1 fix) [INFO] [stderr] Migrating examples/optimize_multiple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pattern_match.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/pattern_match.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | while let Some(m) = it.next() { [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] --> examples/pattern_match.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/fibonacci.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/polynomial_gcd.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/builder.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/fuel_backend.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/fuel_backend.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | while let Ok(n) = stdin.read_line(&mut buffer) { [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] --> examples/fuel_backend.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/solve_linear_system.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/rational_polynomial.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/streaming.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/derivative.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/coefficient_ring.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/series.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/evaluate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/pattern_matching.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/pattern_matching.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | while let Some(()) = it.next(&mut replaced) { [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] --> tests/pattern_matching.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/rational_reconstruction.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/optimize.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/tree_replace.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/tree_replace.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(m) = it.next() { [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] --> examples/tree_replace.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/rational_polynomial.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/groebner_basis.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/collect.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling symbolica v0.11.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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] 171 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 220 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | 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] 171 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 220 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:951:26 [INFO] [stdout] | [INFO] [stdout] 951 | let f: 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] 951 | let f: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:951:26 [INFO] [stdout] | [INFO] [stdout] 951 | let f: 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] 951 | let f: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1923:24 [INFO] [stdout] | [INFO] [stdout] 1923 | let rng1 = 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] 1923 | let rng1 = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1924:24 [INFO] [stdout] | [INFO] [stdout] 1924 | let rng2 = 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] 1924 | let rng2 = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1923:24 [INFO] [stdout] | [INFO] [stdout] 1923 | let rng1 = 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] 1923 | let rng1 = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1924:24 [INFO] [stdout] | [INFO] [stdout] 1924 | let rng2 = 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] 1924 | let rng2 = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.gen::()) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 1854 | simd_impl!(f64x2, pow_f64x2); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `simd_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.r#gen::()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.gen::()) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 1855 | simd_impl!(f64x4, pow_f64x4); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `simd_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.r#gen::()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.gen::()) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 1854 | simd_impl!(f64x2, pow_f64x2); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `simd_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.r#gen::()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/domains/float.rs:1755:32 [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.gen::()) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 1855 | simd_impl!(f64x4, pow_f64x4); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `simd_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1755 | Self::from(rng.r#gen::()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/streaming.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().gen::()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().r#gen::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 44 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 82 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 96 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 114 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 147 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 278 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 404 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/streaming.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().gen::()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 174 | let name = format!("{}/{:x}", config.path, thread_rng().r#gen::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 44 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 82 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 96 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 114 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 147 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 278 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/api/cpp.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 404 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/atom/representation.rs:1696:53 [INFO] [stdout] | [INFO] [stdout] 1653 | impl<'a> ListSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/atom/representation.rs:1696:53 [INFO] [stdout] | [INFO] [stdout] 1653 | impl<'a> ListSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1696 | fn get_entry(start: &'a [u8]) -> (AtomView<'a>, &[u8]) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/api/cpp.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let _ = Box::from_raw(symbolica); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/api/cpp.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe extern "C" fn drop(symbolica: *mut Symbolica) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Num::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | NUM_ID => Atom::Num(Num::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/atom/representation.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) unsafe fn from_raw(raw: RawAtom) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Var::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | VAR_ID => Atom::Var(Var::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Fun::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | FUN_ID => Atom::Fun(Fun::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Mul::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | MUL_ID => Atom::Mul(Mul::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Add::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ADD_ID => Atom::Add(Add::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Pow::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | POW_ID => Atom::Pow(Pow::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/api/cpp.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let _ = Box::from_raw(symbolica); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/api/cpp.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe extern "C" fn drop(symbolica: *mut Symbolica) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Num::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | NUM_ID => Atom::Num(Num::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/atom/representation.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) unsafe fn from_raw(raw: RawAtom) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Var::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | VAR_ID => Atom::Var(Var::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Fun::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | FUN_ID => Atom::Fun(Fun::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Mul::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | MUL_ID => Atom::Mul(Mul::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Add::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ADD_ID => Atom::Add(Add::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `atom::representation::Pow::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/atom/representation.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | POW_ID => Atom::Pow(Pow::from_raw(raw)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `symbolica` (lib) due to 20 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `symbolica` (lib test) due to 20 previous errors; 8 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" "337aafa55f4382b67a5adecf81f7d13edd5917398360143b2a730e04c27f46c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "337aafa55f4382b67a5adecf81f7d13edd5917398360143b2a730e04c27f46c6", kill_on_drop: false }` [INFO] [stdout] 337aafa55f4382b67a5adecf81f7d13edd5917398360143b2a730e04c27f46c6