[INFO] cloning repository https://github.com/0xWOLAND/sp1-hash2curve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xWOLAND/sp1-hash2curve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fsp1-hash2curve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fsp1-hash2curve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a71b3931f3ea3dc0a71a542db28b797b8ce6a084 [INFO] checking 0xWOLAND/sp1-hash2curve against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fsp1-hash2curve" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xWOLAND/sp1-hash2curve [INFO] finished tweaking git repo https://github.com/0xWOLAND/sp1-hash2curve [INFO] tweaked toml for git repo https://github.com/0xWOLAND/sp1-hash2curve written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xWOLAND/sp1-hash2curve on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xWOLAND/sp1-hash2curve 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99 [INFO] running `Command { std: "docker" "start" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.8 (https://github.com/sp1-patches/RustCrypto-hashes?branch=ratan%2Fpatch-sha2-v0.10.8#1f224388) [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking substrate-bn-succinct v0.6.0 (https://github.com/0xWOLAND/bn?branch=release-v0.7.0#d7cc2205) [INFO] [stderr] Checking sp1-hash2curve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{thread_rng, Rng}; [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: `std::mem::transmute` [INFO] [stdout] --> src/g1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigUint` [INFO] [stdout] --> src/g1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_bigint::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{thread_rng, Rng}; [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: `std::mem::transmute` [INFO] [stdout] --> src/g1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigUint` [INFO] [stdout] --> src/g1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_bigint::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/g2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let a: G2 = (*a).into(); [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] [stdout] warning: useless assignment of variable of type `Fq2` to itself [INFO] [stdout] --> src/g2.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | if signs_not_equal == 0 {y = y} else {y = tv1}; // 33. y = CMOV(-y, y, e3) # Select correct sign of y [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IN_BYTES` is never used [INFO] [stdout] --> src/g1.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | const S_IN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Print` is never used [INFO] [stdout] --> src/g2.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | trait Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn commit(vs: &[Fr], G: AffineG1, r: Fr) -> AffineG1 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [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 `LEN_IN_BYTES` should have a snake case name [INFO] [stdout] --> src/g1.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn expand_message_xmd(msg: &[u8], dst: &[u8], LEN_IN_BYTES: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `len_in_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/g2.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let B = Fq2::new( [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let G = AffineG1::default(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let G = AffineG1::default(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/g2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let a: G2 = (*a).into(); [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] [stdout] warning: useless assignment of variable of type `Fq2` to itself [INFO] [stdout] --> src/g2.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | if signs_not_equal == 0 {y = y} else {y = tv1}; // 33. y = CMOV(-y, y, e3) # Select correct sign of y [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IN_BYTES` is never used [INFO] [stdout] --> src/g1.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | const S_IN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Print` is never used [INFO] [stdout] --> src/g2.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | trait Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn commit(vs: &[Fr], G: AffineG1, r: Fr) -> AffineG1 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [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 `LEN_IN_BYTES` should have a snake case name [INFO] [stdout] --> src/g1.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn expand_message_xmd(msg: &[u8], dst: &[u8], LEN_IN_BYTES: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `len_in_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/g2.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let B = Fq2::new( [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `hex` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | hex = "0.4.3" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `hex` [INFO] [stderr] warning: `sp1-hash2curve` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99", kill_on_drop: false }` [INFO] [stdout] 810947ff0df8423704425a1c4fea216132459f23ecbd6cbbb5f2849ec9da5b99