[INFO] cloning repository https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/virjilakrum/sei-zkp-file-transfer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2b780ff7eeb6f43bbccf0f11892102c78ecda44 [INFO] checking virjilakrum/sei-zkp-file-transfer against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/virjilakrum/sei-zkp-file-transfer on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] finished tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] tweaked toml for git repo https://github.com/virjilakrum/sei-zkp-file-transfer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/virjilakrum/sei-zkp-file-transfer 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking virjilakrum/sei-zkp-file-transfer against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/virjilakrum/sei-zkp-file-transfer on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] finished tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] tweaked toml for git repo https://github.com/virjilakrum/sei-zkp-file-transfer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/virjilakrum/sei-zkp-file-transfer 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking virjilakrum/sei-zkp-file-transfer against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/virjilakrum/sei-zkp-file-transfer on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] finished tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] tweaked toml for git repo https://github.com/virjilakrum/sei-zkp-file-transfer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/virjilakrum/sei-zkp-file-transfer 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking virjilakrum/sei-zkp-file-transfer against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirjilakrum%2Fsei-zkp-file-transfer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/virjilakrum/sei-zkp-file-transfer on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] finished tweaking git repo https://github.com/virjilakrum/sei-zkp-file-transfer [INFO] tweaked toml for git repo https://github.com/virjilakrum/sei-zkp-file-transfer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/virjilakrum/sei-zkp-file-transfer 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288a469b537ee2ef6ef22308c19b70afec50ef782ffb8ca57a77382579570b2d [INFO] running `Command { std: "docker" "start" "-a" "288a469b537ee2ef6ef22308c19b70afec50ef782ffb8ca57a77382579570b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288a469b537ee2ef6ef22308c19b70afec50ef782ffb8ca57a77382579570b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288a469b537ee2ef6ef22308c19b70afec50ef782ffb8ca57a77382579570b2d", kill_on_drop: false }` [INFO] [stdout] 288a469b537ee2ef6ef22308c19b70afec50ef782ffb8ca57a77382579570b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 927106a69c69cd7e5d6309661810ead873efd6cb9d0c060d4bcc68a711502c22 [INFO] running `Command { std: "docker" "start" "-a" "927106a69c69cd7e5d6309661810ead873efd6cb9d0c060d4bcc68a711502c22", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking pairing v0.22.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking bellman v0.13.1 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking bls12_381 v0.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.8 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Checking prost v0.9.0 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking cosmwasm-crypto v1.5.8 [INFO] [stderr] Checking cosmwasm-std v1.5.8 [INFO] [stderr] Checking cosmwasm-schema v1.5.8 [INFO] [stderr] Checking cw-storage-plus v1.2.0 [INFO] [stderr] Checking cosmwasm-storage v1.5.2 [INFO] [stderr] Checking cw2 v1.1.2 [INFO] [stderr] Checking sei-zk-file-transfer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `verify_proof` [INFO] [stdout] --> src/lib.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | prepare_verifying_key, verify_proof, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cw-utils v1.0.3 [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | impl Circuit for FileTransferCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `bellman::Circuit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait Circuit { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Circuit` [INFO] [stdout] = note: `Circuit` is a "sealed trait", because to implement it you also need to implement `ff::PrimeField`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following type implements the trait: [INFO] [stdout] bls12_381::Scalar [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | fn synthesize>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `bellman::ConstraintSystem` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem` [INFO] [stdout] = note: `ConstraintSystem` is a "sealed trait", because to implement it you also need to implement `ff::PrimeField`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following type implements the trait: [INFO] [stdout] bls12_381::Scalar [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let file_hash = cs.alloc_input( [INFO] [stdout] | ^^^^^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `alloc_input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc_input` [INFO] [stdout] ... [INFO] [stdout] 399 | fn alloc_input(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | / self.file_hash.map(|h| Scalar::from_bytes(&h).unwrap()) [INFO] [stdout] 57 | | .ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | |_________________________________________________________________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | let recipient = cs.alloc_input( [INFO] [stdout] | ^^^^^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `alloc_input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc_input` [INFO] [stdout] ... [INFO] [stdout] 399 | fn alloc_input(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | / self.recipient.map(|r| Scalar::from_bytes(&r).unwrap()) [INFO] [stdout] 65 | | .ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | |_________________________________________________________________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | let secret = cs.alloc( [INFO] [stdout] | ^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `bellman::ConstraintSystem::alloc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc` [INFO] [stdout] ... [INFO] [stdout] 391 | fn alloc(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | / self.secret.map(|s| Scalar::from_bytes(&s).unwrap()) [INFO] [stdout] 73 | | .ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | |_________________________________________________________________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | cs.enforce( [INFO] [stdout] | ^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `enforce` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::enforce` [INFO] [stdout] ... [INFO] [stdout] 407 | fn enforce(&mut self, annotation: A, a: LA, b: LB, c: LC) [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | |lc| lc + secret, [INFO] [stdout] | ^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> src/lib.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | |lc| lc + secret, [INFO] [stdout] | -- ^ ------ Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `bls12_381::Bls12` doesn't implement `ff::PrimeField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not implement `ff::PrimeField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | |lc| lc + CS::one(), [INFO] [stdout] | ^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | |lc| lc + CS::one(), [INFO] [stdout] | ^^^^^^^^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `one` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::one` [INFO] [stdout] ... [INFO] [stdout] 383 | fn one() -> Variable { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> src/lib.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | |lc| lc + CS::one(), [INFO] [stdout] | -- ^ --------- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `bls12_381::Bls12` doesn't implement `ff::PrimeField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not implement `ff::PrimeField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: ff::PrimeField` is not satisfied [INFO] [stdout] --> src/lib.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | |lc| lc + file_hash + recipient, [INFO] [stdout] | ^^ the trait `ff::PrimeField` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait PrimeField: Field + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | |lc| lc + file_hash + recipient, [INFO] [stdout] | -- ^ --------- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `bls12_381::Bls12` doesn't implement `ff::PrimeField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/pairings.rs:793:1 [INFO] [stdout] | [INFO] [stdout] 793 | pub struct Bls12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not implement `ff::PrimeField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1Projective: group::wnaf::WnafGroup` is not satisfied [INFO] [stdout] --> src/lib.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^^^^^ the trait `group::wnaf::WnafGroup` is not implemented for `G1Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/wnaf.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WnafGroup: Group { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `group` used here, as a dependency of crate `elliptic_curve` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `group` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/g1.rs:442:1 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct G1Projective { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.13.0/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 25 | E::G1: WnafGroup, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G2Projective: group::wnaf::WnafGroup` is not satisfied [INFO] [stdout] --> src/lib.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^^^^^ the trait `group::wnaf::WnafGroup` is not implemented for `G2Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/wnaf.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WnafGroup: Group { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `group` used here, as a dependency of crate `elliptic_curve` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `group` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/g2.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | pub struct G2Projective { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.13.0/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 26 | E::G2: WnafGroup, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileTransferCircuit: bellman::Circuit` is not satisfied [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^ the trait `bellman::Circuit` is not implemented for `FileTransferCircuit` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Circuit` is not implemented for `FileTransferCircuit` [INFO] [stdout] but trait `Circuit` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `bls12_381::Bls12`, found `bls12_381::Scalar` [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 27 | C: Circuit, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: pairing::MultiMillerLoop` is not satisfied [INFO] [stdout] --> src/lib.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | let pvk = prepare_verifying_key(¶ms.vk); [INFO] [stdout] | --------------------- ^^^^^^^^^^ the trait `pairing::MultiMillerLoop` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `prepare_verifying_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/verifier.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn prepare_verifying_key(vk: &VerifyingKey) -> PreparedVerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `prepare_verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: pairing::MultiMillerLoop` is not satisfied [INFO] [stdout] --> src/lib.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let pvk = prepare_verifying_key(¶ms.vk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `pairing::MultiMillerLoop` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PreparedVerifyingKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/mod.rs:401:36 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct PreparedVerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `PreparedVerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Fr == Bls12` [INFO] [stdout] --> src/lib.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let proof = create_random_proof(c, ¶ms, &mut OsRng).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bls12`, found `Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Scalar: ff::PrimeFieldBits` is not satisfied [INFO] [stdout] --> src/lib.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let proof = create_random_proof(c, ¶ms, &mut OsRng).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ff::PrimeFieldBits` is not implemented for `bls12_381::Scalar` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub trait PrimeFieldBits: PrimeField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `ff` used here, as a dependency of crate `group` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `ff` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/scalar.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Scalar(pub(crate) [u64; 4]); [INFO] [stdout] | ----------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.13.0/src/batch.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait BatchInvert { [INFO] [stdout] | ------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `create_random_proof` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/prover.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn create_random_proof>( [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 167 | E::Fr: PrimeFieldBits, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `create_random_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1Projective: group::wnaf::WnafGroup` is not satisfied [INFO] [stdout] --> src/lib.rs:131:64 [INFO] [stdout] | [INFO] [stdout] 131 | bellman::groth16::generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^^^^^ the trait `group::wnaf::WnafGroup` is not implemented for `G1Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/wnaf.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WnafGroup: Group { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `group` used here, as a dependency of crate `elliptic_curve` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `group` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/g1.rs:442:1 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct G1Projective { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.13.0/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 25 | E::G1: WnafGroup, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G2Projective: group::wnaf::WnafGroup` is not satisfied [INFO] [stdout] --> src/lib.rs:131:64 [INFO] [stdout] | [INFO] [stdout] 131 | bellman::groth16::generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^^^^^ the trait `group::wnaf::WnafGroup` is not implemented for `G2Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/wnaf.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WnafGroup: Group { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `group` used here, as a dependency of crate `elliptic_curve` [INFO] [stdout] ... [INFO] [stdout] 34 | use bellman::{Circuit, ConstraintSystem, SynthesisError}; [INFO] [stdout] | ------- one version of crate `group` used here, as a dependency of crate `bellman` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.7.1/src/g2.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | pub struct G2Projective { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.13.0/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 26 | E::G2: WnafGroup, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileTransferCircuit: bellman::Circuit` is not satisfied [INFO] [stdout] --> src/lib.rs:131:71 [INFO] [stdout] | [INFO] [stdout] 131 | bellman::groth16::generate_random_parameters::(c, &mut OsRng).unwrap() [INFO] [stdout] | ^ the trait `bellman::Circuit` is not implemented for `FileTransferCircuit` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Circuit` is not implemented for `FileTransferCircuit` [INFO] [stdout] but trait `Circuit` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `bls12_381::Bls12`, found `bls12_381::Scalar` [INFO] [stdout] note: required by a bound in `generate_random_parameters` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/generator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn generate_random_parameters( [INFO] [stdout] | -------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 27 | C: Circuit, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `generate_random_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: pairing::MultiMillerLoop` is not satisfied [INFO] [stdout] --> src/lib.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | let pvk = prepare_verifying_key(¶ms.vk); [INFO] [stdout] | --------------------- ^^^^^^^^^^ the trait `pairing::MultiMillerLoop` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `prepare_verifying_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/verifier.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn prepare_verifying_key(vk: &VerifyingKey) -> PreparedVerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `prepare_verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: pairing::MultiMillerLoop` is not satisfied [INFO] [stdout] --> src/lib.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let pvk = prepare_verifying_key(¶ms.vk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `pairing::MultiMillerLoop` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PreparedVerifyingKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/mod.rs:401:36 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct PreparedVerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `PreparedVerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bls12_381::Bls12: pairing::MultiMillerLoop` is not satisfied [INFO] [stdout] --> src/lib.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | verify_proof(&pvk, &proof, &inputs).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^ the trait `pairing::MultiMillerLoop` is not implemented for `bls12_381::Bls12` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `verify_proof` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/groth16/verifier.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn verify_proof<'a, E: MultiMillerLoop>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `verify_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:260:103 [INFO] [stdout] | [INFO] [stdout] 260 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:260:71 [INFO] [stdout] | [INFO] [stdout] 260 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:260:74 [INFO] [stdout] | [INFO] [stdout] 260 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 260 | let mut state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / fn record_transfer( [INFO] [stdout] 253 | | deps: DepsMut, [INFO] [stdout] 254 | | env: Env, [INFO] [stdout] 255 | | info: MessageInfo, [INFO] [stdout] ... | [INFO] [stdout] 258 | | zk_proof: Vec, [INFO] [stdout] 259 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:260:74 [INFO] [stdout] | [INFO] [stdout] 260 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:301:99 [INFO] [stdout] | [INFO] [stdout] 301 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:301:67 [INFO] [stdout] | [INFO] [stdout] 301 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:301:70 [INFO] [stdout] | [INFO] [stdout] 301 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 301 | let state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | / fn withdraw_fees( [INFO] [stdout] 296 | | deps: DepsMut, [INFO] [stdout] 297 | | _env: Env, [INFO] [stdout] 298 | | info: MessageInfo, [INFO] [stdout] 299 | | amount: Uint128, [INFO] [stdout] 300 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:301:70 [INFO] [stdout] | [INFO] [stdout] 301 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:331:103 [INFO] [stdout] | [INFO] [stdout] 331 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:331:71 [INFO] [stdout] | [INFO] [stdout] 331 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:331:74 [INFO] [stdout] | [INFO] [stdout] 331 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 331 | let mut state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 326 | / fn set_fee_percentage( [INFO] [stdout] 327 | | deps: DepsMut, [INFO] [stdout] 328 | | info: MessageInfo, [INFO] [stdout] 329 | | percentage: Uint128, [INFO] [stdout] 330 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:331:74 [INFO] [stdout] | [INFO] [stdout] 331 | let mut state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:363:99 [INFO] [stdout] | [INFO] [stdout] 363 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:363:67 [INFO] [stdout] | [INFO] [stdout] 363 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:363:70 [INFO] [stdout] | [INFO] [stdout] 363 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 363 | let state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 362 | fn query_file_transfers(deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:363:70 [INFO] [stdout] | [INFO] [stdout] 363 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:369:99 [INFO] [stdout] | [INFO] [stdout] 369 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:369:67 [INFO] [stdout] | [INFO] [stdout] 369 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:369:70 [INFO] [stdout] | [INFO] [stdout] 369 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 369 | let state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 368 | fn query_verify_transfer(deps: Deps, file_hash: String, recipient: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:369:70 [INFO] [stdout] | [INFO] [stdout] 369 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> src/lib.rs:383:99 [INFO] [stdout] | [INFO] [stdout] 383 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ------ ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option<_>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:383:67 [INFO] [stdout] | [INFO] [stdout] 383 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<_>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] note: return type inferred to be `std::option::Option<_>` here [INFO] [stdout] --> src/lib.rs:383:70 [INFO] [stdout] | [INFO] [stdout] 383 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 383 | let state: State = deps.storage.get(b"state").and_then(|data| Some(Ok(cosmwasm_std::from_json(data)?))).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | fn query_fee_percentage(deps: Deps) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/lib.rs:383:70 [INFO] [stdout] | [INFO] [stdout] 383 | let state: State = deps.storage.get(b"state").and_then(|data| Ok(cosmwasm_std::from_json(data)?)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sei-zk-file-transfer` (lib) due to 41 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "927106a69c69cd7e5d6309661810ead873efd6cb9d0c060d4bcc68a711502c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "927106a69c69cd7e5d6309661810ead873efd6cb9d0c060d4bcc68a711502c22", kill_on_drop: false }` [INFO] [stdout] 927106a69c69cd7e5d6309661810ead873efd6cb9d0c060d4bcc68a711502c22