[INFO] cloning repository https://github.com/wentelteefje/zk-hack-power-corrupts-solution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wentelteefje/zk-hack-power-corrupts-solution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwentelteefje%2Fzk-hack-power-corrupts-solution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwentelteefje%2Fzk-hack-power-corrupts-solution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b238ac3f8f5ec4b9c7393e462d341c98c2986ab [INFO] testing wentelteefje/zk-hack-power-corrupts-solution against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwentelteefje%2Fzk-hack-power-corrupts-solution" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wentelteefje/zk-hack-power-corrupts-solution on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wentelteefje/zk-hack-power-corrupts-solution [INFO] finished tweaking git repo https://github.com/wentelteefje/zk-hack-power-corrupts-solution [INFO] tweaked toml for git repo https://github.com/wentelteefje/zk-hack-power-corrupts-solution written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wentelteefje/zk-hack-power-corrupts-solution 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/arkworks-rs/algebra` [INFO] [stderr] Updating git repository `https://github.com/arkworks-rs/std` [INFO] [stderr] Updating git repository `https://github.com/kobigurk/zkhack-prompt` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ark-bls12-381 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30105f1eb81347d78146b2ac3f0305c00f064ef139f46b062f47176eba553c32 [INFO] running `Command { std: "docker" "start" "-a" "30105f1eb81347d78146b2ac3f0305c00f064ef139f46b062f47176eba553c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30105f1eb81347d78146b2ac3f0305c00f064ef139f46b062f47176eba553c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30105f1eb81347d78146b2ac3f0305c00f064ef139f46b062f47176eba553c32", kill_on_drop: false }` [INFO] [stdout] 30105f1eb81347d78146b2ac3f0305c00f064ef139f46b062f47176eba553c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc3b6a0bf0012cefedd360312e7449631f560b7e1d8aa98fd394d4c3627e91e [INFO] running `Command { std: "docker" "start" "-a" "cfc3b6a0bf0012cefedd360312e7449631f560b7e1d8aa98fd394d4c3627e91e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prompt v0.1.0 (https://github.com/kobigurk/zkhack-prompt#e7a1afa0) [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling ark-std v0.4.0-alpha [INFO] [stderr] Compiling ark-std v0.3.0 (https://github.com/arkworks-rs/std#7019830e) [INFO] [stderr] Compiling ark-serialize v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling ark-ff-asm v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling ark-ff-macros v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling ark-serialize v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling pest v2.5.0 [INFO] [stderr] Compiling ark-ff v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling ark-ff v0.3.0 [INFO] [stderr] Compiling ark-poly v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling ark-ec v0.4.0-alpha.3 (https://github.com/arkworks-rs/algebra?branch=release-0.4#2a95a2af) [INFO] [stderr] Compiling ark-ec v0.3.0 [INFO] [stderr] Compiling ark-bls12-cheon v0.3.0 (/opt/rustwide/workdir/bls12_cheon) [INFO] [stderr] Compiling ark-bls12-381 v0.3.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> bls12_cheon/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FrConfig; [INFO] [stdout] | -------- `FrConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `fqconfig___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FqConfig; [INFO] [stdout] | -------- `FqConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blstest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let num_bkt: u32 = (m / k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let num_bkt: u32 = (m / k); [INFO] [stdout] 34 + let num_bkt: u32 = m / k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fr` [INFO] [stdout] --> src/main.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_bls12_cheon::{Fq, Fq2, Fr, G1Projective as G1, G2Projective as G2, Parameters}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/utils.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_ff::{Field, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let P_x: Fq = MontFp!("43668459814066631273461401053920432960676206327483058949155595679907514638718464615717512420764168423537607182... [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let P_y: Fq = MontFp!("23229360862894790680664906128011400154087217615791699729178173673910455913506000345476174329149313692931551239... [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let P = G1::from(G1Affine::new_unchecked(P_x, P_y)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let tau_P_x: Fq = MontFp!("4098523714512767373909357151251054769972251070043521443432671846694698445310918888674563384159054413429407... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let tau_P_y: Fq = MontFp!("5104199250567875649831070757916425527562742910121942289068977475282886267374972984853923971702383949149250... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let tau_P = G1::from(G1Affine::new_unchecked(tau_P_x, tau_P_y)); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let tau_d1_P_x: Fq = MontFp!("5666793736468521094298738103921693621508309431638529348089160865885867964805742107934338916926827890667... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let tau_d1_P_y: Fq = MontFp!("3326251098281288448602352180414320622119338868949804322483594574847275370379159993188118130786632123868... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P` should have a snake case name [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let tau_d1_P = G1::from(G1Affine::new_unchecked(tau_d1_P_x, tau_d1_P_y)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c0_x` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let Q_c0_x: Fq = MontFp!("28471901784901568997986437928427236177879683598681751400388268691447760127931050293915236049542491206671268... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c1_x` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let Q_c1_x: Fq = MontFp!("15137975772425003046788747520655262304084477823566295333749840433606353540981973070454874573311997980624844... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_x` should have a snake case name [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let Q_x: Fq2 = Fq2::new(Q_c0_x, Q_c1_x); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c0_y` should have a snake case name [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let Q_c0_y: Fq = MontFp!("23981278586465386502792627470292385011216619571039096737702980650067537151237403235696055689131541720791351... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c1_y` should have a snake case name [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let Q_c1_y: Fq = MontFp!("54449462576499015332682201387261244178248176514407483742577083204473000555433696651592770017251185674431944... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c1_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_y` should have a snake case name [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let Q_y: Fq2 = Fq2::new(Q_c0_y, Q_c1_y); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let Q = G2::from(G2Affine::new_unchecked(Q_x, Q_y)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c0_x` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let tau_d2_Q_c0_x: Fq = MontFp!("3536383419772898871062064633012296862124372086039789534814905834326827967479599778599887194095392165... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c1_x` should have a snake case name [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let tau_d2_Q_c1_x: Fq = MontFp!("2315075704417849395497347082310199859284883937672695000597201154920791698799875018503579607990866594... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_x` should have a snake case name [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let tau_d2_Q_x: Fq2 = Fq2::new(tau_d2_Q_c0_x, tau_d2_Q_c1_x); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c0_y` should have a snake case name [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tau_d2_Q_c0_y: Fq = MontFp!("5852246193673108898946103224533823708003081551946718048819767243152942774582707045063729000323481863... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c1_y` should have a snake case name [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tau_d2_Q_c1_y: Fq = MontFp!("2003134343205828842999500309083907961610049652513738961421964674991336249683168914202315292236916790... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_y` should have a snake case name [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let tau_d2_Q_y: Fq2 = Fq2::new(tau_d2_Q_c0_y, tau_d2_Q_c1_y); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tau_d2_Q = G2::from(G2Affine::new_unchecked(tau_d2_Q_x, tau_d2_Q_y)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d1` should have an upper case name [INFO] [stdout] --> src/attack.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const d1: u64 = 11726539; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/attack.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: u64 = 690320833; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d` should have an upper case name [INFO] [stdout] --> src/attack.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const d: u64 = d1 + d2; [INFO] [stdout] | ^ help: convert the identifier to upper case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `q` should have an upper case name [INFO] [stdout] --> src/attack.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const q: u128 = 1114157594638178892192613; [INFO] [stdout] | ^ help: convert the identifier to upper case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `q1_d` should have an upper case name [INFO] [stdout] --> src/attack.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const q1_d: u64 = ((q - 1) / d as u128 ) as u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `Q1_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ap1` should have a snake case name [INFO] [stdout] --> src/attack.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let Ap1: u64 = 1089478584172544; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigInt_to_u128` should have a snake case name [INFO] [stdout] --> src/utils.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn bigInt_to_u128(bi: BigInteger128) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `big_int_to_u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/verify.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/verify.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "cfc3b6a0bf0012cefedd360312e7449631f560b7e1d8aa98fd394d4c3627e91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc3b6a0bf0012cefedd360312e7449631f560b7e1d8aa98fd394d4c3627e91e", kill_on_drop: false }` [INFO] [stdout] cfc3b6a0bf0012cefedd360312e7449631f560b7e1d8aa98fd394d4c3627e91e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d1a8ac202debab6e5543251819f247b8729b9cd529e870455a4b510c4e305e6 [INFO] running `Command { std: "docker" "start" "-a" "7d1a8ac202debab6e5543251819f247b8729b9cd529e870455a4b510c4e305e6", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> bls12_cheon/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FrConfig; [INFO] [stdout] | -------- `FrConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `fqconfig___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FqConfig; [INFO] [stdout] | -------- `FqConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blstest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let num_bkt: u32 = (m / k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let num_bkt: u32 = (m / k); [INFO] [stdout] 34 + let num_bkt: u32 = m / k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fr` [INFO] [stdout] --> src/main.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_bls12_cheon::{Fq, Fq2, Fr, G1Projective as G1, G2Projective as G2, Parameters}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/utils.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_ff::{Field, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let P_x: Fq = MontFp!("43668459814066631273461401053920432960676206327483058949155595679907514638718464615717512420764168423537607182... [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let P_y: Fq = MontFp!("23229360862894790680664906128011400154087217615791699729178173673910455913506000345476174329149313692931551239... [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let P = G1::from(G1Affine::new_unchecked(P_x, P_y)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let tau_P_x: Fq = MontFp!("4098523714512767373909357151251054769972251070043521443432671846694698445310918888674563384159054413429407... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let tau_P_y: Fq = MontFp!("5104199250567875649831070757916425527562742910121942289068977475282886267374972984853923971702383949149250... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let tau_P = G1::from(G1Affine::new_unchecked(tau_P_x, tau_P_y)); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P_x` should have a snake case name [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let tau_d1_P_x: Fq = MontFp!("5666793736468521094298738103921693621508309431638529348089160865885867964805742107934338916926827890667... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P_y` should have a snake case name [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let tau_d1_P_y: Fq = MontFp!("3326251098281288448602352180414320622119338868949804322483594574847275370379159993188118130786632123868... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P` should have a snake case name [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let tau_d1_P = G1::from(G1Affine::new_unchecked(tau_d1_P_x, tau_d1_P_y)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c0_x` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let Q_c0_x: Fq = MontFp!("28471901784901568997986437928427236177879683598681751400388268691447760127931050293915236049542491206671268... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c1_x` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let Q_c1_x: Fq = MontFp!("15137975772425003046788747520655262304084477823566295333749840433606353540981973070454874573311997980624844... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_x` should have a snake case name [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let Q_x: Fq2 = Fq2::new(Q_c0_x, Q_c1_x); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c0_y` should have a snake case name [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let Q_c0_y: Fq = MontFp!("23981278586465386502792627470292385011216619571039096737702980650067537151237403235696055689131541720791351... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_c1_y` should have a snake case name [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let Q_c1_y: Fq = MontFp!("54449462576499015332682201387261244178248176514407483742577083204473000555433696651592770017251185674431944... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `q_c1_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q_y` should have a snake case name [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let Q_y: Fq2 = Fq2::new(Q_c0_y, Q_c1_y); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let Q = G2::from(G2Affine::new_unchecked(Q_x, Q_y)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c0_x` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let tau_d2_Q_c0_x: Fq = MontFp!("3536383419772898871062064633012296862124372086039789534814905834326827967479599778599887194095392165... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c1_x` should have a snake case name [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let tau_d2_Q_c1_x: Fq = MontFp!("2315075704417849395497347082310199859284883937672695000597201154920791698799875018503579607990866594... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_x` should have a snake case name [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let tau_d2_Q_x: Fq2 = Fq2::new(tau_d2_Q_c0_x, tau_d2_Q_c1_x); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c0_y` should have a snake case name [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tau_d2_Q_c0_y: Fq = MontFp!("5852246193673108898946103224533823708003081551946718048819767243152942774582707045063729000323481863... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_c1_y` should have a snake case name [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tau_d2_Q_c1_y: Fq = MontFp!("2003134343205828842999500309083907961610049652513738961421964674991336249683168914202315292236916790... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q_y` should have a snake case name [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let tau_d2_Q_y: Fq2 = Fq2::new(tau_d2_Q_c0_y, tau_d2_Q_c1_y); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tau_d2_Q = G2::from(G2Affine::new_unchecked(tau_d2_Q_x, tau_d2_Q_y)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d1` should have an upper case name [INFO] [stdout] --> src/attack.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const d1: u64 = 11726539; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/attack.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: u64 = 690320833; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d` should have an upper case name [INFO] [stdout] --> src/attack.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const d: u64 = d1 + d2; [INFO] [stdout] | ^ help: convert the identifier to upper case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `q` should have an upper case name [INFO] [stdout] --> src/attack.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const q: u128 = 1114157594638178892192613; [INFO] [stdout] | ^ help: convert the identifier to upper case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `q1_d` should have an upper case name [INFO] [stdout] --> src/attack.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const q1_d: u64 = ((q - 1) / d as u128 ) as u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `Q1_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d1_P` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stdout] --> src/attack.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ap1` should have a snake case name [INFO] [stdout] --> src/attack.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let Ap1: u64 = 1089478584172544; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigInt_to_u128` should have a snake case name [INFO] [stdout] --> src/utils.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn bigInt_to_u128(bi: BigInteger128) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `big_int_to_u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/verify.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tau_P` should have a snake case name [INFO] [stdout] --> src/verify.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "7d1a8ac202debab6e5543251819f247b8729b9cd529e870455a4b510c4e305e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1a8ac202debab6e5543251819f247b8729b9cd529e870455a4b510c4e305e6", kill_on_drop: false }` [INFO] [stdout] 7d1a8ac202debab6e5543251819f247b8729b9cd529e870455a4b510c4e305e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6750fdaf952871e9c6d775576946a1e95586f0e7524fdd183eba213904162951 [INFO] running `Command { std: "docker" "start" "-a" "6750fdaf952871e9c6d775576946a1e95586f0e7524fdd183eba213904162951", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(MontConfig)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> bls12_cheon/src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | warnings, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(MontConfig)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve`, `default`, `scalar_field`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> bls12_cheon/src/fields/fr.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(MontConfig)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `MontConfig` is not local [INFO] [stderr] | move the `impl` block outside of this function `frconfig___` [INFO] [stderr] ... [INFO] [stderr] 6 | pub struct FrConfig; [INFO] [stderr] | -------- `FrConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> bls12_cheon/src/fields/fq.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(MontConfig)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `MontConfig` is not local [INFO] [stderr] | move the `impl` block outside of this function `fqconfig___` [INFO] [stderr] ... [INFO] [stderr] 6 | pub struct FqConfig; [INFO] [stderr] | -------- `FqConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ark-bls12-cheon` (lib) generated 4 warnings [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/utils.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | let num_bkt: u32 = (m / k); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - let num_bkt: u32 = (m / k); [INFO] [stderr] 34 + let num_bkt: u32 = m / k; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Fr` [INFO] [stderr] --> src/main.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use ark_bls12_cheon::{Fq, Fq2, Fr, G1Projective as G1, G2Projective as G2, Parameters}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `One` [INFO] [stderr] --> src/utils.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use ark_ff::{Field, One}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `P_x` should have a snake case name [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let P_x: Fq = MontFp!("43668459814066631273461401053920432960676206327483058949155595679907514638718464615717512420764168423537607182... [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `p_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `P_y` should have a snake case name [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let P_y: Fq = MontFp!("23229360862894790680664906128011400154087217615791699729178173673910455913506000345476174329149313692931551239... [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `p_y` [INFO] [stderr] [INFO] [stderr] warning: variable `P` should have a snake case name [INFO] [stderr] --> src/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let P = G1::from(G1Affine::new_unchecked(P_x, P_y)); [INFO] [stderr] | ^ help: convert the identifier to snake case: `p` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_P_x` should have a snake case name [INFO] [stderr] --> src/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let tau_P_x: Fq = MontFp!("4098523714512767373909357151251054769972251070043521443432671846694698445310918888674563384159054413429407... [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_x` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_P_y` should have a snake case name [INFO] [stderr] --> src/main.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let tau_P_y: Fq = MontFp!("5104199250567875649831070757916425527562742910121942289068977475282886267374972984853923971702383949149250... [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `tau_p_y` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_P` should have a snake case name [INFO] [stderr] --> src/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let tau_P = G1::from(G1Affine::new_unchecked(tau_P_x, tau_P_y)); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d1_P_x` should have a snake case name [INFO] [stderr] --> src/main.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let tau_d1_P_x: Fq = MontFp!("5666793736468521094298738103921693621508309431638529348089160865885867964805742107934338916926827890667... [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_x` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d1_P_y` should have a snake case name [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | let tau_d1_P_y: Fq = MontFp!("3326251098281288448602352180414320622119338868949804322483594574847275370379159993188118130786632123868... [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p_y` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d1_P` should have a snake case name [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let tau_d1_P = G1::from(G1Affine::new_unchecked(tau_d1_P_x, tau_d1_P_y)); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_c0_x` should have a snake case name [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let Q_c0_x: Fq = MontFp!("28471901784901568997986437928427236177879683598681751400388268691447760127931050293915236049542491206671268... [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `q_c0_x` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_c1_x` should have a snake case name [INFO] [stderr] --> src/main.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let Q_c1_x: Fq = MontFp!("15137975772425003046788747520655262304084477823566295333749840433606353540981973070454874573311997980624844... [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `q_c1_x` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_x` should have a snake case name [INFO] [stderr] --> src/main.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let Q_x: Fq2 = Fq2::new(Q_c0_x, Q_c1_x); [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `q_x` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_c0_y` should have a snake case name [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let Q_c0_y: Fq = MontFp!("23981278586465386502792627470292385011216619571039096737702980650067537151237403235696055689131541720791351... [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `q_c0_y` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_c1_y` should have a snake case name [INFO] [stderr] --> src/main.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let Q_c1_y: Fq = MontFp!("54449462576499015332682201387261244178248176514407483742577083204473000555433696651592770017251185674431944... [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `q_c1_y` [INFO] [stderr] [INFO] [stderr] warning: variable `Q_y` should have a snake case name [INFO] [stderr] --> src/main.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | let Q_y: Fq2 = Fq2::new(Q_c0_y, Q_c1_y); [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `q_y` [INFO] [stderr] [INFO] [stderr] warning: variable `Q` should have a snake case name [INFO] [stderr] --> src/main.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let Q = G2::from(G2Affine::new_unchecked(Q_x, Q_y)); [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_c0_x` should have a snake case name [INFO] [stderr] --> src/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let tau_d2_Q_c0_x: Fq = MontFp!("3536383419772898871062064633012296862124372086039789534814905834326827967479599778599887194095392165... [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_x` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_c1_x` should have a snake case name [INFO] [stderr] --> src/main.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let tau_d2_Q_c1_x: Fq = MontFp!("2315075704417849395497347082310199859284883937672695000597201154920791698799875018503579607990866594... [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_x` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_x` should have a snake case name [INFO] [stderr] --> src/main.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let tau_d2_Q_x: Fq2 = Fq2::new(tau_d2_Q_c0_x, tau_d2_Q_c1_x); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_x` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_c0_y` should have a snake case name [INFO] [stderr] --> src/main.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let tau_d2_Q_c0_y: Fq = MontFp!("5852246193673108898946103224533823708003081551946718048819767243152942774582707045063729000323481863... [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c0_y` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_c1_y` should have a snake case name [INFO] [stderr] --> src/main.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let tau_d2_Q_c1_y: Fq = MontFp!("2003134343205828842999500309083907961610049652513738961421964674991336249683168914202315292236916790... [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_c1_y` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q_y` should have a snake case name [INFO] [stderr] --> src/main.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let tau_d2_Q_y: Fq2 = Fq2::new(tau_d2_Q_c0_y, tau_d2_Q_c1_y); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q_y` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stderr] --> src/main.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let tau_d2_Q = G2::from(G2Affine::new_unchecked(tau_d2_Q_x, tau_d2_Q_y)); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stderr] [INFO] [stderr] warning: constant `d1` should have an upper case name [INFO] [stderr] --> src/attack.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const d1: u64 = 11726539; [INFO] [stderr] | ^^ help: convert the identifier to upper case: `D1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `d2` should have an upper case name [INFO] [stderr] --> src/attack.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const d2: u64 = 690320833; [INFO] [stderr] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stderr] [INFO] [stderr] warning: constant `d` should have an upper case name [INFO] [stderr] --> src/attack.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const d: u64 = d1 + d2; [INFO] [stderr] | ^ help: convert the identifier to upper case: `D` [INFO] [stderr] [INFO] [stderr] warning: constant `q` should have an upper case name [INFO] [stderr] --> src/attack.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const q: u128 = 1114157594638178892192613; [INFO] [stderr] | ^ help: convert the identifier to upper case: `Q` [INFO] [stderr] [INFO] [stderr] warning: constant `q1_d` should have an upper case name [INFO] [stderr] --> src/attack.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const q1_d: u64 = ((q - 1) / d as u128 ) as u64; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `Q1_D` [INFO] [stderr] [INFO] [stderr] warning: variable `P` should have a snake case name [INFO] [stderr] --> src/attack.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `p` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_P` should have a snake case name [INFO] [stderr] --> src/attack.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d1_P` should have a snake case name [INFO] [stderr] --> src/attack.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d1_p` [INFO] [stderr] [INFO] [stderr] warning: variable `Q` should have a snake case name [INFO] [stderr] --> src/attack.rs:13:47 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_d2_Q` should have a snake case name [INFO] [stderr] --> src/attack.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn attack(P: G1, tau_P: G1, tau_d1_P: G1, Q: G2, tau_d2_Q: G2) -> i128 { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `tau_d2_q` [INFO] [stderr] [INFO] [stderr] warning: variable `Ap1` should have a snake case name [INFO] [stderr] --> src/attack.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let Ap1: u64 = 1089478584172544; [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `ap1` [INFO] [stderr] [INFO] [stderr] warning: function `bigInt_to_u128` should have a snake case name [INFO] [stderr] --> src/utils.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn bigInt_to_u128(bi: BigInteger128) -> u128 { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `big_int_to_u128` [INFO] [stderr] [INFO] [stderr] warning: variable `P` should have a snake case name [INFO] [stderr] --> src/verify.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stderr] | ^ help: convert the identifier to snake case: `p` [INFO] [stderr] [INFO] [stderr] warning: variable `tau_P` should have a snake case name [INFO] [stderr] --> src/verify.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn verify(P: G1, tau_P: G1, tau_128: i128) -> bool { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `tau_p` [INFO] [stderr] [INFO] [stderr] warning: `blstest` (bin "blstest" test) generated 40 warnings (run `cargo fix --bin "blstest" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blstest-3c8c62f074cb88e6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6750fdaf952871e9c6d775576946a1e95586f0e7524fdd183eba213904162951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6750fdaf952871e9c6d775576946a1e95586f0e7524fdd183eba213904162951", kill_on_drop: false }` [INFO] [stdout] 6750fdaf952871e9c6d775576946a1e95586f0e7524fdd183eba213904162951