[INFO] fetching crate fhe 0.1.0-beta.8... [INFO] checking fhe-0.1.0-beta.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fhe 0.1.0-beta.8 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate fhe 0.1.0-beta.8 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fhe 0.1.0-beta.8 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fhe 0.1.0-beta.8 [INFO] tweaked toml for crates.io crate fhe 0.1.0-beta.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate fhe 0.1.0-beta.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31d72dcf8cd4f36bf4ec7c09401b74c5e9f5214e7653f0b28b47c8f461622eae [INFO] running `Command { std: "docker" "start" "-a" "31d72dcf8cd4f36bf4ec7c09401b74c5e9f5214e7653f0b28b47c8f461622eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31d72dcf8cd4f36bf4ec7c09401b74c5e9f5214e7653f0b28b47c8f461622eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d72dcf8cd4f36bf4ec7c09401b74c5e9f5214e7653f0b28b47c8f461622eae", kill_on_drop: false }` [INFO] [stdout] 31d72dcf8cd4f36bf4ec7c09401b74c5e9f5214e7653f0b28b47c8f461622eae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97fee658132f192535b03b1b933852f1aa216fe1455e832eab62c59625f59b86 [INFO] running `Command { std: "docker" "start" "-a" "97fee658132f192535b03b1b933852f1aa216fe1455e832eab62c59625f59b86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling regex-automata v0.4.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling regex v1.10.0 [INFO] [stderr] Checking fhe-traits v0.1.0-beta.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling fhe-math v0.1.0-beta.8 [INFO] [stderr] Compiling fhe v0.1.0-beta.8 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking fhe-util v0.1.0-beta.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [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/bfv/ciphertext.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(c: Vec, par: &Arc) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | par: par.clone(), [INFO] [stdout] 87 | | seed: None, [INFO] [stdout] 88 | | c, [INFO] [stdout] 89 | | level, [INFO] [stdout] 90 | | }) [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/bfv/ciphertext.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 164 | let mut c = Vec::with_capacity(value.c.len() + 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Ciphertext { [INFO] [stdout] | ____________^ [INFO] [stdout] 185 | | par: par.clone(), [INFO] [stdout] 186 | | seed, [INFO] [stdout] 187 | | c, [INFO] [stdout] 188 | | level: value.level as usize, [INFO] [stdout] 189 | | }) [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/bfv/keys/evaluation_key.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 388 | let mut gk = HashMap::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | let mut monomials = Vec::with_capacity(par.degree().ilog2() as usize); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 420 | Ok(EvaluationKey { [INFO] [stdout] | ____________^ [INFO] [stdout] 421 | | gk, [INFO] [stdout] 422 | | par: par.clone(), [INFO] [stdout] 423 | | rot_to_gk_exponent: EvaluationKey::construct_rot_to_gk_exponent(par), [INFO] [stdout] ... | [INFO] [stdout] 426 | | evaluation_key_level: value.evaluation_key_level as usize, [INFO] [stdout] 427 | | }) [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/bfv/keys/galois_key.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 36 | let ciphertext_exponent = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let switcher_up = Switcher::new(ctx_ciphertext, ctx_galois_key)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let s_sub = Zeroizing::new(s.substitute(&ciphertext_exponent)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let mut s_sub_switched_up = Zeroizing::new(s_sub.mod_switch_to(&switcher_up)?); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let ksk = KeySwitchingKey::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | element: ciphertext_exponent, [INFO] [stdout] 60 | | ksk, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/bfv/keys/galois_key.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 69 | let mut c2 = ct.c[1].substitute(&self.element)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | c2.change_representation(Representation::PowerBasis); [INFO] [stdout] 71 | let (mut c0, mut c1) = self.ksk.key_switch(&c2)?; [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] 84 | Ok(Ciphertext { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | par: ct.par.clone(), [INFO] [stdout] 86 | | seed: None, [INFO] [stdout] 87 | | c: vec![c0, c1], [INFO] [stdout] 88 | | level: self.ksk.ciphertext_level, [INFO] [stdout] 89 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/bfv/keys/key_switching_key.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 247 | let mut c0 = Poly::zero(&self.ctx_ksk, Representation::Ntt); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let mut c1 = Poly::zero(&self.ctx_ksk, Representation::Ntt); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok((c0, c1)) [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/bfv/keys/key_switching_key.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 294 | let mut c0 = Poly::zero(&self.ctx_ksk, Representation::Ntt); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let mut c1 = Poly::zero(&self.ctx_ksk, Representation::Ntt); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Ok((c0, c1)) [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/bfv/keys/key_switching_key.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 377 | let c1 = if let Some(seed) = seed { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let c0 = value [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 394 | | par: par.clone(), [INFO] [stdout] 395 | | seed, [INFO] [stdout] 396 | | c0: c0.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 402 | | log_base: value.log_base as usize, [INFO] [stdout] 403 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/bfv/keys/key_switching_key.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|c1i| Poly::from_bytes(c1i, ctx_ksk).map_err(Error::MathError)) [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/bfv/keys/key_switching_key.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | .map(|c0i| Poly::from_bytes(c0i, ctx_ksk).map_err(Error::MathError)) [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/bfv/keys/public_key.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 26 | let zero = Plaintext::zero(Encoding::poly(), &sk.par).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let mut c: Ciphertext = sk.try_encrypt(&zero, rng).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | par: sk.par.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/bfv/keys/public_key.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 51 | let mut ct = self.c.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let u = Zeroizing::new(Poly::small( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let e1 = Zeroizing::new(Poly::small( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let e2 = Zeroizing::new(Poly::small( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let m = Zeroizing::new(pt.to_poly()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let mut c0 = u.as_ref() * &ct.c[0]; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let mut c1 = u.as_ref() * &ct.c[1]; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(Ciphertext { [INFO] [stdout] | ____________^ [INFO] [stdout] 90 | | par: self.par.clone(), [INFO] [stdout] 91 | | seed: None, [INFO] [stdout] 92 | | c: vec![c0, c1], [INFO] [stdout] 93 | | level: ct.level, [INFO] [stdout] 94 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/bfv/keys/relinearization_key.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 58 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let mut s2 = Zeroizing::new(s.as_ref() * s.as_ref()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | s2.change_representation(Representation::PowerBasis); [INFO] [stdout] 67 | let switcher_up = Switcher::new(ctx_ciphertext, ctx_relin_key)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let s2_switched_up = Zeroizing::new(s2.mod_switch_to(&switcher_up)?); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let ksk = KeySwitchingKey::new(sk, &s2_switched_up, ciphertext_level, key_level, rng)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(Self { ksk }) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/bfv/keys/secret_key.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 107 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let mut a = Poly::random_from_seed(p.ctx(), Representation::Ntt, seed); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let a_s = Zeroizing::new(&a * s.as_ref()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | let mut b = Poly::small(p.ctx(), Representation::Ntt, self.par.variance, rng) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | Ok(Ciphertext { [INFO] [stdout] | ____________^ [INFO] [stdout] 130 | | par: self.par.clone(), [INFO] [stdout] 131 | | seed: Some(seed), [INFO] [stdout] 132 | | c: vec![b, a], [INFO] [stdout] 133 | | level, [INFO] [stdout] 134 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/bfv/ops/mod.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 129 | let c = self.c.iter().map(|c1i| -c1i).collect_vec(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Ciphertext { [INFO] [stdout] 131 | par: self.par.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/bfv/ops/mod.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | .map(|ci| ci.scale(&mp.extender).map_err(Error::MathError)) [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/bfv/ops/mod.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | .map(|ci| ci.scale(&mp.extender).map_err(Error::MathError)) [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/bfv/ops/mod.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | .map(|ci| ci.scale(&mp.extender).map_err(Error::MathError)) [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/bfv/ops/mul.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 84 | let mul_ctx = Arc::new(Context::new(extended_basis, par.degree())?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let extender_lhs = Scaler::new(base_ctx, &mul_ctx, lhs_scaling_factor)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let extender_rhs = Scaler::new(base_ctx, &mul_ctx, rhs_scaling_factor)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let down_scaler = Scaler::new(&mul_ctx, base_ctx, post_mul_scaling_factor)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | par: par.clone(), [INFO] [stdout] 90 | | extender_lhs, [INFO] [stdout] 91 | | extender_rhs, [INFO] [stdout] ... | [INFO] [stdout] 97 | | level, [INFO] [stdout] 98 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/bfv/parameters.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 366 | let op = NttOperator::new(&plaintext_modulus, self.degree); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | [INFO] [stdout] 368 | let plaintext_ctx = Context::new_arc(&moduli[..1], self.degree)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | let mut ctx = Vec::with_capacity(moduli.len()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | let mut delta = Vec::with_capacity(moduli.len()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | let mut q_mod_t = Vec::with_capacity(moduli.len()); [INFO] [stdout] 379 | let mut scalers = Vec::with_capacity(moduli.len()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | let mut mul_params = Vec::with_capacity(moduli.len()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | Ok(BfvParameters { [INFO] [stdout] | ____________^ [INFO] [stdout] 441 | | polynomial_degree: self.degree, [INFO] [stdout] 442 | | plaintext_modulus: self.plaintext, [INFO] [stdout] 443 | | moduli: moduli.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 453 | | matrix_reps_index_map: matrix_reps_index_map.into_boxed_slice(), [INFO] [stdout] 454 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/bfv/plaintext.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | let poly_ntt = Poly::zero(ctx, Representation::Ntt); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 67 | | par: par.clone(), [INFO] [stdout] 68 | | value: value.into_boxed_slice(), [INFO] [stdout] 69 | | encoding: Some(encoding), [INFO] [stdout] 70 | | poly_ntt, [INFO] [stdout] 71 | | level, [INFO] [stdout] 72 | | }) [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/bfv/plaintext.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | let v = PlaintextVec::try_encode(value, encoding, par)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | Ok(v.0[0].clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bfv/plaintext_vec.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 69 | let mut poly = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(Plaintext { [INFO] [stdout] | ________________________^ [INFO] [stdout] 74 | | par: par.clone(), [INFO] [stdout] 75 | | value: v.into_boxed_slice(), [INFO] [stdout] 76 | | encoding: Some(encoding.clone()), [INFO] [stdout] 77 | | poly_ntt: poly, [INFO] [stdout] 78 | | level: encoding.level, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________| [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/bfv/plaintext_vec.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 116 | let mut poly = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(Plaintext { [INFO] [stdout] | ________________________^ [INFO] [stdout] 121 | | par: par.clone(), [INFO] [stdout] 122 | | value: v.into_boxed_slice(), [INFO] [stdout] 123 | | encoding: Some(encoding.clone()), [INFO] [stdout] 124 | | poly_ntt: poly, [INFO] [stdout] 125 | | level: encoding.level, [INFO] [stdout] 126 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________| [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/bfv/rgsw_ciphertext.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 44 | let ksk0 = KeySwitchingKey::try_convert_from( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let ksk1 = KeySwitchingKey::try_convert_from( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(Self { ksk0, ksk1 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/bfv/rgsw_ciphertext.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 91 | let mut m = Zeroizing::new(pt.poly_ntt.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut m_s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let ksk0 = KeySwitchingKey::new(self, &m, pt.level, pt.level, rng)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let ksk1 = KeySwitchingKey::new(self, &m_s, pt.level, pt.level, rng)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | Ok(RGSWCiphertext { ksk0, ksk1 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bfv/rgsw_ciphertext.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut ct0 = self.c[0].clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let mut ct1 = self.c[1].clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let (c0, c1) = rhs.ksk0.key_switch(&ct0).unwrap(); [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 | let (c0p, c1p) = rhs.ksk1.key_switch(&ct1).unwrap(); [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] 133 | par: self.par.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/mbfv/aggregate.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_shares(iter: T) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | A::from_shares(iter.into_iter().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/mbfv/crp.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | let poly = Poly::random(ctx, fhe_math::rq::Representation::Ntt, rng); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Ok(Self { 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/mbfv/public_key_gen.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 35 | crp: CommonRandomPoly, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let e = Zeroizing::new(Poly::small(ctx, Representation::Ntt, par.variance, rng)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | // Create p0_i share [INFO] [stdout] 53 | let mut p0_share = -crp.poly.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Self { par, crp, p0_share }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/public_key_gen.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 65 | fn from_shares(iter: T) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let mut shares = iter.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let share = shares.next().ok_or(Error::TooFewValues(0, 1))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let mut p0 = share.p0_share; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(PublicKey { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | c: Ciphertext::new(vec![p0, share.crp.poly], &share.par)?, [INFO] [stdout] 78 | | par: share.par, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/mbfv/public_key_switch.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 44 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let mut pk_ct = public_key.c.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let u = Zeroizing::new(Poly::small(ctx, Representation::Ntt, par.variance, rng)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | // TODO this should be exponential in ciphertext noise! [INFO] [stdout] 64 | let e0 = Zeroizing::new(Poly::small(ctx, Representation::Ntt, par.variance, rng)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let e1 = Zeroizing::new(Poly::small(ctx, Representation::Ntt, par.variance, rng)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | let mut h0 = pk_ct.c[0].clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut h1 = pk_ct.c[1].clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | par, [INFO] [stdout] 86 | | c0: ct.c[0].clone(), [INFO] [stdout] 87 | | h0_share: h0, [INFO] [stdout] 88 | | h1_share: h1, [INFO] [stdout] 89 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/mbfv/relin_key_gen.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 147 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | let s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | let h0 = crp [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Ok(h0.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/relin_key_gen.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 184 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let ctx = par.ctx_at_level(0)?; [INFO] [stdout] 186 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | let h1 = crp [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(h1.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/relin_key_gen.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 211 | fn from_shares(iter: T) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let mut shares = iter.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let share = shares.next().ok_or(Error::TooFewValues(0, 1))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let mut h0 = share.h0; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let mut h1 = share.h1; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | Ok(RelinKeyShare { [INFO] [stdout] | ____________^ [INFO] [stdout] 225 | | par: share.par, [INFO] [stdout] 226 | | h0, [INFO] [stdout] 227 | | h1, [INFO] [stdout] 228 | | last_round: None, [INFO] [stdout] 229 | | _phantom_data: PhantomData, [INFO] [stdout] 230 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/mbfv/relin_key_gen.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 241 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | let h0 = Self::generate_h0(sk_share, &r1.h0, rng)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | let h1 = Self::generate_h1(sk_share, u, &r1.h1, rng)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 245 | | par, [INFO] [stdout] 246 | | h0, [INFO] [stdout] 247 | | h1, [INFO] [stdout] 248 | | last_round: Some(Arc::clone(r1)), [INFO] [stdout] 249 | | _phantom_data: PhantomData, [INFO] [stdout] 250 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/mbfv/relin_key_gen.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 258 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let h0 = r1_h0 [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Ok(h0.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/relin_key_gen.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 291 | let par = sk_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let ctx = par.ctx_at_level(0)?; [INFO] [stdout] 293 | let mut s = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let u_s = Zeroizing::new(u.as_ref() - s.as_ref()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | [INFO] [stdout] 303 | let h1 = r1_h1 [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(h1.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/relin_key_gen.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 320 | fn from_shares(iter: T) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let mut shares = iter.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let share = shares.next().ok_or(Error::TooFewValues(0, 1))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let par = share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let ctx = par.ctx_at_level(0)?.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let r1 = share.last_round.ok_or(Error::DefaultError( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | let mut h0 = share.h0; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let mut h1 = share.h1; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | let mut c0 = h0; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let mut c1 = r1.h1.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | let ksk = KeySwitchingKey { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | Ok(RelinearizationKey { ksk }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/mbfv/secret_key_switch.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 43 | ct: Arc, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let par = sk_input_share.par.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let mut s_in = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let mut s_out = Zeroizing::new(Poly::try_convert_from( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let e = Zeroizing::new(Poly::small( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let mut h_share = s_in.as_ref() - s_out.as_ref(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | Ok(Self { par, ct, h_share }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mbfv/secret_key_switch.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 132 | let zero = SecretKey::new(vec![0; par.degree()], par); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let sks_share = SecretKeySwitchShare::new(sk_input_share, &zero, ct.clone(), rng)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Ok(DecryptionShare { sks_share }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fhe` (lib) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "97fee658132f192535b03b1b933852f1aa216fe1455e832eab62c59625f59b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fee658132f192535b03b1b933852f1aa216fe1455e832eab62c59625f59b86", kill_on_drop: false }` [INFO] [stdout] 97fee658132f192535b03b1b933852f1aa216fe1455e832eab62c59625f59b86