[INFO] cloning repository https://github.com/vladfdp/math_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladfdp/math_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38e6c12e5f1dd499c43923420eae567e460d0c56 [INFO] checking vladfdp/math_lib against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vladfdp/math_lib on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vladfdp/math_lib [INFO] finished tweaking git repo https://github.com/vladfdp/math_lib [INFO] tweaked toml for git repo https://github.com/vladfdp/math_lib written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vladfdp/math_lib 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c168cf4acfa7eda1fafea7b4ae0b84f640c3c34ec208533dfafcd37b3d6aff4 [INFO] running `Command { std: "docker" "start" "-a" "2c168cf4acfa7eda1fafea7b4ae0b84f640c3c34ec208533dfafcd37b3d6aff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c168cf4acfa7eda1fafea7b4ae0b84f640c3c34ec208533dfafcd37b3d6aff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c168cf4acfa7eda1fafea7b4ae0b84f640c3c34ec208533dfafcd37b3d6aff4", kill_on_drop: false }` [INFO] [stdout] 2c168cf4acfa7eda1fafea7b4ae0b84f640c3c34ec208533dfafcd37b3d6aff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2616cbdad1fb820bda86ad0b28d3d7f4dd9891e43c51514d71755f4b2e0634c7 [INFO] running `Command { std: "docker" "start" "-a" "2616cbdad1fb820bda86ad0b28d3d7f4dd9891e43c51514d71755f4b2e0634c7", kill_on_drop: false }` [INFO] [stderr] Checking math_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/lib.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | use crate::traits::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | poly::poly_ff::Polyff}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EllipticCurvePoint` [INFO] [stdout] --> src/lib.rs:813:51 [INFO] [stdout] | [INFO] [stdout] 813 | use crate::elliptic_curve::{EllipticCurve,EllipticCurvePoint,ECPoint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | use crate::poly::poly_ff::Polyff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_zx::PolyZx` [INFO] [stdout] --> src/lib.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | use crate::poly::poly_zx::PolyZx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zn::Zn` [INFO] [stdout] --> src/lib.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | use crate::zn::Zn; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Inv` and `Pow` [INFO] [stdout] --> src/lib.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | use crate::traits::{Pow,Inv}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matrix_z::MatrixZ` [INFO] [stdout] --> src/lib.rs:934:9 [INFO] [stdout] | [INFO] [stdout] 934 | use crate::matrix_z::MatrixZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ring::Poly` [INFO] [stdout] --> src/lib.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | use crate::poly::poly_ring::Poly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `into_i32`, `legendre_symbol`, `is_square`, and `sqrt` are never used [INFO] [stdout] --> src/zn.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Zn { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 128 | [INFO] [stdout] 129 | pub fn from_vec(vec: Vec,n:i32)-> Vec{ // get a vec of Zn from a vec and n [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn into_i32(vec: Vec)-> Vec { // get a vec of int from a vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn legendre_symbol(&self)->i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn is_square(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn sqrt(a:Zn)->(Zn,Zn){ //using cipolla's algorithm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_deg` and `eval` are never used [INFO] [stdout] --> src/poly/poly_zx.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolyZx{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 14 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_deg` and `eval` are never used [INFO] [stdout] --> src/poly/poly_ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Poly [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T:Ring [INFO] [stdout] | |__________- methods in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `eval`, `new_from_vec`, and `GCD` are never used [INFO] [stdout] --> src/poly/poly_ff.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Polyff{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_from_vec(coeff:Vec) -> Polyff{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_from_vec` and `frobenius_map` are never used [INFO] [stdout] --> src/field_extension.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl FieldExtension { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn frobenius_map(x:FieldExtension)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_point`, `infinity`, and `is_on_curve` are never used [INFO] [stdout] --> src/elliptic_curve.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EllipticCurve{ [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn new(a:T,b:T)->EllipticCurve{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_point(&self,x:T,y:T)->EllipticCurvePoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn infinity(&self)->EllipticCurvePoint{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_on_curve(&self,pt:&ECPoint)->bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> src/num_theory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_prime(n:i32)->bool{ //this is slow, will implement miller-rabin or something [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/num_theory.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn gcd(a:i32,b:i32)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_z.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorZ{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_ring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector{ [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->T{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GCD` should have a snake case name [INFO] [stdout] --> src/poly/poly_ff.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_zx.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolyZx{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 14 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Poly [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T:Ring [INFO] [stdout] | |__________- method in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frobenius_map` is never used [INFO] [stdout] --> src/field_extension.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl FieldExtension { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn frobenius_map(x:FieldExtension)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_z.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorZ{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_ring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector{ [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->T{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GCD` should have a snake case name [INFO] [stdout] --> src/poly/poly_ff.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ_a` should have a snake case name [INFO] [stdout] --> src/lib.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let MatrixZ_a = MatrixZ::new(vec![3,0,1,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ_b` should have a snake case name [INFO] [stdout] --> src/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let MatrixZ_b = MatrixZ::new(vec![2,4,0,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ` should have a snake case name [INFO] [stdout] --> src/lib.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let MatrixZ = MatrixZ::new(vec![1,0,2,3],2); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `matrix_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "2616cbdad1fb820bda86ad0b28d3d7f4dd9891e43c51514d71755f4b2e0634c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2616cbdad1fb820bda86ad0b28d3d7f4dd9891e43c51514d71755f4b2e0634c7", kill_on_drop: false }` [INFO] [stdout] 2616cbdad1fb820bda86ad0b28d3d7f4dd9891e43c51514d71755f4b2e0634c7 [INFO] checking vladfdp/math_lib against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib" "/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/vladfdp/math_lib on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vladfdp/math_lib [INFO] finished tweaking git repo https://github.com/vladfdp/math_lib [INFO] tweaked toml for git repo https://github.com/vladfdp/math_lib written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vladfdp/math_lib 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07d216fadfea1391b4f94c3b9efbc19426ecf84ff2a34fe736206ac2b7b089f6 [INFO] running `Command { std: "docker" "start" "-a" "07d216fadfea1391b4f94c3b9efbc19426ecf84ff2a34fe736206ac2b7b089f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07d216fadfea1391b4f94c3b9efbc19426ecf84ff2a34fe736206ac2b7b089f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d216fadfea1391b4f94c3b9efbc19426ecf84ff2a34fe736206ac2b7b089f6", kill_on_drop: false }` [INFO] [stdout] 07d216fadfea1391b4f94c3b9efbc19426ecf84ff2a34fe736206ac2b7b089f6 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb22ed995185707b6b2d00657aa9a04afc55cae160a8fbea4186691151a562d0 [INFO] running `Command { std: "docker" "start" "-a" "eb22ed995185707b6b2d00657aa9a04afc55cae160a8fbea4186691151a562d0", kill_on_drop: false }` [INFO] [stderr] Checking math_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/lib.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | use crate::traits::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | poly::poly_ff::Polyff}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EllipticCurvePoint` [INFO] [stdout] --> src/lib.rs:813:51 [INFO] [stdout] | [INFO] [stdout] 813 | use crate::elliptic_curve::{EllipticCurve,EllipticCurvePoint,ECPoint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | use crate::poly::poly_ff::Polyff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_zx::PolyZx` [INFO] [stdout] --> src/lib.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | use crate::poly::poly_zx::PolyZx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zn::Zn` [INFO] [stdout] --> src/lib.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | use crate::zn::Zn; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Inv` and `Pow` [INFO] [stdout] --> src/lib.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | use crate::traits::{Pow,Inv}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matrix_z::MatrixZ` [INFO] [stdout] --> src/lib.rs:934:9 [INFO] [stdout] | [INFO] [stdout] 934 | use crate::matrix_z::MatrixZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ring::Poly` [INFO] [stdout] --> src/lib.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | use crate::poly::poly_ring::Poly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `into_i32`, `legendre_symbol`, `is_square`, and `sqrt` are never used [INFO] [stdout] --> src/zn.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Zn { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 128 | [INFO] [stdout] 129 | pub fn from_vec(vec: Vec,n:i32)-> Vec{ // get a vec of Zn from a vec and n [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn into_i32(vec: Vec)-> Vec { // get a vec of int from a vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn legendre_symbol(&self)->i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn is_square(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn sqrt(a:Zn)->(Zn,Zn){ //using cipolla's algorithm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_deg` and `eval` are never used [INFO] [stdout] --> src/poly/poly_zx.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolyZx{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 14 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_deg` and `eval` are never used [INFO] [stdout] --> src/poly/poly_ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Poly [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T:Ring [INFO] [stdout] | |__________- methods in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `eval`, `new_from_vec`, and `GCD` are never used [INFO] [stdout] --> src/poly/poly_ff.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Polyff{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn eval(&self,x:T)-> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_from_vec(coeff:Vec) -> Polyff{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_from_vec` and `frobenius_map` are never used [INFO] [stdout] --> src/field_extension.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl FieldExtension { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn frobenius_map(x:FieldExtension)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_point`, `infinity`, and `is_on_curve` are never used [INFO] [stdout] --> src/elliptic_curve.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EllipticCurve{ [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn new(a:T,b:T)->EllipticCurve{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_point(&self,x:T,y:T)->EllipticCurvePoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn infinity(&self)->EllipticCurvePoint{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_on_curve(&self,pt:&ECPoint)->bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> src/num_theory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_prime(n:i32)->bool{ //this is slow, will implement miller-rabin or something [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/num_theory.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn gcd(a:i32,b:i32)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_z.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorZ{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_ring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector{ [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->T{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 54 | fn add(self, rhs: MatrixRing) -> MatrixRing{ [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | / self.coeff.iter() [INFO] [stdout] 60 | | .zip(rhs.coeff.iter()) [INFO] [stdout] 61 | | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 69 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 117 | fn mul(self,scalar:i32)-> MatrixRing{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | MatrixRing::new( [INFO] [stdout] 119 | self.coeff.iter().map(|x| x.clone() * scalar).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | self.coeff.iter().map(|x| x.clone() * scalar).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 129 | fn mul(self,scalar:T)-> MatrixRing{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | MatrixRing::new( [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:56 [INFO] [stdout] | [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn add(self, rhs:Self)-> Self{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let mut a = self.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut b = rhs.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Poly{ coeff: [INFO] [stdout] 53 | | a.iter() [INFO] [stdout] 54 | | .zip(b.iter()) [INFO] [stdout] 55 | | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] 56 | | }.rm_trailing_zeros() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul(self, rhs: T) -> Poly { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Poly{ coeff: self.coeff.iter() [INFO] [stdout] | ______________________^ [INFO] [stdout] 89 | | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] 90 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Poly{ coeff: self.coeff.iter() [INFO] [stdout] | ______________________^ [INFO] [stdout] 117 | | .map(|x| x.clone() * -1) [INFO] [stdout] 118 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .map(|x| x.clone() * -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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_from_vec(coeff:Vec) -> Polyff{ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / Polyff{ [INFO] [stdout] 40 | | coeff [INFO] [stdout] 41 | | }.rm_trailing_zeros() [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: method `GCD` should have a snake case name [INFO] [stdout] --> src/poly/poly_ff.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn add(self, rhs:Self)-> Self{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let mut a = self.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let mut b = rhs.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / Polyff{ coeff: [INFO] [stdout] 90 | | a.iter() [INFO] [stdout] 91 | | .zip(b.iter()) [INFO] [stdout] 92 | | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] 93 | | }.rm_trailing_zeros() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn mul(self, rhs: T) -> Polyff { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Polyff{ coeff: self.coeff.iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] 126 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 133 | fn mul(self, rhs: i32) -> Polyff { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Polyff{ coeff: self.coeff.iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 135 | | .map(|x| x.clone() * rhs) [INFO] [stdout] 136 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|x| x.clone() * 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn add(self, rhs: FieldExtension) -> FieldExtension{ [INFO] [stdout] | ---- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | nb: (self.nb + rhs.nb) % self.poly.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 29 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn mul(self, rhs: FieldExtension) -> FieldExtension{ [INFO] [stdout] | ---- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | nb: (self.nb * rhs.nb) % self.poly.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 51 | fn mul(self, rhs: i32) -> FieldExtension{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | FieldExtension{ [INFO] [stdout] 53 | nb: self.nb * 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 88 | let mut t = self.nb.zero(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut newt = self.nb.one(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut r = self.poly.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut newr = self.nb.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | nb:t * r.coeff[0].inv(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 88 | let mut t = self.nb.zero(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut newt = self.nb.one(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut r = self.poly.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut newr = self.nb.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | poly:self.poly.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 116 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | self * rhs.inv() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | FieldExtension { nb: Polyff { coeff: nb } % Polyff { coeff: poly.clone() } , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | FieldExtension { nb: Polyff { coeff: nb } % Polyff { coeff: poly.clone() } , [INFO] [stdout] 133 | poly: Polyff { coeff: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_point(&self,x:T,y:T)->EllipticCurvePoint{ [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | [INFO] [stdout] 36 | let pt = ECPoint::Point{x, y}; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | curve: self.clone() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 99 | fn add(self, rhs:EllipticCurvePoint) -> EllipticCurvePoint{ [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match (self.pt.clone(),rhs.pt.clone()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(coeff:Vec)->Vector{ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Vector{ [INFO] [stdout] 15 | coeff: coeff.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn add(self, rhs: Vector) -> Vector{ [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / self.coeff.iter() [INFO] [stdout] 38 | | .zip(rhs.coeff.iter()) [INFO] [stdout] 39 | | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] 40 | | .collect()) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 47 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() * y.clone() ); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() * y.clone() ); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 75 | fn mul(self,scalar:i32)-> Vector{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Vector::new( [INFO] [stdout] 77 | self.coeff.iter().map(|x| x.clone() * scalar).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | self.coeff.iter().map(|x| x.clone() * scalar).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn mul(self,scalar:T)-> Vector{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Vector::new( [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [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 52 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math_lib` (lib) due to 53 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_zx.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolyZx{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 14 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Poly [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T:Ring [INFO] [stdout] | |__________- method in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frobenius_map` is never used [INFO] [stdout] --> src/field_extension.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl FieldExtension { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn frobenius_map(x:FieldExtension)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_z.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorZ{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_ring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector{ [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->T{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 54 | fn add(self, rhs: MatrixRing) -> MatrixRing{ [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | / self.coeff.iter() [INFO] [stdout] 60 | | .zip(rhs.coeff.iter()) [INFO] [stdout] 61 | | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() + y.clone() ).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 69 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 117 | fn mul(self,scalar:i32)-> MatrixRing{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | MatrixRing::new( [INFO] [stdout] 119 | self.coeff.iter().map(|x| x.clone() * scalar).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | self.coeff.iter().map(|x| x.clone() * scalar).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 129 | fn mul(self,scalar:T)-> MatrixRing{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | MatrixRing::new( [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matrix_ring.rs:131:56 [INFO] [stdout] | [INFO] [stdout] 131 | self.coeff.iter().map(|x| scalar.clone() * x.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn add(self, rhs:Self)-> Self{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let mut a = self.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut b = rhs.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Poly{ coeff: [INFO] [stdout] 53 | | a.iter() [INFO] [stdout] 54 | | .zip(b.iter()) [INFO] [stdout] 55 | | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] 56 | | }.rm_trailing_zeros() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul(self, rhs: T) -> Poly { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Poly{ coeff: self.coeff.iter() [INFO] [stdout] | ______________________^ [INFO] [stdout] 89 | | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] 90 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Poly{ coeff: self.coeff.iter() [INFO] [stdout] | ______________________^ [INFO] [stdout] 117 | | .map(|x| x.clone() * -1) [INFO] [stdout] 118 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ring.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .map(|x| x.clone() * -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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_from_vec(coeff:Vec) -> Polyff{ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / Polyff{ [INFO] [stdout] 40 | | coeff [INFO] [stdout] 41 | | }.rm_trailing_zeros() [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: method `GCD` should have a snake case name [INFO] [stdout] --> src/poly/poly_ff.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn add(self, rhs:Self)-> Self{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let mut a = self.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let mut b = rhs.coeff; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / Polyff{ coeff: [INFO] [stdout] 90 | | a.iter() [INFO] [stdout] 91 | | .zip(b.iter()) [INFO] [stdout] 92 | | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] 93 | | }.rm_trailing_zeros() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|(x,y)|x.clone() + y.clone()).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn mul(self, rhs: T) -> Polyff { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Polyff{ coeff: self.coeff.iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] 126 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | .map(|x| x.clone() * rhs.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 133 | fn mul(self, rhs: i32) -> Polyff { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Polyff{ coeff: self.coeff.iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 135 | | .map(|x| x.clone() * rhs) [INFO] [stdout] 136 | | .collect() } [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly/poly_ff.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|x| x.clone() * 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn add(self, rhs: FieldExtension) -> FieldExtension{ [INFO] [stdout] | ---- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | nb: (self.nb + rhs.nb) % self.poly.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 29 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn mul(self, rhs: FieldExtension) -> FieldExtension{ [INFO] [stdout] | ---- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | nb: (self.nb * rhs.nb) % self.poly.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 51 | fn mul(self, rhs: i32) -> FieldExtension{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | FieldExtension{ [INFO] [stdout] 53 | nb: self.nb * 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 88 | let mut t = self.nb.zero(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut newt = self.nb.one(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut r = self.poly.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut newr = self.nb.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | nb:t * r.coeff[0].inv(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 88 | let mut t = self.nb.zero(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut newt = self.nb.one(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut r = self.poly.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut newr = self.nb.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | poly:self.poly.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 116 | fn div(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | self * rhs.inv() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | FieldExtension { nb: Polyff { coeff: nb } % Polyff { coeff: poly.clone() } , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_extension.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_from_vec(nb:Vec, poly:Vec)->FieldExtension{ [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | FieldExtension { nb: Polyff { coeff: nb } % Polyff { coeff: poly.clone() } , [INFO] [stdout] 133 | poly: Polyff { coeff: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_point(&self,x:T,y:T)->EllipticCurvePoint{ [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | [INFO] [stdout] 36 | let pt = ECPoint::Point{x, y}; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | curve: self.clone() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 99 | fn add(self, rhs:EllipticCurvePoint) -> EllipticCurvePoint{ [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match (self.pt.clone(),rhs.pt.clone()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elliptic_curve.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(coeff:Vec)->Vector{ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Vector{ [INFO] [stdout] 15 | coeff: coeff.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn add(self, rhs: Vector) -> Vector{ [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / self.coeff.iter() [INFO] [stdout] 38 | | .zip(rhs.coeff.iter()) [INFO] [stdout] 39 | | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] 40 | | .collect()) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(x,y)|x.clone() + y.clone() ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 47 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self + (-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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() * y.clone() ); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(x,y)|x.clone() * y.clone() ); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 75 | fn mul(self,scalar:i32)-> Vector{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Vector::new( [INFO] [stdout] 77 | self.coeff.iter().map(|x| x.clone() * scalar).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | self.coeff.iter().map(|x| x.clone() * scalar).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn mul(self,scalar:T)-> Vector{ [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Vector::new( [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector_ring.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | self.coeff.iter().map(|x| x.clone() * scalar.clone() ).collect() [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: variable `MatrixZ_a` should have a snake case name [INFO] [stdout] --> src/lib.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let MatrixZ_a = MatrixZ::new(vec![3,0,1,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ_b` should have a snake case name [INFO] [stdout] --> src/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let MatrixZ_b = MatrixZ::new(vec![2,4,0,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ` should have a snake case name [INFO] [stdout] --> src/lib.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let MatrixZ = MatrixZ::new(vec![1,0,2,3],2); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `matrix_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math_lib` (lib test) due to 53 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb22ed995185707b6b2d00657aa9a04afc55cae160a8fbea4186691151a562d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb22ed995185707b6b2d00657aa9a04afc55cae160a8fbea4186691151a562d0", kill_on_drop: false }` [INFO] [stdout] eb22ed995185707b6b2d00657aa9a04afc55cae160a8fbea4186691151a562d0