[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fec7934dcc865d950907bbc7042c67087286be25 [INFO] testing Hither1/bulletproof-cli against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHither1%2Fbulletproof-cli" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 31% (389/1222) Checking out files: 32% (392/1222) Checking out files: 33% (404/1222) Checking out files: 34% (416/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: 43% (528/1222) Checking out files: 44% (538/1222) Checking out files: 44% (542/1222) Checking out files: 45% (550/1222) Checking out files: 45% (557/1222) Checking out files: 46% (563/1222) Checking out files: 46% (565/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% (604/1222) Checking out files: 49% (606/1222) Checking out files: 50% (611/1222) Checking out files: 50% (613/1222) Checking out files: 50% (617/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: 61% (753/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: 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 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] c49494af6d6013e68135804992caa356f4f217c2202b908b3b9cdf0340174a89 [INFO] running `Command { std: "docker" "start" "-a" "c49494af6d6013e68135804992caa356f4f217c2202b908b3b9cdf0340174a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c49494af6d6013e68135804992caa356f4f217c2202b908b3b9cdf0340174a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49494af6d6013e68135804992caa356f4f217c2202b908b3b9cdf0340174a89", kill_on_drop: false }` [INFO] [stdout] c49494af6d6013e68135804992caa356f4f217c2202b908b3b9cdf0340174a89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f85b8f32326cf6b42f52dcb38fe2e3d8ec1cdba00258ece575e1ec74ae3042bf [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" "f85b8f32326cf6b42f52dcb38fe2e3d8ec1cdba00258ece575e1ec74ae3042bf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling merlin v1.3.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling bulletproofs v1.0.4 (/opt/rustwide/workdir) [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 or module `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 or module `Prover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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] | ^^^ [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] | ^^^ [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] running `Command { std: "docker" "inspect" "f85b8f32326cf6b42f52dcb38fe2e3d8ec1cdba00258ece575e1ec74ae3042bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85b8f32326cf6b42f52dcb38fe2e3d8ec1cdba00258ece575e1ec74ae3042bf", kill_on_drop: false }` [INFO] [stdout] f85b8f32326cf6b42f52dcb38fe2e3d8ec1cdba00258ece575e1ec74ae3042bf