[INFO] updating cached repository https://github.com/Hither1/bulletproof-cli [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fec7934dcc865d950907bbc7042c67087286be25 [INFO] checking Hither1/bulletproof-cli against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHither1%2Fbulletproof-cli" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 34% (419/1222) Checking out files: 35% (428/1222) Checking out files: 36% (440/1222) Checking out files: 37% (453/1222) Checking out files: 38% (465/1222) Checking out files: 39% (477/1222) Checking out files: 40% (489/1222) Checking out files: 41% (502/1222) Checking out files: 41% (513/1222) Checking out files: 42% (514/1222) Checking out files: 43% (526/1222) Checking out files: 44% (538/1222) Checking out files: 44% (540/1222) Checking out files: 44% (549/1222) Checking out files: 45% (550/1222) Checking out files: 45% (553/1222) Checking out files: 46% (563/1222) Checking out files: 47% (575/1222) Checking out files: 48% (587/1222) Checking out files: 49% (599/1222) Checking out files: 49% (600/1222) Checking out files: 49% (606/1222) Checking out files: 49% (607/1222) Checking out files: 50% (611/1222) Checking out files: 51% (624/1222) Checking out files: 52% (636/1222) Checking out files: 53% (648/1222) Checking out files: 54% (660/1222) Checking out files: 54% (663/1222) Checking out files: 55% (673/1222) Checking out files: 56% (685/1222) Checking out files: 57% (697/1222) Checking out files: 58% (709/1222) Checking out files: 59% (721/1222) Checking out files: 60% (734/1222) Checking out files: 61% (746/1222) Checking out files: 62% (758/1222) Checking out files: 63% (770/1222) Checking out files: 64% (783/1222) Checking out files: 65% (795/1222) Checking out files: 66% (807/1222) Checking out files: 67% (819/1222) Checking out files: 68% (831/1222) Checking out files: 68% (832/1222) Checking out files: 69% (844/1222) Checking out files: 69% (852/1222) Checking out files: 70% (856/1222) Checking out files: 71% (868/1222) Checking out files: 72% (880/1222) Checking out files: 73% (893/1222) Checking out files: 74% (905/1222) Checking out files: 75% (917/1222) Checking out files: 76% (929/1222) Checking out files: 77% (941/1222) Checking out files: 78% (954/1222) Checking out files: 79% (966/1222) Checking out files: 80% (978/1222) Checking out files: 81% (990/1222) Checking out files: 81% (998/1222) Checking out files: 82% (1003/1222) Checking out files: 83% (1015/1222) Checking out files: 84% (1027/1222) Checking out files: 85% (1039/1222) Checking out files: 86% (1051/1222) Checking out files: 87% (1064/1222) Checking out files: 88% (1076/1222) Checking out files: 89% (1088/1222) Checking out files: 90% (1100/1222) Checking out files: 91% (1113/1222) Checking out files: 92% (1125/1222) Checking out files: 93% (1137/1222) Checking out files: 94% (1149/1222) Checking out files: 95% (1161/1222) Checking out files: 96% (1174/1222) Checking out files: 97% (1186/1222) Checking out files: 98% (1198/1222) Checking out files: 99% (1210/1222) Checking out files: 99% (1221/1222) Checking out files: 100% (1222/1222) Checking out files: 100% (1222/1222), done. [INFO] validating manifest of git repo https://github.com/Hither1/bulletproof-cli on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Hither1/bulletproof-cli [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Hither1/bulletproof-cli [INFO] tweaked toml for git repo https://github.com/Hither1/bulletproof-cli written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Hither1/bulletproof-cli already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ecadea4ebe794acb80cb5ba658c99fe03d1627f2e24b043468396d05e483f997 [INFO] running `"docker" "start" "-a" "ecadea4ebe794acb80cb5ba658c99fe03d1627f2e24b043468396d05e483f997"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking merlin v1.3.0 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking bulletproofs v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: the item `bincode` is imported redundantly [INFO] [stderr] --> src/range_proof/mod.rs:531:13 [INFO] [stderr] | [INFO] [stderr] 531 | use bincode; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | extern crate bincode; [INFO] [stderr] | --------------------- the item `bincode` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bulletproofs::r1cs` [INFO] [stderr] --> src/bin/generate_proof.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use bulletproofs::r1cs::*; [INFO] [stderr] | ^^^^ could not find `r1cs` in `bulletproofs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Prover` [INFO] [stderr] --> src/bin/generate_proof.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | let mut prover = Prover::new(&pc_gens, transcript); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Prover` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Verifier` [INFO] [stderr] --> src/bin/generate_proof.rs:121:28 [INFO] [stderr] | [INFO] [stderr] 121 | let mut verifier = Verifier::new(transcript); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Verifier` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSProof` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | struct ShuffleProof(R1CSProof); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RandomizableConstraintSystem` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Variable` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:69 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Variable` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:87 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:111 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:74:85 [INFO] [stderr] | [INFO] [stderr] 64 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 74 | ) -> Result<(ShuffleProof, Vec, Vec), R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 106 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 115 | ) -> Result<(), R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `matche` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:161:28 [INFO] [stderr] | [INFO] [stderr] 161 | if let Some(genPath) = matche.values_of("iArg"){ [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `matches` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `vec` [INFO] [stderr] --> src/bin/generate_proof.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let pri_key: u64 = vec[0].parse().unwrap(); [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `vec!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `vec` [INFO] [stderr] --> src/bin/generate_proof.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | let asset_token: u64 = vec[1].parse().unwrap(); [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `vec!` [INFO] [stderr] [INFO] [stderr] warning: unused import: `SubCommand` [INFO] [stderr] --> src/bin/generate_proof.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use clap::{Arg,App,SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::thread_rng` [INFO] [stderr] --> src/bin/generate_proof.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use rand::thread_rng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `bulletproofs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `bulletproofs::r1cs` [INFO] [stderr] --> src/bin/generate_proof.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use bulletproofs::r1cs::*; [INFO] [stderr] | ^^^^ could not find `r1cs` in `bulletproofs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Prover` [INFO] [stderr] --> src/bin/generate_proof.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | let mut prover = Prover::new(&pc_gens, transcript); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Prover` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Verifier` [INFO] [stderr] --> src/bin/generate_proof.rs:121:28 [INFO] [stderr] | [INFO] [stderr] 121 | let mut verifier = Verifier::new(transcript); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Verifier` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSProof` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | struct ShuffleProof(R1CSProof); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RandomizableConstraintSystem` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Variable` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:69 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Variable` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:87 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:25:111 [INFO] [stderr] | [INFO] [stderr] 24 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:74:85 [INFO] [stderr] | [INFO] [stderr] 64 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 74 | ) -> Result<(ShuffleProof, Vec, Vec), R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 106 | impl ShuffleProof { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 115 | ) -> Result<(), R1CSError> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `matche` in this scope [INFO] [stderr] --> src/bin/generate_proof.rs:161:28 [INFO] [stderr] | [INFO] [stderr] 161 | if let Some(genPath) = matche.values_of("iArg"){ [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `matches` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `vec` [INFO] [stderr] --> src/bin/generate_proof.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let pri_key: u64 = vec[0].parse().unwrap(); [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `vec!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `vec` [INFO] [stderr] --> src/bin/generate_proof.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | let asset_token: u64 = vec[1].parse().unwrap(); [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `vec!` [INFO] [stderr] [INFO] [stderr] warning: unused import: `SubCommand` [INFO] [stderr] --> src/bin/generate_proof.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use clap::{Arg,App,SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::thread_rng` [INFO] [stderr] --> src/bin/generate_proof.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use rand::thread_rng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `bulletproofs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ecadea4ebe794acb80cb5ba658c99fe03d1627f2e24b043468396d05e483f997"` [INFO] running `"docker" "rm" "-f" "ecadea4ebe794acb80cb5ba658c99fe03d1627f2e24b043468396d05e483f997"` [INFO] [stdout] ecadea4ebe794acb80cb5ba658c99fe03d1627f2e24b043468396d05e483f997