[INFO] cloning repository https://github.com/CaoKiet251/Cuproof
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CaoKiet251/Cuproof" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaoKiet251%2FCuproof", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaoKiet251%2FCuproof'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edef3b6b22e0c234fad8fb342639650a133acedd
[INFO] checking CaoKiet251/Cuproof against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaoKiet251%2FCuproof" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  27% (7996/28680)
Updating files:  28% (8031/28680)
Updating files:  29% (8318/28680)
Updating files:  30% (8604/28680)
Updating files:  31% (8891/28680)
Updating files:  32% (9178/28680)
Updating files:  33% (9465/28680)
Updating files:  34% (9752/28680)
Updating files:  35% (10038/28680)
Updating files:  36% (10325/28680)
Updating files:  37% (10612/28680)
Updating files:  38% (10899/28680)
Updating files:  39% (11186/28680)
Updating files:  40% (11472/28680)
Updating files:  41% (11759/28680)
Updating files:  42% (12046/28680)
Updating files:  43% (12333/28680)
Updating files:  44% (12620/28680)
Updating files:  45% (12906/28680)
Updating files:  46% (13193/28680)
Updating files:  47% (13480/28680)
Updating files:  48% (13767/28680)
Updating files:  49% (14054/28680)
Updating files:  50% (14340/28680)
Updating files:  51% (14627/28680)
Updating files:  52% (14914/28680)
Updating files:  53% (15201/28680)
Updating files:  54% (15488/28680)
Updating files:  55% (15774/28680)
Updating files:  56% (16061/28680)
Updating files:  56% (16072/28680)
Updating files:  57% (16348/28680)
Updating files:  58% (16635/28680)
Updating files:  59% (16922/28680)
Updating files:  60% (17208/28680)
Updating files:  61% (17495/28680)
Updating files:  62% (17782/28680)
Updating files:  63% (18069/28680)
Updating files:  64% (18356/28680)
Updating files:  65% (18642/28680)
Updating files:  66% (18929/28680)
Updating files:  67% (19216/28680)
Updating files:  68% (19503/28680)
Updating files:  69% (19790/28680)
Updating files:  70% (20076/28680)
Updating files:  71% (20363/28680)
Updating files:  72% (20650/28680)
Updating files:  73% (20937/28680)
Updating files:  74% (21224/28680)
Updating files:  75% (21510/28680)
Updating files:  76% (21797/28680)
Updating files:  77% (22084/28680)
Updating files:  78% (22371/28680)
Updating files:  79% (22658/28680)
Updating files:  80% (22944/28680)
Updating files:  81% (23231/28680)
Updating files:  82% (23518/28680)
Updating files:  83% (23805/28680)
Updating files:  84% (24092/28680)
Updating files:  85% (24378/28680)
Updating files:  86% (24665/28680)
Updating files:  87% (24952/28680)
Updating files:  88% (25239/28680)
Updating files:  89% (25526/28680)
Updating files:  90% (25812/28680)
Updating files:  91% (26099/28680)
Updating files:  92% (26386/28680)
Updating files:  93% (26673/28680)
Updating files:  93% (26713/28680)
Updating files:  94% (26960/28680)
Updating files:  95% (27246/28680)
Updating files:  96% (27533/28680)
Updating files:  97% (27820/28680)
Updating files:  98% (28107/28680)
Updating files:  99% (28394/28680)
Updating files: 100% (28680/28680)
Updating files: 100% (28680/28680), done.
[INFO] started tweaking git repo https://github.com/CaoKiet251/Cuproof
[INFO] finished tweaking git repo https://github.com/CaoKiet251/Cuproof
[INFO] tweaked toml for git repo https://github.com/CaoKiet251/Cuproof written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CaoKiet251/Cuproof on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CaoKiet251/Cuproof 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 787811d43280ee6c67f60c6b6e8391322f38a637c66d6fc187e4f09ea3594d56
[INFO] running `Command { std: "docker" "start" "-a" "787811d43280ee6c67f60c6b6e8391322f38a637c66d6fc187e4f09ea3594d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "787811d43280ee6c67f60c6b6e8391322f38a637c66d6fc187e4f09ea3594d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "787811d43280ee6c67f60c6b6e8391322f38a637c66d6fc187e4f09ea3594d56", kill_on_drop: false }`
[INFO] [stdout] 787811d43280ee6c67f60c6b6e8391322f38a637c66d6fc187e4f09ea3594d56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c9eb8d72992c38258e9c36479e41ee850b424ea7b9cd8acc2817301a392ecb4
[INFO] running `Command { std: "docker" "start" "-a" "5c9eb8d72992c38258e9c36479e41ee850b424ea7b9cd8acc2817301a392ecb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking clap_builder v4.5.42
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking clap v4.5.42
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking cuproof v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Signed`
[INFO] [stdout]  --> src/setup.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_traits::{Signed, Zero, One};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::Zero`
[INFO] [stdout]  --> src/range_proof.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::Zero;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::*`
[INFO] [stdout]  --> src/verify.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{util::*, fiat_shamir::*, commitment::*};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_zero` found for struct `BigInt` in the current scope
[INFO] [stdout]    --> src/util.rs:174:10
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if A.is_zero() || S.is_zero() || T1.is_zero() || T2.is_zero() { return Err(io::Error::new(io::ErrorKind::InvalidData, "zero scalar in...
[INFO] [stdout]     |          ^^^^^^^ method not found in `BigInt`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:28:8
[INFO] [stdout]     |
[INFO] [stdout]  28 |     fn is_zero(&self) -> bool;
[INFO] [stdout]     |        ------- the method is available for `BigInt` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Zero` which provides `is_zero` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use num_traits::Zero;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_zero` found for struct `BigInt` in the current scope
[INFO] [stdout]    --> src/util.rs:174:25
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if A.is_zero() || S.is_zero() || T1.is_zero() || T2.is_zero() { return Err(io::Error::new(io::ErrorKind::InvalidData, "zero scalar in...
[INFO] [stdout]     |                         ^^^^^^^ method not found in `BigInt`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:28:8
[INFO] [stdout]     |
[INFO] [stdout]  28 |     fn is_zero(&self) -> bool;
[INFO] [stdout]     |        ------- the method is available for `BigInt` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Zero` which provides `is_zero` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use num_traits::Zero;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_zero` found for struct `BigInt` in the current scope
[INFO] [stdout]    --> src/util.rs:174:41
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if A.is_zero() || S.is_zero() || T1.is_zero() || T2.is_zero() { return Err(io::Error::new(io::ErrorKind::InvalidData, "zero scalar in...
[INFO] [stdout]     |                                         ^^^^^^^ method not found in `BigInt`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:28:8
[INFO] [stdout]     |
[INFO] [stdout]  28 |     fn is_zero(&self) -> bool;
[INFO] [stdout]     |        ------- the method is available for `BigInt` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Zero` which provides `is_zero` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use num_traits::Zero;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_zero` found for struct `BigInt` in the current scope
[INFO] [stdout]    --> src/util.rs:174:57
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if A.is_zero() || S.is_zero() || T1.is_zero() || T2.is_zero() { return Err(io::Error::new(io::ErrorKind::InvalidData, "zero scalar in...
[INFO] [stdout]     |                                                         ^^^^^^^ method not found in `BigInt`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:28:8
[INFO] [stdout]     |
[INFO] [stdout]  28 |     fn is_zero(&self) -> bool;
[INFO] [stdout]     |        ------- the method is available for `BigInt` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Zero` which provides `is_zero` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use num_traits::Zero;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits`
[INFO] [stdout]   --> src/setup.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn trusted_setup(bits: usize) -> (BigInt, BigInt, BigInt) {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_bits`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `C`
[INFO] [stdout]    --> src/range_proof.rs:154:7
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let (C, _r_v) = commit_value(g, h, v, n);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_C`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `C_v1`
[INFO] [stdout]    --> src/range_proof.rs:155:7
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let (C_v1, _r_v1) = commit_value(g, h, &v1, n);
[INFO] [stdout]     |          ^^^^ help: if this is intentional, prefix it with an underscore: `_C_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `C_v2`
[INFO] [stdout]    --> src/range_proof.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let (C_v2, _r_v2) = commit_value(g, h, &v2, n);
[INFO] [stdout]     |          ^^^^ help: if this is intentional, prefix it with an underscore: `_C_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l0`
[INFO] [stdout]    --> src/range_proof.rs:181:6
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let l0 = prover_state.l0.iter().map(|di| z * di + y).collect::<Vec<_>>();
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_l0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r0`
[INFO] [stdout]    --> src/range_proof.rs:182:6
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let r0 = prover_state.r0.iter().map(|di| z * di + y).collect::<Vec<_>>();
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_proof`
[INFO] [stdout]    --> src/range_proof.rs:217:6
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let final_proof = Cuproof {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_proof`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]    --> src/range_proof.rs:276:146
[INFO] [stdout]     |
[INFO] [stdout] 276 | ...final: &BigInt, b_final: &BigInt, g: &BigInt, h: &BigInt, n: &BigInt) -> bool {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/range_proof.rs:276:158
[INFO] [stdout]     |
[INFO] [stdout] 276 | ...nt, b_final: &BigInt, g: &BigInt, h: &BigInt, n: &BigInt) -> bool {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/range_proof.rs:276:170
[INFO] [stdout]     |
[INFO] [stdout] 276 | ... &BigInt, g: &BigInt, h: &BigInt, n: &BigInt) -> bool {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/range_proof.rs:314:49
[INFO] [stdout]     |
[INFO] [stdout] 314 | pub fn cuproof_prove_with_dimension(v: &BigInt, r: &BigInt, a: &BigInt, b: &BigInt, g: &BigInt, h: &BigInt, n: &BigInt, dimension: usize)...
[INFO] [stdout]     |                                                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cuproof` (lib) due to 4 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5c9eb8d72992c38258e9c36479e41ee850b424ea7b9cd8acc2817301a392ecb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c9eb8d72992c38258e9c36479e41ee850b424ea7b9cd8acc2817301a392ecb4", kill_on_drop: false }`
[INFO] [stdout] 5c9eb8d72992c38258e9c36479e41ee850b424ea7b9cd8acc2817301a392ecb4
