[INFO] cloning repository https://github.com/blueokanna/Project-3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blueokanna/Project-3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblueokanna%2FProject-3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblueokanna%2FProject-3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 482f77c925b0a8e674a116fef8a17f0e60b86b58 [INFO] building blueokanna/Project-3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblueokanna%2FProject-3" "/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/blueokanna/Project-3 [INFO] finished tweaking git repo https://github.com/blueokanna/Project-3 [INFO] tweaked toml for git repo https://github.com/blueokanna/Project-3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blueokanna/Project-3 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/blueokanna/Project-3 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 wyz v0.5.1 [INFO] [stderr] Downloaded rsntp v4.0.0 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded radium v0.7.0 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded clap_lex v0.7.4 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded clap v4.5.34 [INFO] [stderr] Downloaded half v2.5.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.7 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded funty v2.0.0 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded clap_builder v4.5.34 [INFO] [stderr] Downloaded portable-atomic v1.11.0 [INFO] [stderr] Downloaded blake3 v1.7.0 [INFO] [stderr] Downloaded bitvec v1.0.1 [INFO] [stderr] Downloaded chrono v0.4.40 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded iana-time-zone v0.1.62 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded tap v1.0.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded bulletproofs v5.0.0 [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] c8b4694d792fd2c31179469767f348e754b1f6e8dd4e0b2b7d2c139d0e1c4d6c [INFO] running `Command { std: "docker" "start" "-a" "c8b4694d792fd2c31179469767f348e754b1f6e8dd4e0b2b7d2c139d0e1c4d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8b4694d792fd2c31179469767f348e754b1f6e8dd4e0b2b7d2c139d0e1c4d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b4694d792fd2c31179469767f348e754b1f6e8dd4e0b2b7d2c139d0e1c4d6c", kill_on_drop: false }` [INFO] [stdout] c8b4694d792fd2c31179469767f348e754b1f6e8dd4e0b2b7d2c139d0e1c4d6c [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] f9eab60c38bc1b4de2535b1b647facaf10336386310127678e37cafcafdf486c [INFO] running `Command { std: "docker" "start" "-a" "f9eab60c38bc1b4de2535b1b647facaf10336386310127678e37cafcafdf486c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling blake3 v1.7.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling rsntp v4.0.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bulletproofs v5.0.0 [INFO] [stderr] Compiling LiuProject1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `curve25519_dalek::traits::Identity` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::Identity; [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: `FixedOutputReset`, `HashMarker`, `OutputSizeUser`, `Reset`, and `Update` [INFO] [stdout] --> src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_set` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pk_set: &[PublicKey], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `LiuProject1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `liu_project1` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | R: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | I: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | _Y: &PublicKey, // 保留参数兼容适配器部分 [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let I = params.h * sk; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let R = params.h * r; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_prime` should have a snake case name [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let R_prime = params.h * (*z_hat) - I * c; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `r_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let J = params.h * y; [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let (z, c_vec, I, _j) = sigma; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_double` should have a snake case name [INFO] [stdout] --> src/lib.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let R_double = params.h * z_hat - I * c; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_J` should have a snake case name [INFO] [stdout] --> src/lib.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | let (z, _, _, _J) = sigma; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let C = params.pedersen_gens.commit(sig.0, r); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let R = blinding_base * k; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | C: &Commitment, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 325 | let (R, s) = proof; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let G = params.pedersen_gens.B; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/lib.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | T: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Y: &PublicKey, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/main.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let f_open_func = |params: &SystemParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | msg: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/main.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | pk: &PublicKey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_sig` [INFO] [stdout] --> src/main.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pre_sig: &Signature, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | Y: &PublicKey, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_locked_commitment` [INFO] [stdout] --> src/main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | time_locked_commitment: &TimeLockedCommitment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_locked_commitment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay_seconds` [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | delay_seconds: u64| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delay_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let Y = pk; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let R = RistrettoPoint::random(&mut rng); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | Y: &PublicKey, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.22s [INFO] running `Command { std: "docker" "inspect" "f9eab60c38bc1b4de2535b1b647facaf10336386310127678e37cafcafdf486c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9eab60c38bc1b4de2535b1b647facaf10336386310127678e37cafcafdf486c", kill_on_drop: false }` [INFO] [stdout] f9eab60c38bc1b4de2535b1b647facaf10336386310127678e37cafcafdf486c [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] 3d301da6d69456b140db8856fe84e7edb0cf2653953122984a8348f7ff79243f [INFO] running `Command { std: "docker" "start" "-a" "3d301da6d69456b140db8856fe84e7edb0cf2653953122984a8348f7ff79243f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `curve25519_dalek::traits::Identity` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::Identity; [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: `FixedOutputReset`, `HashMarker`, `OutputSizeUser`, `Reset`, and `Update` [INFO] [stdout] --> src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_set` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pk_set: &[PublicKey], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `LiuProject1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `liu_project1` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | R: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | I: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | _Y: &PublicKey, // 保留参数兼容适配器部分 [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let I = params.h * sk; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let R = params.h * r; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_prime` should have a snake case name [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let R_prime = params.h * (*z_hat) - I * c; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `r_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let J = params.h * y; [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let (z, c_vec, I, _j) = sigma; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_double` should have a snake case name [INFO] [stdout] --> src/lib.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let R_double = params.h * z_hat - I * c; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_J` should have a snake case name [INFO] [stdout] --> src/lib.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | let (z, _, _, _J) = sigma; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let C = params.pedersen_gens.commit(sig.0, r); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let R = blinding_base * k; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | C: &Commitment, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 325 | let (R, s) = proof; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let G = params.pedersen_gens.B; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/lib.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | T: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Y: &PublicKey, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling LiuProject1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `curve25519_dalek::traits::Identity` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::Identity; [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: `FixedOutputReset`, `HashMarker`, `OutputSizeUser`, `Reset`, and `Update` [INFO] [stdout] --> src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/main.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let f_open_func = |params: &SystemParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | msg: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/main.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | pk: &PublicKey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_sig` [INFO] [stdout] --> src/main.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pre_sig: &Signature, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | Y: &PublicKey, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_locked_commitment` [INFO] [stdout] --> src/main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | time_locked_commitment: &TimeLockedCommitment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_locked_commitment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay_seconds` [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | delay_seconds: u64| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delay_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let Y = pk; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let R = RistrettoPoint::random(&mut rng); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | Y: &PublicKey, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use digest::{Digest, FixedOutput, FixedOutputReset, HashMarker, OutputSizeUser, Reset, Update}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_set` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pk_set: &[PublicKey], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | R: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | I: &RistrettoPoint, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | _Y: &PublicKey, // 保留参数兼容适配器部分 [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let I = params.h * sk; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let R = params.h * r; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_prime` should have a snake case name [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let R_prime = params.h * (*z_hat) - I * c; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `r_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let (z_hat, c_vec, I) = pre_sig; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let J = params.h * y; [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let (z, c_vec, I, _j) = sigma; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R_double` should have a snake case name [INFO] [stdout] --> src/lib.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let R_double = params.h * z_hat - I * c; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_J` should have a snake case name [INFO] [stdout] --> src/lib.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | let (z, _, _, _J) = sigma; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let C = params.pedersen_gens.commit(sig.0, r); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let R = blinding_base * k; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | C: &Commitment, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 325 | let (R, s) = proof; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let G = params.pedersen_gens.B; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_T` should have a snake case name [INFO] [stdout] --> src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | _T: u64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | _Y: &PublicKey, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/lib.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | T: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Y: &PublicKey, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "3d301da6d69456b140db8856fe84e7edb0cf2653953122984a8348f7ff79243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d301da6d69456b140db8856fe84e7edb0cf2653953122984a8348f7ff79243f", kill_on_drop: false }` [INFO] [stdout] 3d301da6d69456b140db8856fe84e7edb0cf2653953122984a8348f7ff79243f