[INFO] cloning repository https://github.com/jkciw/zkpchallenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkciw/zkpchallenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkciw%2Fzkpchallenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkciw%2Fzkpchallenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e499fe67ada0c41499cc7f0639a460ce9a42709a [INFO] building jkciw/zkpchallenge against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkciw%2Fzkpchallenge" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jkciw/zkpchallenge [INFO] finished tweaking git repo https://github.com/jkciw/zkpchallenge [INFO] tweaked toml for git repo https://github.com/jkciw/zkpchallenge written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jkciw/zkpchallenge on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jkciw/zkpchallenge 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded use v0.0.1-pre.0 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Downloaded bitcoincore-rpc v0.19.0 [INFO] [stderr] Downloaded jsonrpc v0.18.0 [INFO] [stderr] Downloaded traitobject v0.0.1 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded minreq v2.13.3 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded cookie v0.2.5 [INFO] [stderr] Downloaded serde v0.6.15 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded jsonrpc v0.9.1 [INFO] [stderr] Downloaded bitcoin-rpc v0.2.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded bitcoin-rpc-json v0.2.0 [INFO] [stderr] Downloaded hpack v0.2.0 [INFO] [stderr] Downloaded solicit v0.4.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded hyper v0.9.18 [INFO] [stderr] Downloaded bitcoin v0.32.5 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded strason v0.4.0 [INFO] [stderr] Downloaded bitcoin-bech32 v0.5.1 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded strason v0.3.4 [INFO] [stderr] Downloaded bech32 v0.3.2 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded bitcoin v0.13.2 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] [stderr] Downloaded secp256k1 v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41ec041f856af4e54061162bbf488a91387ff9e59970e4c3aefc7e8c305383fd [INFO] running `Command { std: "docker" "start" "-a" "41ec041f856af4e54061162bbf488a91387ff9e59970e4c3aefc7e8c305383fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41ec041f856af4e54061162bbf488a91387ff9e59970e4c3aefc7e8c305383fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41ec041f856af4e54061162bbf488a91387ff9e59970e4c3aefc7e8c305383fd", kill_on_drop: false }` [INFO] [stdout] 41ec041f856af4e54061162bbf488a91387ff9e59970e4c3aefc7e8c305383fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a811d5e9406fed5460fd18365e49f82f60838a6ea0a652d953f02773f7460900 [INFO] running `Command { std: "docker" "start" "-a" "a811d5e9406fed5460fd18365e49f82f60838a6ea0a652d953f02773f7460900", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling minreq v2.13.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling secp256k1 v0.9.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling bech32 v0.3.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitcoin-bech32 v0.5.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling use v0.0.1-pre.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling strason v0.3.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling bitcoin v0.13.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling strason v0.4.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bitcoin-rpc-json v0.2.0 [INFO] [stderr] Compiling jsonrpc v0.9.1 [INFO] [stderr] Compiling bitcoin-rpc v0.2.0 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling bulletproof v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schnorr::Signature` [INFO] [stdout] --> src/prover.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use secp256k1::{Secp256k1, SecretKey, PublicKey, schnorr::Signature, Message, Keypair, All}; [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 imports: `Digest` and `Sha256` [INFO] [stdout] --> src/challenge.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_g` [INFO] [stdout] --> src/commitment.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let a_g = generator_g.mul_tweak(secp, &value_scalar)?; //THIS IS: aG [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_h` [INFO] [stdout] --> src/commitment.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let r_h = generator_h.mul_tweak(secp, &blinding_scalar)?; //THIS IS: rH [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_r_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/prover.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `challenge` [INFO] [stdout] --> src/prover.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | challenge: &BulletproofChallenge, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_challenge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transcript` [INFO] [stdout] --> src/challenge.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn generate_challenge(transcript: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transcript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/confidential_tx.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commitment` [INFO] [stdout] --> src/inner_product.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for commitment in bit_commitments.iter().skip(1) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commitment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response_challenge` is never read [INFO] [stdout] --> src/prover.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BulletproofResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 12 | pub response_commitment: PublicKey, [INFO] [stdout] 13 | pub response_challenge: SecretKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `challenge` is never read [INFO] [stdout] --> src/challenge.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BulletproofChallenge { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 7 | pub challenge: SecretKey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulletproofChallenge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "a811d5e9406fed5460fd18365e49f82f60838a6ea0a652d953f02773f7460900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a811d5e9406fed5460fd18365e49f82f60838a6ea0a652d953f02773f7460900", kill_on_drop: false }` [INFO] [stdout] a811d5e9406fed5460fd18365e49f82f60838a6ea0a652d953f02773f7460900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 111cc44463713e7f6abbf79d5f607483695203390b3440aa59650f5854e76797 [INFO] running `Command { std: "docker" "start" "-a" "111cc44463713e7f6abbf79d5f607483695203390b3440aa59650f5854e76797", kill_on_drop: false }` [INFO] [stderr] Compiling bulletproof v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schnorr::Signature` [INFO] [stdout] --> src/prover.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use secp256k1::{Secp256k1, SecretKey, PublicKey, schnorr::Signature, Message, Keypair, All}; [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 imports: `Digest` and `Sha256` [INFO] [stdout] --> src/challenge.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_g` [INFO] [stdout] --> src/commitment.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let a_g = generator_g.mul_tweak(secp, &value_scalar)?; //THIS IS: aG [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_h` [INFO] [stdout] --> src/commitment.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let r_h = generator_h.mul_tweak(secp, &blinding_scalar)?; //THIS IS: rH [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_r_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/prover.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `challenge` [INFO] [stdout] --> src/prover.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | challenge: &BulletproofChallenge, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_challenge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transcript` [INFO] [stdout] --> src/challenge.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn generate_challenge(transcript: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transcript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/confidential_tx.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commitment` [INFO] [stdout] --> src/inner_product.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for commitment in bit_commitments.iter().skip(1) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commitment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response_challenge` is never read [INFO] [stdout] --> src/prover.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BulletproofResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 12 | pub response_commitment: PublicKey, [INFO] [stdout] 13 | pub response_challenge: SecretKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `challenge` is never read [INFO] [stdout] --> src/challenge.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BulletproofChallenge { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 7 | pub challenge: SecretKey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulletproofChallenge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "111cc44463713e7f6abbf79d5f607483695203390b3440aa59650f5854e76797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111cc44463713e7f6abbf79d5f607483695203390b3440aa59650f5854e76797", kill_on_drop: false }` [INFO] [stdout] 111cc44463713e7f6abbf79d5f607483695203390b3440aa59650f5854e76797