[INFO] cloning repository https://github.com/FeanorTheElf/feanor-math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FeanorTheElf/feanor-math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2Ffeanor-math", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2Ffeanor-math'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 469b3bbd141cc48647b5c16cdaa6dd32c4d6b573 [INFO] checking FeanorTheElf/feanor-math/469b3bbd141cc48647b5c16cdaa6dd32c4d6b573 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2Ffeanor-math" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FeanorTheElf/feanor-math 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 git repo https://github.com/FeanorTheElf/feanor-math [INFO] finished tweaking git repo https://github.com/FeanorTheElf/feanor-math [INFO] tweaked toml for git repo https://github.com/FeanorTheElf/feanor-math written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FeanorTheElf/feanor-math 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aa94417780f05c4bc30394f5a5195f5e72ee1e48677feab1b05d86bc1022588f [INFO] running `Command { std: "docker" "start" "-a" "aa94417780f05c4bc30394f5a5195f5e72ee1e48677feab1b05d86bc1022588f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa94417780f05c4bc30394f5a5195f5e72ee1e48677feab1b05d86bc1022588f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa94417780f05c4bc30394f5a5195f5e72ee1e48677feab1b05d86bc1022588f", kill_on_drop: false }` [INFO] [stdout] aa94417780f05c4bc30394f5a5195f5e72ee1e48677feab1b05d86bc1022588f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8586b42115b521eec8619a68ed8e8cbc5e2f891f77f3074ee843f09a2a11259c [INFO] running `Command { std: "docker" "start" "-a" "8586b42115b521eec8619a68ed8e8cbc5e2f891f77f3074ee843f09a2a11259c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking atomicbox v0.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking append-only-vec v0.1.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking feanor-mempool v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_assert v0.8.0 [INFO] [stderr] Compiling stability v0.2.0 [INFO] [stderr] Checking feanor-math v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/unity_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn is_prim_root_of_unity_pow2(ring: R, el: &El, log2_n: usize) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | ring.is_neg_one(&ring.pow(ring.clone_el(&el), 1 << (log2_n - 1))) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/unity_root.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_root_of_unity_gen(ring: R, el: &El, n: &El, ZZ: I) -> bool [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | ring.is_one(&ring.pow_gen(ring.clone_el(&el), n, ZZ)) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/ec_factor.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 149 | let z_sqr = square(Zn, z); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Zn.eq_el( [INFO] [stdout] 151 | &Zn.mul_ref_snd(Zn.add_ref(&x_sqr, &y_sqr), &z_sqr), [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 `std::option::Option<(Vec<(<

::Type as ring::RingBase>::Element, usize)>, ::Element)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/poly_factor/mod.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 112 | default fn factor_poly

