[INFO] cloning repository https://github.com/Hither1/bulletproof-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hither1/bulletproof-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHither1%2Fbulletproof-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHither1%2Fbulletproof-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fec7934dcc865d950907bbc7042c67087286be25 [INFO] checking Hither1/bulletproof-cli against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHither1%2Fbulletproof-cli" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 44% (543/1222) Checking out files: 45% (550/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% (604/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: 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: 69% (844/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: 80% (979/1222) Checking out files: 81% (990/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: 100% (1222/1222) Checking out files: 100% (1222/1222), done. [INFO] validating manifest of git repo https://github.com/Hither1/bulletproof-cli on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/Hither1/bulletproof-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b96297d7c7ef95b0fa08e5803809d8ee5ee6def2a719a19f2a37a2b406ecf52c [INFO] running `Command { std: "docker" "start" "-a" "b96297d7c7ef95b0fa08e5803809d8ee5ee6def2a719a19f2a37a2b406ecf52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b96297d7c7ef95b0fa08e5803809d8ee5ee6def2a719a19f2a37a2b406ecf52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96297d7c7ef95b0fa08e5803809d8ee5ee6def2a719a19f2a37a2b406ecf52c", kill_on_drop: false }` [INFO] [stdout] b96297d7c7ef95b0fa08e5803809d8ee5ee6def2a719a19f2a37a2b406ecf52c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8385d7c76dd62e7a59cf462ed82349a159d3e1ab81a3fb22d12a545135b6f1fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8385d7c76dd62e7a59cf462ed82349a159d3e1ab81a3fb22d12a545135b6f1fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking merlin v1.3.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking bulletproofs v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] error[E0432]: unresolved import `bulletproofs::r1cs` [INFO] [stdout] --> src/bin/generate_proof.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use bulletproofs::r1cs::*; [INFO] [stdout] | ^^^^ could not find `r1cs` in `bulletproofs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Prover` [INFO] [stdout] --> src/bin/generate_proof.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let mut prover = Prover::new(&pc_gens, transcript); [INFO] [stdout] | ^^^^^^ use of undeclared type `Prover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Verifier` [INFO] [stdout] --> src/bin/generate_proof.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | let mut verifier = Verifier::new(transcript); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R1CSProof` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | struct ShuffleProof(R1CSProof); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RandomizableConstraintSystem` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variable` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:25:69 [INFO] [stdout] | [INFO] [stdout] 24 | impl ShuffleProof { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variable` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:25:87 [INFO] [stdout] | [INFO] [stdout] 24 | impl ShuffleProof { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:25:111 [INFO] [stdout] | [INFO] [stdout] 24 | impl ShuffleProof { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 25 | fn gadget(cs: &mut CS, x: Vec, y: Vec) -> Result<(),R1CSError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:74:85 [INFO] [stdout] | [INFO] [stdout] 64 | impl ShuffleProof { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 74 | ) -> Result<(ShuffleProof, Vec, Vec), R1CSError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R1CSError` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 106 | impl ShuffleProof { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | ) -> Result<(), R1CSError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `matche` in this scope [INFO] [stdout] --> src/bin/generate_proof.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(genPath) = matche.values_of("iArg"){ [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/bin/generate_proof.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let pri_key: u64 = vec[0].parse().unwrap(); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 162 | let pri_key: u64 = vec![0].parse().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/bin/generate_proof.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let asset_token: u64 = vec[1].parse().unwrap(); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 163 | let asset_token: u64 = vec![1].parse().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/bin/generate_proof.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use clap::{Arg,App,SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/bin/generate_proof.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bulletproofs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8385d7c76dd62e7a59cf462ed82349a159d3e1ab81a3fb22d12a545135b6f1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8385d7c76dd62e7a59cf462ed82349a159d3e1ab81a3fb22d12a545135b6f1fd", kill_on_drop: false }` [INFO] [stdout] 8385d7c76dd62e7a59cf462ed82349a159d3e1ab81a3fb22d12a545135b6f1fd