[INFO] fetching crate num-prime 0.4.4... [INFO] checking num-prime-0.4.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate num-prime 0.4.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate num-prime 0.4.4 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate num-prime 0.4.4 [INFO] finished tweaking crates.io crate num-prime 0.4.4 [INFO] tweaked toml for crates.io crate num-prime 0.4.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate num-prime 0.4.4 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d62ee4f00183167d727c6f576f799949d8ba2aa61e8123857d0c6fe4aa6a981 [INFO] running `Command { std: "docker" "start" "-a" "4d62ee4f00183167d727c6f576f799949d8ba2aa61e8123857d0c6fe4aa6a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d62ee4f00183167d727c6f576f799949d8ba2aa61e8123857d0c6fe4aa6a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d62ee4f00183167d727c6f576f799949d8ba2aa61e8123857d0c6fe4aa6a981", kill_on_drop: false }` [INFO] [stdout] 4d62ee4f00183167d727c6f576f799949d8ba2aa61e8123857d0c6fe4aa6a981 [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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb9a70046970045ae2b6b444b364d716954996d6016d5ea02c72413cd9900f00 [INFO] running `Command { std: "docker" "start" "-a" "eb9a70046970045ae2b6b444b364d716954996d6016d5ea02c72413cd9900f00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-modular v0.5.1 [INFO] [stderr] Checking num-prime v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `num_integer::Integer::divides`: Please use is_multiple_of instead [INFO] [stdout] --> src/mint.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | forward_binops_left_ref_only!(divides => bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `num_integer::Integer::divides`: Please use is_multiple_of instead [INFO] [stdout] --> src/mint.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | forward_binops_left_ref_only!(divides => bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pollard_pp1` is never used [INFO] [stdout] --> src/factor.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn pollard_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `williams_pp1` is never used [INFO] [stdout] --> src/factor.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn williams_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psw` is never used [INFO] [stdout] --> src/traits.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimalityTestConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn psw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pm1_trials` and `pp1_trials` are never read [INFO] [stdout] --> src/traits.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FactorizationConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | pm1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pp1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactorizationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | .all(|x| target.is_sprp(T::from_u64(x).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|(k, v)| (T::from_u128(k).unwrap(), v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| (T::from_u64(k).unwrap(), v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | for p in self.iter().map(|p| T::from_u64(*p).unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | self.nprimes(n).map(|&p| T::from_u64(p).unwrap()).product() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | for (p, pt) in primes.map(|p| (p, T::from_u64(p).unwrap())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 81 | start: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | offset: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut a = start.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut b = start.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut z = T::one() % target; // accumulator for gcd [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let mut s = start; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | (None, i) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 159 | mul_target: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let rd = Roots::sqrt(&mul_target); // root of k*N [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let (mut p, mut q, mut qm1) = (rd.clone(), &mul_target - &rd * &rd, T::one()); [INFO] [stdout] | - - --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | (None, max_iter) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nt_funcs.rs:564:18 [INFO] [stdout] | [INFO] [stdout] 564 | .map(|p| T::from_u64(p).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nt_funcs.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 601 | let three_sq = T::from_u8(9).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 602 | let five_sq = T::from_u8(25).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | let seven_sq = T::from_u8(49).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | moebius_factorized(&factorize(target.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self(Left(v)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn from(v: ReducedInt) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Self(Right(v)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn left_only>(lhs: Mint, rhs: Mint) -> (T, T) { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | match (lhs.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 215 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let (v1, v2) = left_only(self, rhs); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Self(Left(v1.div(v2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 224 | fn div(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | match (self.0, &rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 235 | fn div(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | match (&self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 259 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | match (self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 274 | fn rem(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | match (self.0, &rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 289 | fn rem(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | match (&self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 343 | T::from_str_radix(str, radix).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 359 | let (q, r) = v1.div_rem(v2); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | (Self(Left(q)), Self(Left(r))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 359 | let (q, r) = v1.div_rem(v2); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | (Self(Left(q)), Self(Left(r))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:386:37 [INFO] [stdout] | [INFO] [stdout] 386 | T::from_f64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | T::from_i64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | T::from_u64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:437:57 [INFO] [stdout] | [INFO] [stdout] 437 | Left(v) => v.nth_root_exact(n).map(|v| Self(Left(v))), [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 491 | fn addm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:502:15 [INFO] [stdout] | [INFO] [stdout] 501 | fn subm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 511 | fn mulm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 560 | fn negm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 562 | | (Left(v), Left(m)) => ReducedInt::new(v, m).neg(), [INFO] [stdout] 563 | | (Right(v), Left(m)) => { [INFO] [stdout] 564 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 567 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 568 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:575:14 [INFO] [stdout] | [INFO] [stdout] 574 | fn dblm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 576 | | (Left(v), Left(m)) => ReducedInt::new(v, m).double(), [INFO] [stdout] 577 | | (Right(v), Left(m)) => { [INFO] [stdout] 578 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 581 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 582 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn sqm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 587 | | (Left(v), Left(m)) => ReducedInt::new(v, m).square(), [INFO] [stdout] 588 | | (Right(v), Left(m)) => { [INFO] [stdout] 589 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 592 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 593 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:671:14 [INFO] [stdout] | [INFO] [stdout] 670 | fn powm(self, exp: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | Self(Right(match (self.0, &exp.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 672 | | (Left(v), Left(e), Left(m)) => ReducedInt::new(v, m).pow(e.clone()), [INFO] [stdout] 673 | | (Right(v), Left(e), Left(m)) => { [INFO] [stdout] 674 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 677 | | (_, _, _) => unreachable!(), [INFO] [stdout] 678 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primality.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_prp(&self, base: Self) -> bool { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let tm1 = self - Self::one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | base.powm(&tm1, self).is_one() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primality.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 150 | fn is_sprp(&self, base: Self) -> bool { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | self.test_sprp(base).either(|v| v, |_| false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `num-prime` (lib) due to 45 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `pollard_pp1` is never used [INFO] [stdout] --> src/factor.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn pollard_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `williams_pp1` is never used [INFO] [stdout] --> src/factor.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn williams_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psw` is never used [INFO] [stdout] --> src/traits.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimalityTestConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn psw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pm1_trials` and `pp1_trials` are never read [INFO] [stdout] --> src/traits.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FactorizationConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | pm1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pp1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactorizationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | .all(|x| target.is_sprp(T::from_u64(x).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|(k, v)| (T::from_u128(k).unwrap(), v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| (T::from_u64(k).unwrap(), v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | for p in self.iter().map(|p| T::from_u64(*p).unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/buffer.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | self.nprimes(n).map(|&p| T::from_u64(p).unwrap()).product() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | for (p, pt) in primes.map(|p| (p, T::from_u64(p).unwrap())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 81 | start: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | offset: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut a = start.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut b = start.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut z = T::one() % target; // accumulator for gcd [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let mut s = start; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | (None, i) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/factor.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 159 | mul_target: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let rd = Roots::sqrt(&mul_target); // root of k*N [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let (mut p, mut q, mut qm1) = (rd.clone(), &mul_target - &rd * &rd, T::one()); [INFO] [stdout] | - - --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | (None, max_iter) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nt_funcs.rs:564:18 [INFO] [stdout] | [INFO] [stdout] 564 | .map(|p| T::from_u64(p).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nt_funcs.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 601 | let three_sq = T::from_u8(9).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 602 | let five_sq = T::from_u8(25).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | let seven_sq = T::from_u8(49).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | moebius_factorized(&factorize(target.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self(Left(v)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn from(v: ReducedInt) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Self(Right(v)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn left_only>(lhs: Mint, rhs: Mint) -> (T, T) { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | match (lhs.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 207 | forward_binops_right!(impl Add, add); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | forward_binops_right!(impl Sub, sub); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 138 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 139 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 143 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | (Left(v1), Left(v2)) => Left(v1.$method(v2)), [INFO] [stdout] 156 | | (Left(v1), Right(v2)) => Right(v2.convert(v1).$method(v2)), [INFO] [stdout] 157 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 161 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | (Left(v1), Left(v2)) => Left(v1.clone().$method(v2)), [INFO] [stdout] 174 | | (Left(v1), Right(v2)) => Right(v2.convert(v1.clone()).$method(v2)), [INFO] [stdout] 175 | | (Right(v1), Left(v2)) => { [INFO] [stdout] ... | [INFO] [stdout] 179 | | (Right(v1), Right(v2)) => Right(v1.$method(v2)), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 209 | forward_binops_right!(impl Mul, mul); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `forward_binops_right` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 215 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let (v1, v2) = left_only(self, rhs); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Self(Left(v1.div(v2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 224 | fn div(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | match (self.0, &rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 235 | fn div(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | match (&self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 259 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | match (self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 274 | fn rem(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | match (self.0, &rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 289 | fn rem(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | match (&self.0, rhs.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 343 | T::from_str_radix(str, radix).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 359 | let (q, r) = v1.div_rem(v2); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | (Self(Left(q)), Self(Left(r))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 359 | let (q, r) = v1.div_rem(v2); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | (Self(Left(q)), Self(Left(r))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:386:37 [INFO] [stdout] | [INFO] [stdout] 386 | T::from_f64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | T::from_i64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | T::from_u64(n).map(|v| Self(Left(v))) [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:437:57 [INFO] [stdout] | [INFO] [stdout] 437 | Left(v) => v.nth_root_exact(n).map(|v| Self(Left(v))), [INFO] [stdout] | - ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 491 | fn addm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:502:15 [INFO] [stdout] | [INFO] [stdout] 501 | fn subm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 511 | fn mulm(self, rhs: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | match (self.0, &rhs.0, &m.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 560 | fn negm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 562 | | (Left(v), Left(m)) => ReducedInt::new(v, m).neg(), [INFO] [stdout] 563 | | (Right(v), Left(m)) => { [INFO] [stdout] 564 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 567 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 568 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:575:14 [INFO] [stdout] | [INFO] [stdout] 574 | fn dblm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 576 | | (Left(v), Left(m)) => ReducedInt::new(v, m).double(), [INFO] [stdout] 577 | | (Right(v), Left(m)) => { [INFO] [stdout] 578 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 581 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 582 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn sqm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | Self(Right(match (self.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 587 | | (Left(v), Left(m)) => ReducedInt::new(v, m).square(), [INFO] [stdout] 588 | | (Right(v), Left(m)) => { [INFO] [stdout] 589 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 592 | | (_, Right(_)) => unreachable!(), [INFO] [stdout] 593 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:671:14 [INFO] [stdout] | [INFO] [stdout] 670 | fn powm(self, exp: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | Self(Right(match (self.0, &exp.0, &m.0) { [INFO] [stdout] | ______________^ [INFO] [stdout] 672 | | (Left(v), Left(e), Left(m)) => ReducedInt::new(v, m).pow(e.clone()), [INFO] [stdout] 673 | | (Right(v), Left(e), Left(m)) => { [INFO] [stdout] 674 | | debug_assert!(&v.modulus() == m); [INFO] [stdout] ... | [INFO] [stdout] 677 | | (_, _, _) => unreachable!(), [INFO] [stdout] 678 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primality.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_prp(&self, base: Self) -> bool { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let tm1 = self - Self::one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | base.powm(&tm1, self).is_one() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primality.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 150 | fn is_sprp(&self, base: Self) -> bool { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | self.test_sprp(base).either(|v| v, |_| false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `num-prime` (lib test) due to 45 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb9a70046970045ae2b6b444b364d716954996d6016d5ea02c72413cd9900f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9a70046970045ae2b6b444b364d716954996d6016d5ea02c72413cd9900f00", kill_on_drop: false }` [INFO] [stdout] eb9a70046970045ae2b6b444b364d716954996d6016d5ea02c72413cd9900f00