[INFO] cloning repository https://github.com/luckychacha/halo2-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luckychacha/halo2-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckychacha%2Fhalo2-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckychacha%2Fhalo2-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54d36ffa48f381e1d2f0d61041eafe0fd31ef8fc [INFO] building luckychacha/halo2-learning against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckychacha%2Fhalo2-learning" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luckychacha/halo2-learning [INFO] finished tweaking git repo https://github.com/luckychacha/halo2-learning [INFO] tweaked toml for git repo https://github.com/luckychacha/halo2-learning written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luckychacha/halo2-learning on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luckychacha/halo2-learning 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-bitmap v0.3.3 [INFO] [stderr] Downloaded pathfinder_simd v0.5.3 [INFO] [stderr] Downloaded const-cstr v0.3.0 [INFO] [stderr] Downloaded yeslogic-fontconfig-sys v3.2.0 [INFO] [stderr] Downloaded freetype v0.7.1 [INFO] [stderr] Downloaded anyhow v1.0.82 [INFO] [stderr] Downloaded derive_builder v0.9.0 [INFO] [stderr] Downloaded derive_builder_core v0.9.0 [INFO] [stderr] Downloaded font-kit v0.11.0 [INFO] [stderr] Downloaded tabbycat v0.1.2 [INFO] [stderr] Downloaded ttf-parser v0.17.1 [INFO] [stderr] Downloaded freetype-sys v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e851a8a34580eb0f1ea80f97b360b1b703f15538f90c56e045a0dcd29b4f747a [INFO] running `Command { std: "docker" "start" "-a" "e851a8a34580eb0f1ea80f97b360b1b703f15538f90c56e045a0dcd29b4f747a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e851a8a34580eb0f1ea80f97b360b1b703f15538f90c56e045a0dcd29b4f747a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e851a8a34580eb0f1ea80f97b360b1b703f15538f90c56e045a0dcd29b4f747a", kill_on_drop: false }` [INFO] [stdout] e851a8a34580eb0f1ea80f97b360b1b703f15538f90c56e045a0dcd29b4f747a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb933a124238dfc4aaa8a48541e0827d845c131a4ad9c1106ec77c634b240b9 [INFO] running `Command { std: "docker" "start" "-a" "9eb933a124238dfc4aaa8a48541e0827d845c131a4ad9c1106ec77c634b240b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pasta_curves v0.5.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling halo2_proofs v0.3.0 (https://github.com/zcash/halo2.git#7df93fd8) [INFO] [stderr] Compiling halo2-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.15s [INFO] running `Command { std: "docker" "inspect" "9eb933a124238dfc4aaa8a48541e0827d845c131a4ad9c1106ec77c634b240b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb933a124238dfc4aaa8a48541e0827d845c131a4ad9c1106ec77c634b240b9", kill_on_drop: false }` [INFO] [stdout] 9eb933a124238dfc4aaa8a48541e0827d845c131a4ad9c1106ec77c634b240b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811dda20d7dc899fb846043d6124b82fea657ca1920f1989a2c91d8af55f6b97 [INFO] running `Command { std: "docker" "start" "-a" "811dda20d7dc899fb846043d6124b82fea657ca1920f1989a2c91d8af55f6b97", kill_on_drop: false }` [INFO] [stderr] Compiling halo2-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `bls` [INFO] [stdout] --> examples/bls.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | // } [INFO] [stdout] | ^ consider adding a `main` function to `examples/bls.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintSystem` [INFO] [stdout] --> examples/simple.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance, Selector}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `halo2-learning` (example "bls") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `prover` [INFO] [stdout] --> examples/fibo_1.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let prover = MockProver::run(k, &circuit, vec![public_inputs.clone()]).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prover` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gate` [INFO] [stdout] --> examples/simple.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let gate = meta.create_gate("mul_gate", |meta| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/simple_chip.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layouter` [INFO] [stdout] --> examples/simple_chip.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | mut layouter: impl halo2_proofs::circuit::Layouter, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layouter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/simple_chip.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let mut public_inputs = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> examples/simple_chip.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct MyCircuit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | a: Value, [INFO] [stdout] | ^ [INFO] [stdout] 15 | b: Value, [INFO] [stdout] | ^ [INFO] [stdout] 16 | c: F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `advice`, `instance`, `s_mul`, `s_add`, and `s_cube` are never read [INFO] [stdout] --> examples/simple_chip.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct CircuitConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | advice: [Column; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | instance: Column, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | s_mul: Selector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | s_add: Selector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | s_cube: Selector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> examples/simple_chip.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct MyChip { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | config: CircuitConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyChip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign` and `expose_out` are never used [INFO] [stdout] --> examples/simple_chip.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl MyChip { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn expose_out( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Number` is never constructed [INFO] [stdout] --> examples/simple_chip.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct Number(AssignedCell); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "811dda20d7dc899fb846043d6124b82fea657ca1920f1989a2c91d8af55f6b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811dda20d7dc899fb846043d6124b82fea657ca1920f1989a2c91d8af55f6b97", kill_on_drop: false }` [INFO] [stdout] 811dda20d7dc899fb846043d6124b82fea657ca1920f1989a2c91d8af55f6b97