[INFO] cloning repository https://github.com/AaronKutch/old_exponential_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AaronKutch/old_exponential_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronKutch%2Fold_exponential_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronKutch%2Fold_exponential_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4584d9001ca2fc854553bb7bf8d69ce7cb2d2d81 [INFO] checking AaronKutch/old_exponential_code/4584d9001ca2fc854553bb7bf8d69ce7cb2d2d81 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronKutch%2Fold_exponential_code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronKutch/old_exponential_code 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 git repo https://github.com/AaronKutch/old_exponential_code [INFO] finished tweaking git repo https://github.com/AaronKutch/old_exponential_code [INFO] tweaked toml for git repo https://github.com/AaronKutch/old_exponential_code written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AaronKutch/old_exponential_code 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 17cd70903f310b06309f881455a19005825bc2e461eb7d3745a12525890b25a4 [INFO] running `Command { std: "docker" "start" "-a" "17cd70903f310b06309f881455a19005825bc2e461eb7d3745a12525890b25a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17cd70903f310b06309f881455a19005825bc2e461eb7d3745a12525890b25a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cd70903f310b06309f881455a19005825bc2e461eb7d3745a12525890b25a4", kill_on_drop: false }` [INFO] [stdout] 17cd70903f310b06309f881455a19005825bc2e461eb7d3745a12525890b25a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 555fb34729adeb7d22c2e71cc58bc0dacfb39624ddade19b316022e8447e63a4 [INFO] running `Command { std: "docker" "start" "-a" "555fb34729adeb7d22c2e71cc58bc0dacfb39624ddade19b316022e8447e63a4", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling recasting v0.2.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking triple_arena v0.13.0 [INFO] [stderr] Compiling awint_internals v0.17.0 [INFO] [stderr] Compiling awint_core v0.17.0 [INFO] [stderr] Compiling awint_ext v0.17.0 [INFO] [stderr] Compiling awint_macro_internals v0.17.0 [INFO] [stderr] Compiling awint_macros v0.17.0 [INFO] [stderr] Checking awint v0.17.0 [INFO] [stderr] Checking old_exponential_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `fp_uimul_` is never used [INFO] [stdout] --> src/fpbits.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn fp_uimul_, B1: BorrowMut>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/exp.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 25 | let x = ExtAwi::zero(this.nzbw()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let mut x = FP::new(true, x, this.fp()).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut tmp0 = ExtAwi::zero(x.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let tmp0 = tmp0.const_as_mut(); [INFO] [stdout] 39 | let mut tmp1 = ExtAwi::zero(x.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let tmp1 = tmp1.const_as_mut(); [INFO] [stdout] 41 | let mut lo_mul = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut hi_mul = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut lo_sum = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let mut hi_sum = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let mut pad = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Some((lo_sum, hi_sum)) [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/exp.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 231 | let mut pad = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | // so `self` does not need to be mutable [INFO] [stdout] 233 | let mut self_tmp = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let mut tmp0 = self_tmp.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let mut tmp1 = self_tmp.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (lo, _) = exp_bounds(&tmp0)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | let (_, hi) = exp_bounds(&tmp1)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | Some((lo, hi)) [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/exp.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 274 | let mut two = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | let ln_2 = ln_bounds(&two)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | let ln_x = ln_bounds(&this)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | // use `lb(x) = ln(x)/ln(2)` [INFO] [stdout] 280 | let mut pad0 = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let mut pad1 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let mut pad2 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let mut pad3 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let mut rem = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let mut quo_lo = rem.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | let mut quo_hi = rem.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 309 | Some((quo_lo, quo_hi)) [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/horner.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 95 | let mut int = FP::new(true, ExtAwi::zero(precompute_bw), precompute_fp).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | FP::one_(&mut int)?; [INFO] [stdout] 97 | let e = exp_bounds(&int)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let lb_e = (lb_bounds(&e.0)?.0, lb_bounds(&e.1)?.1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | // used for checking ideal truncation of `lb_e` constant [INFO] [stdout] 100 | let mut lb_e_target0 = FP::new( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut lb_e_target1 = lb_e_target0.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let lb_e = lb_e_target0.clone().into_b(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let ln_2 = ln_bounds(&int)?; [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 product = (ln_2.0.clone(), ln_2.1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut pad = ExtAwi::zero(NonZeroUsize::new(precompute_bw.get().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut exp2_fw_target0 = FP::new( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut exp2_fw_target1 = exp2_fw_target0.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let mut constants = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let target_tmp = FP::new(true, ExtAwi::zero(target_bw), target_fp).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | let mut one = ExtAwi::uone(target_bw); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 172 | | constants, [INFO] [stdout] 173 | | full_bw_tmp: ExtAwi::zero(full_bw), [INFO] [stdout] 174 | | exp2_fw, [INFO] [stdout] ... | [INFO] [stdout] 188 | | exp2_target_diff: exp2_fw.get().checked_sub(target_fp_unsigned)?, [INFO] [stdout] 189 | | }) [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: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `old_exponential_code` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `mul_exp_bounds` is never used [INFO] [stdout] --> src/exp.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn mul_exp_bounds, B1: BorrowMut, B2: BorrowMut>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp2_bounds` is never used [INFO] [stdout] --> src/exp.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn exp2_bounds>(this: &FP) -> Option<(FP, FP)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp_imul_` is never used [INFO] [stdout] --> src/fpbits.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn fp_imul_, B1: BorrowMut>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp_uimul_` is never used [INFO] [stdout] --> src/fpbits.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn fp_uimul_, B1: BorrowMut>( [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/exp.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 25 | let x = ExtAwi::zero(this.nzbw()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let mut x = FP::new(true, x, this.fp()).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut tmp0 = ExtAwi::zero(x.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let tmp0 = tmp0.const_as_mut(); [INFO] [stdout] 39 | let mut tmp1 = ExtAwi::zero(x.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let tmp1 = tmp1.const_as_mut(); [INFO] [stdout] 41 | let mut lo_mul = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut hi_mul = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut lo_sum = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let mut hi_sum = FP::new(true, ExtAwi::zero(x.nzbw()), x.fp()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let mut pad = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Some((lo_sum, hi_sum)) [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/exp.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 231 | let mut pad = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | // so `self` does not need to be mutable [INFO] [stdout] 233 | let mut self_tmp = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let mut tmp0 = self_tmp.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let mut tmp1 = self_tmp.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (lo, _) = exp_bounds(&tmp0)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | let (_, hi) = exp_bounds(&tmp1)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | Some((lo, hi)) [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/exp.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 274 | let mut two = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | let ln_2 = ln_bounds(&two)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | let ln_x = ln_bounds(&this)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | // use `lb(x) = ln(x)/ln(2)` [INFO] [stdout] 280 | let mut pad0 = ExtAwi::zero(NonZeroUsize::new(this.bw().checked_mul(2)?)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let mut pad1 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let mut pad2 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let mut pad3 = ExtAwi::zero(pad0.nzbw()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let mut rem = FP::new(true, ExtAwi::zero(this.nzbw()), this.fp()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let mut quo_lo = rem.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | let mut quo_hi = rem.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 309 | Some((quo_lo, quo_hi)) [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/horner.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 95 | let mut int = FP::new(true, ExtAwi::zero(precompute_bw), precompute_fp).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | FP::one_(&mut int)?; [INFO] [stdout] 97 | let e = exp_bounds(&int)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let lb_e = (lb_bounds(&e.0)?.0, lb_bounds(&e.1)?.1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | // used for checking ideal truncation of `lb_e` constant [INFO] [stdout] 100 | let mut lb_e_target0 = FP::new( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut lb_e_target1 = lb_e_target0.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let lb_e = lb_e_target0.clone().into_b(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let ln_2 = ln_bounds(&int)?; [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 product = (ln_2.0.clone(), ln_2.1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut pad = ExtAwi::zero(NonZeroUsize::new(precompute_bw.get().checked_mul(2)?)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut exp2_fw_target0 = FP::new( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut exp2_fw_target1 = exp2_fw_target0.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let mut constants = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let target_tmp = FP::new(true, ExtAwi::zero(target_bw), target_fp).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | let mut one = ExtAwi::uone(target_bw); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 172 | | constants, [INFO] [stdout] 173 | | full_bw_tmp: ExtAwi::zero(full_bw), [INFO] [stdout] 174 | | exp2_fw, [INFO] [stdout] ... | [INFO] [stdout] 188 | | exp2_target_diff: exp2_fw.get().checked_sub(target_fp_unsigned)?, [INFO] [stdout] 189 | | }) [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: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `old_exponential_code` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "555fb34729adeb7d22c2e71cc58bc0dacfb39624ddade19b316022e8447e63a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555fb34729adeb7d22c2e71cc58bc0dacfb39624ddade19b316022e8447e63a4", kill_on_drop: false }` [INFO] [stdout] 555fb34729adeb7d22c2e71cc58bc0dacfb39624ddade19b316022e8447e63a4