(poly_ring: P, poly: &El

) -> (Vec<(El

, usize)>, Self::Element) [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | if let Some(result) = factor_if_finite_field(&poly_ring, poly) { [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 `RingElementWrapper<&R>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/discrete_log.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn finite_field_log(value: El, base: El, Fq: R) -> Option [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | &RingElementWrapper::new(&Fq, base), [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 `std::option::Option<<<<

::Type as ring::RingExtension>::BaseRing as ring::RingStore>::Type as ring::RingBase>::Element>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/interpolate.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn interpolate(poly_ring: P, x: V1, y: V2, allocator: A) -> Result, InterpolationError> [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] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut denoms = Vec::with_capacity_in(x.len(), &allocator); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let denominator = R.mul_ref(&factors[0], &denoms[0]); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | if let Some(inv) = R.invert(&denominator) { [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 `std::option::Option<<<::Type as zn::ZnRing>::IntegerRingBase as ring::RingBase>::Element>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/zn/mod.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn checked_left_div(ring: R, lhs: &El, rhs: &El) -> Option> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | let lhs_lift = ring.smallest_positive_lift(ring.clone_el(lhs)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let rhs_lift = ring.smallest_positive_lift(ring.clone_el(rhs)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let (s, _, d) = int_ring.extended_ideal_gen(&rhs_lift, ring.modulus()); [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] 274 | if let Some(quotient) = int_ring.checked_div(&lhs_lift, &d) { [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 `DensePolyRingEl<&R>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/extension/extension_impl.rs:350:42 [INFO] [stdout] | [INFO] [stdout] 349 | let poly_ring = DensePolyRing::new(self.base_ring(), self.gen_name); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | poly_ring.get_ring().dbg_within(&RingRef::new(self).poly_repr(&poly_ring, value, &self.base_ring().identity()), out, env) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/extension/mod.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 191 | fn generating_poly(&self, poly_ring: P, hom: H) -> El

[INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | self.poly_repr(&poly_ring, &self.pow(self.canonical_gen(), self.rank()), hom) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ring.rs:1246:17 [INFO] [stdout] | [INFO] [stdout] 1238 | pub fn test_iso_axioms>>(from: R, to: S, edge_case_elements: I) [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] ... [INFO] [stdout] 1241 | let hom = to.get_ring().has_canonical_hom(from.get_ring()).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1242 | let iso = to.get_ring().has_canonical_iso(from.get_ring()).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1243 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1246 | let map_in = to.get_ring().map_in_ref(from.get_ring(), a, &hom); [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ring.rs:1263:36 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn test_self_iso>>(ring: R, edge_case_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1255 | let hom = ring.get_ring().has_canonical_hom(ring.get_ring()).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1256 | let iso = ring.get_ring().has_canonical_iso(ring.get_ring()).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1257 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1263 | assert_el_eq!(ring, a, ring.get_ring().map_in_ref(ring.get_ring(), a, &hom)); [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ring.rs:1381:33 [INFO] [stdout] | [INFO] [stdout] 1290 | pub fn test_ring_axioms>>(ring: R, edge_case_elements: I) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1291 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1292 | let zero = ring.zero(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1293 | let one = ring.one(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1381 | assert_el_eq!(ring, ring.zero(), ring.get_ring().from_int(char)); [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 `std::option::Option::BaseRing as ring::RingStore>::Type as ring::RingBase>::Element, ::Monomial)>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/multivariate/mod.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 213 | let mut parts = Vec::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | if let Some(first) = parts.pop() { [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/divisibility.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn test_divisibility_axioms>>(ring: R, edge_case_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let ab = ring.mul(ring.clone_el(a), ring.clone_el(b)); [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_field_axioms(R: R, edge_case_elements: I) [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let edge_case_elements = edge_case_elements.collect::>(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | assert_el_eq!(R, a, R.mul_ref_fst(&b, R.div(&a, &b))); [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pid.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn test_euclidean_ring_axioms>>(ring: R, edge_case_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | assert_el_eq!(ring, a, ring.add(ring.mul(q, ring.clone_el(b)), 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: this value of type `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pid.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn test_principal_ideal_ring_axioms>>(ring: R, edge_case_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let g1 = ring.mul_ref(a, b); [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 `std::option::Option<(DensePolyRingEl<&T>, usize)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/fieldextension.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 103 | fn into_hom(self_: F, target: T, base_ring_hom: H) -> Result, (F, T)> [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let KX = DensePolyRing::new(K, "X"); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let gen_poly = self_.generating_poly(&KX, K.inclusion().compose(&base_ring_hom)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let (factorization, unit) = ::factor_poly(&KX, &gen_poly); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | debug_assert!(K.is_one(&unit)); [INFO] [stdout] 114 | if let Some((factor, _)) = factorization.into_iter().filter(|(f, _)| KX.degree(f) == Some(1)).next() { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/local.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 316 | fn euclidean_div_rem(&self, lhs: Self::Element, rhs: &Self::Element) -> (Self::Element, Self::Element) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | if let Some(quo) = self.checked_left_div(&lhs, rhs) { [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feanor-math` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/unity_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn is_prim_root_of_unity_pow2(ring: R, el: &El, log2_n: usize) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | ring.is_neg_one(&ring.pow(ring.clone_el(&el), 1 << (log2_n - 1))) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/unity_root.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_root_of_unity_gen(ring: R, el: &El, n: &El, ZZ: I) -> bool [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | ring.is_one(&ring.pow_gen(ring.clone_el(&el), n, ZZ)) [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 `[<::Type as ring::RingBase>::Element; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/fft/cooley_tuckey.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn generic_test_cooley_tuckey_butterfly>>(ring: R, base: S, edge_case_elements: ... [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] ... [INFO] [stdout] 630 | let test_inv_twiddle = base.invert(&test_twiddle).unwrap(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 631 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 632 | let hom = ring.can_hom(&base).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | let mut vector = [ring.clone_el(a), ring.clone_el(b)]; [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/ec_factor.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 149 | let z_sqr = square(Zn, z); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Zn.eq_el( [INFO] [stdout] 151 | &Zn.mul_ref_snd(Zn.add_ref(&x_sqr, &y_sqr), &z_sqr), [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 `std::option::Option<(Vec<(<

::Type as ring::RingBase>::Element, usize)>, ::Element)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/poly_factor/mod.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 112 | default fn factor_poly

(poly_ring: P, poly: &El

) -> (Vec<(El

, usize)>, Self::Element) [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | if let Some(result) = factor_if_finite_field(&poly_ring, poly) { [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 `RingElementWrapper<&R>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/discrete_log.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn finite_field_log(value: El, base: El, Fq: R) -> Option [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | &RingElementWrapper::new(&Fq, base), [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 `std::option::Option<<<<

::Type as ring::RingExtension>::BaseRing as ring::RingStore>::Type as ring::RingBase>::Element>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/interpolate.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn interpolate(poly_ring: P, x: V1, y: V2, allocator: A) -> Result, InterpolationError> [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] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut denoms = Vec::with_capacity_in(x.len(), &allocator); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let denominator = R.mul_ref(&factors[0], &denoms[0]); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | if let Some(inv) = R.invert(&denominator) { [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 `std::option::Option<<<::Type as zn::ZnRing>::IntegerRingBase as ring::RingBase>::Element>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/zn/mod.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn checked_left_div(ring: R, lhs: &El, rhs: &El) -> Option> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | let lhs_lift = ring.smallest_positive_lift(ring.clone_el(lhs)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let rhs_lift = ring.smallest_positive_lift(ring.clone_el(rhs)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let (s, _, d) = int_ring.extended_ideal_gen(&rhs_lift, ring.modulus()); [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] 274 | if let Some(quotient) = int_ring.checked_div(&lhs_lift, &d) { [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 `<<<::Type as ring::RingExtension>::BaseRing as ring::RingStore>::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/poly/mod.rs:528:18 [INFO] [stdout] | [INFO] [stdout] 443 | ...n test_poly_ring_axioms::BaseRing>>>(ring: R, interesting_base_ring_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | ...et x = ring.indeterminate(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | ...et elements = interesting_base_ring_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | ...et f = ring.from_terms([(hom.map(1), 0), (hom.map(3), 1), (hom.map(7), 3)].into_iter()); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 528 | ... &base_ring.add(base_ring.one(), base_ring.add(base_ring.mul_ref_snd(hom.map(3), a), base_ring.mul(hom.map(7), base_ring.pow(base_ring.clone_el(a), 3))... [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 `DensePolyRingEl<&R>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/extension/extension_impl.rs:350:42 [INFO] [stdout] | [INFO] [stdout] 349 | let poly_ring = DensePolyRing::new(self.base_ring(), self.gen_name); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | poly_ring.get_ring().dbg_within(&RingRef::new(self).poly_repr(&poly_ring, value, &self.base_ring().identity()), out, env) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/extension/mod.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 191 | fn generating_poly(&self, poly_ring: P, hom: H) -> El

[INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | self.poly_repr(&poly_ring, &self.pow(self.canonical_gen(), self.rank()), hom) [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 `<::Type as ring::RingBase>::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/extension/mod.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn test_free_algebra_axioms(ring: R) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let x = ring.canonical_gen(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | let xn_original = ring.pow(ring.clone_el(&x), n); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let xn_vec = ring.wrt_canonical_basis(&xn_original); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let xn = ring.sum(Iterator::map(0..n, |i| ring.mul(ring.inclusion().map(xn_vec.at(i)), ring.pow(ring.clone_el(&x), i)))); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let x_n_1 = ring.pow(ring.clone_el(&x), n + 1); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let x_n_1_vec_actual = ring.wrt_canonical_basis(&x_n_1); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | let element = ring.from_canonical_basis((0..n).map(|k| if k == i { ring.base_ring().one() } else if k == j { ring.base_ri... [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 `std::option::Option::BaseRing as ring::RingStore>::Type as ring::RingBase>::Element, ::Monomial)>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/multivariate/mod.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 213 | let mut parts = Vec::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | if let Some(first) = parts.pop() { [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 `<

::Type as multivariate::MultivariatePolyRing>::Monomial` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/multivariate/mod.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn test_poly_ring_axioms>>(ring: P, interesting_base_ring_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | let elements = interesting_base_ring_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let one = ring.create_monomial((0..n).map(|_| 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 `std::option::Option<(DensePolyRingEl<&T>, usize)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/fieldextension.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 103 | fn into_hom(self_: F, target: T, base_ring_hom: H) -> Result, (F, T)> [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let KX = DensePolyRing::new(K, "X"); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let gen_poly = self_.generating_poly(&KX, K.inclusion().compose(&base_ring_hom)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let (factorization, unit) = ::factor_poly(&KX, &gen_poly); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | debug_assert!(K.is_one(&unit)); [INFO] [stdout] 114 | if let Some((factor, _)) = factorization.into_iter().filter(|(f, _)| KX.degree(f) == Some(1)).next() { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rings/local.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 316 | fn euclidean_div_rem(&self, lhs: Self::Element, rhs: &Self::Element) -> (Self::Element, Self::Element) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | if let Some(quo) = self.checked_left_div(&lhs, rhs) { [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 `::Element` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/homomorphism.rs:1048:25 [INFO] [stdout] | [INFO] [stdout] 1038 | pub fn test_homomorphism_axioms>(hom: H, edge_case_elem... [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1043 | let elements = edge_case_elements.collect::>(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1048 | let map_a = hom.map_ref(a); [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 `serde_assert::Deserializer<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serialization.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn test_serialization>>(ring: R, edge_case_elements: I) [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let edge_case_elements = edge_case_elements.collect::>(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | let mut deserializer = serde_assert::Deserializer::builder(tokens).is_human_readable(false).build(); [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 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feanor-math` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "8586b42115b521eec8619a68ed8e8cbc5e2f891f77f3074ee843f09a2a11259c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8586b42115b521eec8619a68ed8e8cbc5e2f891f77f3074ee843f09a2a11259c", kill_on_drop: false }` [INFO] [stdout] 8586b42115b521eec8619a68ed8e8cbc5e2f891f77f3074ee843f09a2a11259c