[INFO] cloning repository https://github.com/KimiWu123/halo2_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KimiWu123/halo2_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimiWu123%2Fhalo2_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimiWu123%2Fhalo2_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ba48ecd7ff7892e67eb331ec6986dcae7439c5d [INFO] checking KimiWu123/halo2_examples/3ba48ecd7ff7892e67eb331ec6986dcae7439c5d 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%2FKimiWu123%2Fhalo2_examples" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KimiWu123/halo2_examples 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/KimiWu123/halo2_examples [INFO] finished tweaking git repo https://github.com/KimiWu123/halo2_examples [INFO] tweaked toml for git repo https://github.com/KimiWu123/halo2_examples written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KimiWu123/halo2_examples 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 70c662a667401d6d5ea39a7ffc6636ce9d74e6ceddf784722d6dd9edddecea41 [INFO] running `Command { std: "docker" "start" "-a" "70c662a667401d6d5ea39a7ffc6636ce9d74e6ceddf784722d6dd9edddecea41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c662a667401d6d5ea39a7ffc6636ce9d74e6ceddf784722d6dd9edddecea41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c662a667401d6d5ea39a7ffc6636ce9d74e6ceddf784722d6dd9edddecea41", kill_on_drop: false }` [INFO] [stdout] 70c662a667401d6d5ea39a7ffc6636ce9d74e6ceddf784722d6dd9edddecea41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 91cfb23dba0c0b621be2b709846ed52198f5da4e848ee39dc1694ddc2dd38f8c [INFO] running `Command { std: "docker" "start" "-a" "91cfb23dba0c0b621be2b709846ed52198f5da4e848ee39dc1694ddc2dd38f8c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking blake2b_simd v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rayon v1.6.1 [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 [INFO] [stderr] Checking fibonacci v0.1.0 (/opt/rustwide/workdir) [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/fibonacci/example1.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | || prev_b.ok_or(Error::Synthesis), [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/fibonacci/example1.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | || prev_c.ok_or(Error::Synthesis), [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/fibonacci/example1.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | || c_val.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | || a.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | || b.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:99:67 [INFO] [stdout] | [INFO] [stdout] 99 | || b.and_then(|b| a.map(|a| a + b)).ok_or(Error::Synthesis), [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fibonacci` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `prover` [INFO] [stdout] --> src/fibonacci/example1.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let prover = MockProver::run(k, &circuit, vec![public_input.clone()]).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prover` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prover` [INFO] [stdout] --> src/fibonacci/example2.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let prover = MockProver::run(k, &circuit, vec![public_input.clone()]).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prover` [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/fibonacci/example1.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | || prev_b.ok_or(Error::Synthesis), [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/fibonacci/example1.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | || prev_c.ok_or(Error::Synthesis), [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/fibonacci/example1.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | || c_val.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | || a.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | || b.ok_or(Error::Synthesis), [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/fibonacci/example2.rs:99:67 [INFO] [stdout] | [INFO] [stdout] 99 | || b.and_then(|b| a.map(|a| a + b)).ok_or(Error::Synthesis), [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 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fibonacci` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91cfb23dba0c0b621be2b709846ed52198f5da4e848ee39dc1694ddc2dd38f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cfb23dba0c0b621be2b709846ed52198f5da4e848ee39dc1694ddc2dd38f8c", kill_on_drop: false }` [INFO] [stdout] 91cfb23dba0c0b621be2b709846ed52198f5da4e848ee39dc1694ddc2dd38f8c