[INFO] fetching crate num-prime 0.4.4... [INFO] checking num-prime-0.4.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate num-prime 0.4.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate num-prime 0.4.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3598becf6ad37ce14502653ed8a1819c39316e93ba0217acf748043be33069b3 [INFO] running `Command { std: "docker" "start" "-a" "3598becf6ad37ce14502653ed8a1819c39316e93ba0217acf748043be33069b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3598becf6ad37ce14502653ed8a1819c39316e93ba0217acf748043be33069b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3598becf6ad37ce14502653ed8a1819c39316e93ba0217acf748043be33069b3", kill_on_drop: false }` [INFO] [stdout] 3598becf6ad37ce14502653ed8a1819c39316e93ba0217acf748043be33069b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fbf4a0e23a45952b319fdabf9179c4b5b97e067708ef21bd0548968827fc57c [INFO] running `Command { std: "docker" "start" "-a" "7fbf4a0e23a45952b319fdabf9179c4b5b97e067708ef21bd0548968827fc57c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.12.3 [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] error: this value of type `(either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(&either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(&either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:561:26 [INFO] [stdout] | [INFO] [stdout] 560 | fn negm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 574 | fn dblm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:586:26 [INFO] [stdout] | [INFO] [stdout] 585 | fn sqm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:671:26 [INFO] [stdout] | [INFO] [stdout] 670 | fn powm(self, exp: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | Self(Right(match (self.0, &exp.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: this value of type `T` has 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] 145 | let tm1 = self - Self::one(); [INFO] [stdout] | --- these local bindings with significant drop implementation may 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] 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: aborting due to 23 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `num-prime` (lib) due to 24 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `(either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn $method(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Self(match (self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 153 | fn $method(self, rhs: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Mint(match (self.0, &rhs.0) { [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: this value of type `(&either::Either>, either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn $method(self, rhs: Mint) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | Mint(match (&self.0, rhs.0) { [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: this value of type `(either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(&either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(&either::Either>, either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has 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 local bindings with significant drop implementation may 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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:561:26 [INFO] [stdout] | [INFO] [stdout] 560 | fn negm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 574 | fn dblm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:586:26 [INFO] [stdout] | [INFO] [stdout] 585 | fn sqm(self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | Self(Right(match (self.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: this value of type `(either::Either>, &either::Either>, &either::Either>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mint.rs:671:26 [INFO] [stdout] | [INFO] [stdout] 670 | fn powm(self, exp: &Self, m: &Self) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | Self(Right(match (self.0, &exp.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: this value of type `T` has 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] 145 | let tm1 = self - Self::one(); [INFO] [stdout] | --- these local bindings with significant drop implementation may 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] 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: aborting due to 23 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `num-prime` (lib test) due to 24 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7fbf4a0e23a45952b319fdabf9179c4b5b97e067708ef21bd0548968827fc57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbf4a0e23a45952b319fdabf9179c4b5b97e067708ef21bd0548968827fc57c", kill_on_drop: false }` [INFO] [stdout] 7fbf4a0e23a45952b319fdabf9179c4b5b97e067708ef21bd0548968827fc57c