[INFO] fetching crate zkdoc_sdk 0.0.1... [INFO] checking zkdoc_sdk-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zkdoc_sdk 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate zkdoc_sdk 0.0.1 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 zkdoc_sdk 0.0.1 [INFO] finished tweaking crates.io crate zkdoc_sdk 0.0.1 [INFO] tweaked toml for crates.io crate zkdoc_sdk 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding core-text v20.1.0 (latest: v21.0.0) [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding derive_builder v0.9.0 (latest: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.9.0 (latest: v0.20.1) [INFO] [stderr] Adding ff v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding font-kit v0.13.2 (latest: v0.14.2) [INFO] [stderr] Adding freetype-sys v0.20.1 (latest: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gif v0.12.0 (latest: v0.13.1) [INFO] [stderr] Adding group v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding halo2_gadgets v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding halo2_proofs v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding image v0.24.9 (latest: v0.25.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding pasta_curves v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tabbycat v0.1.2 (latest: v0.1.3) [INFO] [stderr] Adding ttf-parser v0.20.0 (latest: v0.24.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding yeslogic-fontconfig-sys v5.0.0 (latest: v6.0.0) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7cade3251bd0cd1e0aea7ab99a7794bb3cbb68327a06f932e3c27bc0e020379a [INFO] running `Command { std: "docker" "start" "-a" "7cade3251bd0cd1e0aea7ab99a7794bb3cbb68327a06f932e3c27bc0e020379a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cade3251bd0cd1e0aea7ab99a7794bb3cbb68327a06f932e3c27bc0e020379a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cade3251bd0cd1e0aea7ab99a7794bb3cbb68327a06f932e3c27bc0e020379a", kill_on_drop: false }` [INFO] [stdout] 7cade3251bd0cd1e0aea7ab99a7794bb3cbb68327a06f932e3c27bc0e020379a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7646ce559141573dcd4914f5d415b5337b5f1f2ddf4f1f7c5070577c62adeb7c [INFO] running `Command { std: "docker" "start" "-a" "7646ce559141573dcd4914f5d415b5337b5f1f2ddf4f1f7c5070577c62adeb7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pasta_curves v0.4.1 [INFO] [stderr] Checking halo2_proofs v0.2.0 [INFO] [stderr] Checking halo2_gadgets v0.2.0 [INFO] [stderr] Checking zkdoc_sdk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Spec` [INFO] [stdout] --> src/circuits/poseidon.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 83 | primitives::{self as poseidon, ConstantLength, P128Pow5T3, Spec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Spec` [INFO] [stdout] --> src/circuits/poseidon_v2.rs:70:68 [INFO] [stdout] | [INFO] [stdout] 70 | primitives::{self as poseidon, ConstantLength, P128Pow5T3, Spec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hasher.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Advice` and `Error` [INFO] [stdout] --> src/circuits/file_hasher.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `order::Lsb0` [INFO] [stdout] --> src/utils/poseidon.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | use bitvec::{array::BitArray, order::Lsb0}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U256` [INFO] [stdout] --> src/services/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::typenum::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hasher.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Advice` and `Error` [INFO] [stdout] --> src/circuits/file_hasher.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U256` [INFO] [stdout] --> src/services/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::typenum::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hasher.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hasher.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_le_bits2` [INFO] [stdout] --> src/circuits/poseidon.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let output_le_bits2 = output.to_le_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_le_bits2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_le_bits` [INFO] [stdout] --> src/circuits/poseidon.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let output_le_bits = output.to_le_bits().as_raw_slice(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_le_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_fp` [INFO] [stdout] --> src/circuits/poseidon.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let test_fp = Fp::from_raw([1, 3, 4, 5]); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hasher.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hasher.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit` [INFO] [stdout] --> src/circuits/file_hasher.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let circuit = FileHashPartialCircuit::<2> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circuit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit` [INFO] [stdout] --> src/circuits/file_hasher.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let circuit = FileHashPartialCircuit:: { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circuit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/assert_is_equal.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | mut layouter: impl halo2_proofs::circuit::Layouter, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zz` [INFO] [stdout] --> src/utils/poseidon.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let zz: [u64; 4] = yy.try_into().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 11 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 19 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon_v2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon_v2.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 14 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 23 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hasher.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u64_to_u32` is never used [INFO] [stdout] --> src/utils/poseidon.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn convert_hash_u64_to_u32(hash_u64: [u64; 4]) -> [u32; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` is never used [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [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/gadgets/poseidon.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 106 | mut layouter: impl Layouter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | hasher.hash(layouter.namespace(|| "hash"), word_cells) [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] = 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/gadgets/file_hash_row_selector.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 42 | let file_hash = region.query_advice(file_hash_advice, Rotation::cur()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let row_selector = region.query_advice(row_selector_advice, Rotation::cur()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let file_res = region.query_advice(file_res_advice, Rotation::cur()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / [ [INFO] [stdout] 50 | | file_hash * row_selector.clone() - file_res, [INFO] [stdout] 51 | | row_selector.clone() * (Expression::Constant(F::one()) - row_selector), [INFO] [stdout] 52 | | ], [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/gadgets/file_selector_accumulator.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 39 | let col_a = region.query_advice(col_a_advice, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let col_b = region.query_advice(col_b_advice, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let col_a_res = region.query_advice(col_a_advice, Rotation::next()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Constraints::with_selector(s, [col_a + col_b - col_a_res]) [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/gadgets/assert_is_equal.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 36 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let l = region.query_advice(left, Rotation::cur()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let r = region.query_advice(right, Rotation::cur()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | Constraints::with_selector(s, [r - l]) [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/gadgets/poseidon_v2.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 103 | mut layouter: impl Layouter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | hasher.hash(layouter.namespace(|| "hash"), word_cells) [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] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn convert_hash_u32_to_u64_LE(hash_u32: [u32; 8]) -> [u64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_hash_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [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/services/services.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 260 | let vk = keygen_vk(¶ms, &empty_circuit).expect("keygen_vk should not fail"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | let pk = keygen_pk(¶ms, vk, &empty_circuit).expect("keygen_pk should not fail"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | / verify_proof( [INFO] [stdout] 268 | | ¶ms, [INFO] [stdout] 269 | | pk.get_vk(), [INFO] [stdout] 270 | | strategy, [INFO] [stdout] 271 | | &[&[&public_input[..]], &[&public_input[..]]], [INFO] [stdout] 272 | | &mut transcript, [INFO] [stdout] 273 | | ) [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] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 11 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 19 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_LE` is never used [INFO] [stdout] --> src/circuits/poseidon.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn convert_u32_to_u64_LE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon_v2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon_v2.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 14 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 23 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hasher.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn convert_u32_to_u64_LE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_le` [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/gadgets/poseidon.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 106 | mut layouter: impl Layouter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | hasher.hash(layouter.namespace(|| "hash"), word_cells) [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] = 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/gadgets/file_hash_row_selector.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 42 | let file_hash = region.query_advice(file_hash_advice, Rotation::cur()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let row_selector = region.query_advice(row_selector_advice, Rotation::cur()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let file_res = region.query_advice(file_res_advice, Rotation::cur()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / [ [INFO] [stdout] 50 | | file_hash * row_selector.clone() - file_res, [INFO] [stdout] 51 | | row_selector.clone() * (Expression::Constant(F::one()) - row_selector), [INFO] [stdout] 52 | | ], [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/gadgets/file_selector_accumulator.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 39 | let col_a = region.query_advice(col_a_advice, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let col_b = region.query_advice(col_b_advice, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let col_a_res = region.query_advice(col_a_advice, Rotation::next()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Constraints::with_selector(s, [col_a + col_b - col_a_res]) [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/gadgets/assert_is_equal.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 36 | let s = region.query_selector(selector); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let l = region.query_advice(left, Rotation::cur()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let r = region.query_advice(right, Rotation::cur()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | Constraints::with_selector(s, [r - l]) [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 `zkdoc_sdk` (lib) due to 7 previous errors; 40 warnings emitted [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/gadgets/poseidon_v2.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 103 | mut layouter: impl Layouter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | hasher.hash(layouter.namespace(|| "hash"), word_cells) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zkdoc_sdk` (lib test) due to 7 previous errors; 52 warnings emitted [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn convert_hash_u32_to_u64_LE(hash_u32: [u32; 8]) -> [u64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_hash_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [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/services/services.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 260 | let vk = keygen_vk(¶ms, &empty_circuit).expect("keygen_vk should not fail"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | let pk = keygen_pk(¶ms, vk, &empty_circuit).expect("keygen_pk should not fail"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | / verify_proof( [INFO] [stdout] 268 | | ¶ms, [INFO] [stdout] 269 | | pk.get_vk(), [INFO] [stdout] 270 | | strategy, [INFO] [stdout] 271 | | &[&[&public_input[..]], &[&public_input[..]]], [INFO] [stdout] 272 | | &mut transcript, [INFO] [stdout] 273 | | ) [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; 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7646ce559141573dcd4914f5d415b5337b5f1f2ddf4f1f7c5070577c62adeb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7646ce559141573dcd4914f5d415b5337b5f1f2ddf4f1f7c5070577c62adeb7c", kill_on_drop: false }` [INFO] [stdout] 7646ce559141573dcd4914f5d415b5337b5f1f2ddf4f1f7c5070577c62adeb7c