[INFO] cloning repository https://github.com/ShengguangXiao/halo2-json-regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShengguangXiao/halo2-json-regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShengguangXiao%2Fhalo2-json-regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShengguangXiao%2Fhalo2-json-regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9612f99135bc5ff55fb245f23eead8dbcf34800 [INFO] checking ShengguangXiao/halo2-json-regex/f9612f99135bc5ff55fb245f23eead8dbcf34800 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%2FShengguangXiao%2Fhalo2-json-regex" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShengguangXiao/halo2-json-regex 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/ShengguangXiao/halo2-json-regex [INFO] finished tweaking git repo https://github.com/ShengguangXiao/halo2-json-regex [INFO] tweaked toml for git repo https://github.com/ShengguangXiao/halo2-json-regex written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ShengguangXiao/halo2-json-regex 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0e7fd61ad073a1e85fa00b3768cd546587d1089fbfc2a8b85a9e74b611447986 [INFO] running `Command { std: "docker" "start" "-a" "0e7fd61ad073a1e85fa00b3768cd546587d1089fbfc2a8b85a9e74b611447986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7fd61ad073a1e85fa00b3768cd546587d1089fbfc2a8b85a9e74b611447986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7fd61ad073a1e85fa00b3768cd546587d1089fbfc2a8b85a9e74b611447986", kill_on_drop: false }` [INFO] [stdout] 0e7fd61ad073a1e85fa00b3768cd546587d1089fbfc2a8b85a9e74b611447986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ecad234e29d08707e32d97e99a0042f695a18e6f78b361aa228c267d43ef3e48 [INFO] running `Command { std: "docker" "start" "-a" "ecad234e29d08707e32d97e99a0042f695a18e6f78b361aa228c267d43ef3e48", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking blake2b_simd v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking bitvec v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking pasta_curves v0.4.0 [INFO] [stderr] Checking halo2_proofs v0.1.0 (https://github.com/zcash/halo2.git?rev=a898d65ae3ad3d41987666f6a03cfc15edae01c4#a898d65a) [INFO] [stderr] Checking halo2-json-regex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Any`, `FailureLocation`, and `VerifyFailure` [INFO] [stdout] --> src/halo2_json_regex.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | dev::{FailureLocation, MockProver, VerifyFailure}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 188 | pasta::Fp, [INFO] [stdout] 189 | plonk::{Any, Circuit}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegexConstrained` is never constructed [INFO] [stdout] --> src/halo2_json_regex.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct RegexConstrained(AssignedCell, F>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegexCheckConfig` is never constructed [INFO] [stdout] --> src/halo2_json_regex.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct RegexCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `split_regex`, `configure`, and `assign` are never used [INFO] [stdout] --> src/halo2_json_regex.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl RegexCheckConfig { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 51 | fn split_regex(regex: String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn configure(meta: &mut ConstraintSystem) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn assign( [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_json_regex.rs:102:47 [INFO] [stdout] | [INFO] [stdout] 90 | let q = meta.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let value = meta.query_advice(value, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Constraints::with_selector(q, [("range check", range_check(value))]) [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/halo2_json_regex.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 96 | let range_check = |value: Expression| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | section.iter().fold(value.clone(), |expr, 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_json_regex.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 97 | section.iter().fold(value.clone(), |expr, i| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | expr * (Expression::Constant(F::from(*i as u64)) - value.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] [stderr] error: could not compile `halo2-json-regex` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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_json_regex.rs:102:47 [INFO] [stdout] | [INFO] [stdout] 90 | let q = meta.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let value = meta.query_advice(value, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Constraints::with_selector(q, [("range check", range_check(value))]) [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/halo2_json_regex.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 96 | let range_check = |value: Expression| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | section.iter().fold(value.clone(), |expr, 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_json_regex.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 97 | section.iter().fold(value.clone(), |expr, i| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | expr * (Expression::Constant(F::from(*i as u64)) - value.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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `halo2-json-regex` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ecad234e29d08707e32d97e99a0042f695a18e6f78b361aa228c267d43ef3e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecad234e29d08707e32d97e99a0042f695a18e6f78b361aa228c267d43ef3e48", kill_on_drop: false }` [INFO] [stdout] ecad234e29d08707e32d97e99a0042f695a18e6f78b361aa228c267d43ef3e48