[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] building bytetang/halo2-example against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytetang%2Fhalo2-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bytetang/halo2-example on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/zcash/halo2.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-macro v1.0.83 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.83 [INFO] [stderr] Downloaded cxx-build v1.0.83 [INFO] [stderr] Downloaded cxx v1.0.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f598846aae176c64ae6c44dc33d62caf3b99909ad8925286f8cfdc6ba185bfd5 [INFO] running `Command { std: "docker" "start" "-a" "f598846aae176c64ae6c44dc33d62caf3b99909ad8925286f8cfdc6ba185bfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f598846aae176c64ae6c44dc33d62caf3b99909ad8925286f8cfdc6ba185bfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f598846aae176c64ae6c44dc33d62caf3b99909ad8925286f8cfdc6ba185bfd5", kill_on_drop: false }` [INFO] [stdout] f598846aae176c64ae6c44dc33d62caf3b99909ad8925286f8cfdc6ba185bfd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebf273baad6da4ea2422642d95380b0b7bdc6990072a209f7c4305b5e05eb040 [INFO] running `Command { std: "docker" "start" "-a" "ebf273baad6da4ea2422642d95380b0b7bdc6990072a209f7c4305b5e05eb040", 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] Compiling libc v0.2.138 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling pasta_curves v0.4.1 [INFO] [stderr] Compiling halo2_proofs v0.1.0 (https://github.com/zcash/halo2.git?rev=a898d65ae3ad3d41987666f6a03cfc15edae01c4#a898d65a) [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "ebf273baad6da4ea2422642d95380b0b7bdc6990072a209f7c4305b5e05eb040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf273baad6da4ea2422642d95380b0b7bdc6990072a209f7c4305b5e05eb040", kill_on_drop: false }` [INFO] [stdout] ebf273baad6da4ea2422642d95380b0b7bdc6990072a209f7c4305b5e05eb040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b10d4bd33127d7bbe6dd8fbf3b2bed6c65e2ad12ce7649fff8e5ed2a585dd8 [INFO] running `Command { std: "docker" "start" "-a" "a8b10d4bd33127d7bbe6dd8fbf3b2bed6c65e2ad12ce7649fff8e5ed2a585dd8", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "a8b10d4bd33127d7bbe6dd8fbf3b2bed6c65e2ad12ce7649fff8e5ed2a585dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b10d4bd33127d7bbe6dd8fbf3b2bed6c65e2ad12ce7649fff8e5ed2a585dd8", kill_on_drop: false }` [INFO] [stdout] a8b10d4bd33127d7bbe6dd8fbf3b2bed6c65e2ad12ce7649fff8e5ed2a585dd8