[INFO] cloning repository https://github.com/bytetang/halo2-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bytetang/halo2-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytetang%2Fhalo2-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytetang%2Fhalo2-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46cb66c6dfe7617f77ae7ccd23bd3949fde10239 [INFO] checking bytetang/halo2-example/46cb66c6dfe7617f77ae7ccd23bd3949fde10239 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%2Fbytetang%2Fhalo2-example" "/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/bytetang/halo2-example 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/bytetang/halo2-example [INFO] finished tweaking git repo https://github.com/bytetang/halo2-example [INFO] tweaked toml for git repo https://github.com/bytetang/halo2-example written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bytetang/halo2-example 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] d0d09db221b908e7c6cedade74fd433a7509f909d408880e86e0b82817f62df9 [INFO] running `Command { std: "docker" "start" "-a" "d0d09db221b908e7c6cedade74fd433a7509f909d408880e86e0b82817f62df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0d09db221b908e7c6cedade74fd433a7509f909d408880e86e0b82817f62df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d09db221b908e7c6cedade74fd433a7509f909d408880e86e0b82817f62df9", kill_on_drop: false }` [INFO] [stdout] d0d09db221b908e7c6cedade74fd433a7509f909d408880e86e0b82817f62df9 [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] 95b25ab78c9b221d00269618db7990ee96465e8fc602777baac430bb13b86b87 [INFO] running `Command { std: "docker" "start" "-a" "95b25ab78c9b221d00269618db7990ee96465e8fc602777baac430bb13b86b87", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking blake2b_simd v1.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking pasta_curves v0.4.1 [INFO] [stderr] Checking halo2_proofs v0.1.0 (https://github.com/zcash/halo2.git?rev=a898d65ae3ad3d41987666f6a03cfc15edae01c4#a898d65a) [INFO] [stderr] Checking halo2-simple-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/halo2_examples/simple_example.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | use halo2_proofs::{pasta::Fp, circuit::Value, dev::MockProver}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::halo2_examples::simple_example::MyCircuit` [INFO] [stdout] --> src/halo2_examples/simple_example.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::halo2_examples::simple_example::MyCircuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimpleFloorPlanner`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/halo2_examples/table.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | circuit::{SimpleFloorPlanner, Value, floor_planner::V1}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | plonk::{Advice, Circuit, Column, Selector, Assigned}, [INFO] [stdout] 58 | poly::Rotation, pasta::Fp, dev::MockProver, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/halo2_examples/simple_example.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | use halo2_proofs::{pasta::Fp, circuit::Value, dev::MockProver}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::halo2_examples::simple_example::MyCircuit` [INFO] [stdout] --> src/halo2_examples/simple_example.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::halo2_examples::simple_example::MyCircuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimpleFloorPlanner` [INFO] [stdout] --> src/halo2_examples/table.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | circuit::{SimpleFloorPlanner, Value, floor_planner::V1}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Expr { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 9 | fn expr(&self) -> Expression; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_from_bytes` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn expr_from_bytes>(bytes: &[E]) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `assign` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait LtInstruction { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 68 | /// Assign the lhs and rhs witnesses to the Lt chip's region. [INFO] [stdout] 69 | fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_lt` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl LtConfig { [INFO] [stdout] | ------------------------------------------------------------ method in this implementation [INFO] [stdout] 91 | /// Returns an expression that denotes whether lhs < rhs, or not. [INFO] [stdout] 92 | pub fn is_lt(&self, meta: &mut VirtualCells, rotation: Option) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bool_check` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn bool_check(value: Expression) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range_check` is never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn range_check(word: Expression, range: usize) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `configure` and `construct` are never used [INFO] [stdout] --> src/halo2_examples/sort_example.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl LtChip { [INFO] [stdout] | ---------------------------------------------------------- associated functions in this implementation [INFO] [stdout] 115 | /// Configures the Lt chip. [INFO] [stdout] 116 | pub fn configure( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn construct(config: LtConfig) -> LtChip { [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/halo2_examples/simple_example.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 186 | fn synthesize(&self, config: Self::Config, mut layouter: impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | field_chip.expose_pulic(layouter.namespace(|| "field expose"), c, 0) [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] = 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/halo2_examples/sort_example.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 103 | fn range_check(word: Expression, range: usize) -> Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | (1..range).fold(word.clone(), |acc, i| { [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/halo2_examples/sort_example.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 104 | (1..range).fold(word.clone(), |acc, i| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | acc * (Expression::Constant(F::from(i as u64)) - word.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/halo2_examples/sort_example.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 118 | q_enable: impl FnOnce(&mut VirtualCells<'_, F>) -> Expression, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | lhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | rhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let lt = meta.query_advice(lt, Rotation::cur()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | let diff_bytes = diff [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let check_a = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let check_b = bool_check(lt); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | / [check_a, check_b] [INFO] [stdout] 141 | | .into_iter() [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/halo2_examples/sort_example.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 118 | q_enable: impl FnOnce(&mut VirtualCells<'_, F>) -> Expression, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | lhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | rhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let lt = meta.query_advice(lt, Rotation::cur()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | let diff_bytes = diff [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let check_a = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let check_b = bool_check(lt); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | .map(move |poly| q_enable.clone() * 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/halo2_examples/sort_example.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | .map(move |poly| q_enable.clone() * poly) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `halo2-simple-example` (lib) due to 7 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/halo2_examples/simple_example.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 186 | fn synthesize(&self, config: Self::Config, mut layouter: impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | field_chip.expose_pulic(layouter.namespace(|| "field expose"), c, 0) [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] = 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/halo2_examples/sort_example.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 103 | fn range_check(word: Expression, range: usize) -> Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | (1..range).fold(word.clone(), |acc, i| { [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/halo2_examples/sort_example.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 104 | (1..range).fold(word.clone(), |acc, i| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | acc * (Expression::Constant(F::from(i as u64)) - word.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/halo2_examples/sort_example.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 118 | q_enable: impl FnOnce(&mut VirtualCells<'_, F>) -> Expression, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | lhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | rhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let lt = meta.query_advice(lt, Rotation::cur()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | let diff_bytes = diff [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let check_a = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let check_b = bool_check(lt); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | / [check_a, check_b] [INFO] [stdout] 141 | | .into_iter() [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/halo2_examples/sort_example.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 118 | q_enable: impl FnOnce(&mut VirtualCells<'_, F>) -> Expression, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | lhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | rhs: impl FnOnce(&mut VirtualCells) -> Expression, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let lt = meta.query_advice(lt, Rotation::cur()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | let diff_bytes = diff [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let check_a = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let check_b = bool_check(lt); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | .map(move |poly| q_enable.clone() * 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/halo2_examples/sort_example.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 127 | let q_enable = q_enable(meta); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | .map(move |poly| q_enable.clone() * poly) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `halo2-simple-example` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95b25ab78c9b221d00269618db7990ee96465e8fc602777baac430bb13b86b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b25ab78c9b221d00269618db7990ee96465e8fc602777baac430bb13b86b87", kill_on_drop: false }` [INFO] [stdout] 95b25ab78c9b221d00269618db7990ee96465e8fc602777baac430bb13b86b87