[INFO] cloning repository https://github.com/Strange21/zkp_with_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Strange21/zkp_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2Fzkp_with_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2Fzkp_with_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6f1cae50b51c62b6b6b9c32255c286c716fab9b [INFO] building Strange21/zkp_with_rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2Fzkp_with_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Strange21/zkp_with_rust [INFO] finished tweaking git repo https://github.com/Strange21/zkp_with_rust [INFO] tweaked toml for git repo https://github.com/Strange21/zkp_with_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Strange21/zkp_with_rust 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/Strange21/zkp_with_rust 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] Downloading crates ... [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded tonic-build v0.9.2 [INFO] [stderr] Downloaded prost-derive v0.11.9 [INFO] [stderr] Downloaded prost v0.11.9 [INFO] [stderr] Downloaded multimap v0.8.3 [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded prettyplease v0.1.25 [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded tonic v0.9.2 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded prost-build v0.11.9 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e37ce34c8093a2f98b657112dfb2bd059aec83c6ffa3cbd1f00747daf0fb2a40 [INFO] running `Command { std: "docker" "start" "-a" "e37ce34c8093a2f98b657112dfb2bd059aec83c6ffa3cbd1f00747daf0fb2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e37ce34c8093a2f98b657112dfb2bd059aec83c6ffa3cbd1f00747daf0fb2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37ce34c8093a2f98b657112dfb2bd059aec83c6ffa3cbd1f00747daf0fb2a40", kill_on_drop: false }` [INFO] [stdout] e37ce34c8093a2f98b657112dfb2bd059aec83c6ffa3cbd1f00747daf0fb2a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 49ef8c67679f7a0c437b04ab3233d693ef39cd290aeb964c221f1cfdd71c7838 [INFO] running `Command { std: "docker" "start" "-a" "49ef8c67679f7a0c437b04ab3233d693ef39cd290aeb964c221f1cfdd71c7838", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling zkp_chum_pederson v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stdout] warning: unused import: `hex::decode` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex::decode; [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 import: `rngs` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rngs, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [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 `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server` [INFO] [stdout] --> src/server.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use tonic::{async_trait, server, transport::{Server}, Code, Request, Response, Status}; [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 variable: `a` [INFO] [stdout] --> src/client.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let a = client.register(register_request).await.expect("error while registerring the client"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.61s [INFO] running `Command { std: "docker" "inspect" "49ef8c67679f7a0c437b04ab3233d693ef39cd290aeb964c221f1cfdd71c7838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ef8c67679f7a0c437b04ab3233d693ef39cd290aeb964c221f1cfdd71c7838", kill_on_drop: false }` [INFO] [stdout] 49ef8c67679f7a0c437b04ab3233d693ef39cd290aeb964c221f1cfdd71c7838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5b4aab0c4cc767421aec051ed006d1e1704e18e3091c6e2871cd0ac2c3c21520 [INFO] running `Command { std: "docker" "start" "-a" "5b4aab0c4cc767421aec051ed006d1e1704e18e3091c6e2871cd0ac2c3c21520", kill_on_drop: false }` [INFO] [stderr] Compiling zkp_chum_pederson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hex::decode` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex::decode; [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 import: `rngs` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rngs, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [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 `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server` [INFO] [stdout] --> src/server.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use tonic::{async_trait, server, transport::{Server}, Code, Request, Response, Status}; [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 import: `hex::decode` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex::decode; [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 import: `rngs` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rngs, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [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 `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve(&self, K: &BigUint, C: &BigUint, X: &BigUint) -> BigUint { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/client.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let a = client.register(register_request).await.expect("error while registerring the client"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "5b4aab0c4cc767421aec051ed006d1e1704e18e3091c6e2871cd0ac2c3c21520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4aab0c4cc767421aec051ed006d1e1704e18e3091c6e2871cd0ac2c3c21520", kill_on_drop: false }` [INFO] [stdout] 5b4aab0c4cc767421aec051ed006d1e1704e18e3091c6e2871cd0ac2c3c21520