[INFO] cloning repository https://github.com/imelon2/arkworks-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imelon2/arkworks-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimelon2%2Farkworks-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimelon2%2Farkworks-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d9dd530cc2c8d622ac1fad992f9f713bf35e66c [INFO] checking imelon2/arkworks-examples against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimelon2%2Farkworks-examples" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imelon2/arkworks-examples [INFO] finished tweaking git repo https://github.com/imelon2/arkworks-examples [INFO] tweaked toml for git repo https://github.com/imelon2/arkworks-examples written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imelon2/arkworks-examples on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imelon2/arkworks-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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4c729616195b1cbbbe35e171deb79e28a69080530baa4138b4e9ff74807221 [INFO] running `Command { std: "docker" "start" "-a" "ca4c729616195b1cbbbe35e171deb79e28a69080530baa4138b4e9ff74807221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4c729616195b1cbbbe35e171deb79e28a69080530baa4138b4e9ff74807221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4c729616195b1cbbbe35e171deb79e28a69080530baa4138b4e9ff74807221", kill_on_drop: false }` [INFO] [stdout] ca4c729616195b1cbbbe35e171deb79e28a69080530baa4138b4e9ff74807221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e277c1db4f2d33a6a3b5cda762dfd1b9cb1d4864baf00cc97dc7e7f705e028 [INFO] running `Command { std: "docker" "start" "-a" "77e277c1db4f2d33a6a3b5cda762dfd1b9cb1d4864baf00cc97dc7e7f705e028", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ark-std v0.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling ark-serialize-derive v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling ark-ff-asm v0.5.0 [INFO] [stderr] Compiling ark-ff-macros v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking ark-serialize v0.5.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Checking ark-ff v0.5.0 [INFO] [stderr] Checking ark-poly v0.5.0 [INFO] [stderr] Checking ark-relations v0.5.1 [INFO] [stderr] Checking ark-ec v0.5.0 [INFO] [stderr] Checking ark-bls12-381 v0.5.0 [INFO] [stderr] Checking ark-r1cs-std v0.5.0 [INFO] [stderr] Checking ark-bn254 v0.5.0 [INFO] [stderr] Checking arkworks-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `alloc::AllocVar`, `eq::EqGadget`, and `fields::fp::FpVar` [INFO] [stdout] --> src/vitalik_qap.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_r1cs_std::{alloc::AllocVar, eq::EqGadget, fields::fp::FpVar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/r1cs/constraint_system.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r1cs::linear_combination::Variable` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::r1cs::linear_combination::Variable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/r1cs/linear_combination.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let a: LinearCombination = lc!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `F` is never used [INFO] [stdout] --> src/main.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type F = ark_bn254::Fr; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubicCircuit` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CubicCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circuit` is never constructed [INFO] [stdout] --> src/main.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct Circuit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `F` is never used [INFO] [stdout] --> src/vitalik_qap.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type F = ark_bn254::Fr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubicCircuit` is never constructed [INFO] [stdout] --> src/vitalik_qap.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CubicCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `F` is never used [INFO] [stdout] --> src/vitalik_qap_arkwork.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type F = ark_bn254::Fr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubicCircuit` is never constructed [INFO] [stdout] --> src/vitalik_qap_arkwork.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct CubicCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_r1cs` is never used [INFO] [stdout] --> src/r1cs/linear_combination.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn test_r1cs() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc::AllocVar`, `eq::EqGadget`, and `fields::fp::FpVar` [INFO] [stdout] --> src/vitalik_qap.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_r1cs_std::{alloc::AllocVar, eq::EqGadget, fields::fp::FpVar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/r1cs/constraint_system.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/r1cs/linear_combination.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let a: LinearCombination = lc!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let circuit = Circuit { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circuit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let cs = r1cs::constraint_system::ConstraintSystem::::new_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | struct Circuit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 109 | // witness (비공개) [INFO] [stdout] 110 | pub d: Option, [INFO] [stdout] | ^ [INFO] [stdout] 111 | [INFO] [stdout] 112 | pub d0: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 113 | pub d1: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 114 | pub d2: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | pub d3: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 116 | [INFO] [stdout] 117 | pub in_: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | pub in0: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | pub in1: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | pub in2: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | pub in3: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circuit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_r1cs` is never used [INFO] [stdout] --> src/r1cs/linear_combination.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn test_r1cs() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.70s [INFO] running `Command { std: "docker" "inspect" "77e277c1db4f2d33a6a3b5cda762dfd1b9cb1d4864baf00cc97dc7e7f705e028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e277c1db4f2d33a6a3b5cda762dfd1b9cb1d4864baf00cc97dc7e7f705e028", kill_on_drop: false }` [INFO] [stdout] 77e277c1db4f2d33a6a3b5cda762dfd1b9cb1d4864baf00cc97dc7e7f705e028