[INFO] fetching crate concordium_base 3.2.0... [INFO] checking concordium_base-3.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate concordium_base 3.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate concordium_base 3.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concordium_base 3.2.0 [INFO] finished tweaking crates.io crate concordium_base 3.2.0 [INFO] tweaked toml for crates.io crate concordium_base 3.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 204 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding bs58 v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.4) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.0) [INFO] [stderr] Adding concordium-contracts-common v8.1.1 (latest: v9.1.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding criterion v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (latest: v4.1.2) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (latest: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (latest: v2.1.1) [INFO] [stderr] Adding ff v0.5.2 (latest: v0.13.0) [INFO] [stderr] Adding ff_derive v0.4.1 (latest: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding group v0.2.0 (latest: v0.13.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.3) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.4) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding pairing v0.15.1 (latest: v0.23.0) [INFO] [stderr] Adding password-hash v0.4.2 (latest: v0.5.0) [INFO] [stderr] Adding pbkdf2 v0.11.0 (latest: v0.12.2) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_pcg v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (latest: v2.2.0) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.9) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding zeroize v1.3.0 (latest: v1.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded ff_derive v0.4.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded ff v0.5.2 [INFO] [stderr] Downloaded concordium-contracts-common v8.1.1 [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded group v0.2.0 [INFO] [stderr] Downloaded concordium_base_derive v1.0.0 [INFO] [stderr] Downloaded pairing v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2233c3e4adcdab5f8e3dc50209b3e64e5b27303270e81b12e77b1eb6efd1ff4 [INFO] running `Command { std: "docker" "start" "-a" "f2233c3e4adcdab5f8e3dc50209b3e64e5b27303270e81b12e77b1eb6efd1ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2233c3e4adcdab5f8e3dc50209b3e64e5b27303270e81b12e77b1eb6efd1ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2233c3e4adcdab5f8e3dc50209b3e64e5b27303270e81b12e77b1eb6efd1ff4", kill_on_drop: false }` [INFO] [stdout] f2233c3e4adcdab5f8e3dc50209b3e64e5b27303270e81b12e77b1eb6efd1ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a5e58ed2ca368d1f57fc34def56920567d9007dab30ed25514b61930e241d6f [INFO] running `Command { std: "docker" "start" "-a" "6a5e58ed2ca368d1f57fc34def56920567d9007dab30ed25514b61930e241d6f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Compiling ff_derive v0.4.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking ff v0.5.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking group v0.2.0 [INFO] [stderr] Checking pairing v0.15.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling concordium_base_derive v1.0.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking concordium-contracts-common v8.1.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking concordium_base v3.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/base.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cis2_types.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{convert::TryFrom, fmt::Display, ops, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeyIndex` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^ - the item `KeyIndex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeyPair` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^ - the item `KeyPair` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionSignature` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - the item `TransactionSignature` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/bulletproofs/range_proof.rs:5:86 [INFO] [stdout] | [INFO] [stdout] 5 | curve_arithmetic::{multiexp, multiexp_table, multiexp_worker_given_table, Curve, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | id::id_proof_types::ProofVersion, [INFO] [stdout] 7 | pedersen_commitment::*, [INFO] [stdout] | ---------------------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/bulletproofs/set_membership_proof.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryInto, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/impls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serde_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::impls::*` [INFO] [stdout] --> src/common/serialize.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::impls::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `helpers::*`, `impls::*` [INFO] [stdout] --> src/common/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::{helpers::*, impls::*, serialize::*, version::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g1hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g2hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `Field` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `PrimeField` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{common::*, curve_arithmetic::*}; [INFO] [stdout] | ------------------- the item `Field` is already imported here [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Deref, Drop}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_proof_types.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::BTreeSet, convert::TryFrom, marker::PhantomData, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/secret_sharing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/id/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 9 | *, [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sigma_protocols/com_eq_sig.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 13 | curve_arithmetic::*, [INFO] [stdout] | ------------------- the item `Value` is already imported here [INFO] [stdout] 14 | pedersen_commitment::{Commitment, CommitmentKey, Randomness, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/base.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cis2_types.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{convert::TryFrom, fmt::Display, ops, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionSignature` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - the item `TransactionSignature` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SignatureThreshold` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3172:21 [INFO] [stdout] | [INFO] [stdout] 3172 | id::types::{SignatureThreshold, VerifyKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `SignatureThreshold` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VerifyKey` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3172:41 [INFO] [stdout] | [INFO] [stdout] 3172 | id::types::{SignatureThreshold, VerifyKey}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `VerifyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3174:9 [INFO] [stdout] | [INFO] [stdout] 3174 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3175:9 [INFO] [stdout] | [INFO] [stdout] 3175 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/aggregate_sig/mod.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Curve` is imported redundantly [INFO] [stdout] --> src/bulletproofs/inner_product_proof.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 462 | use super::*; [INFO] [stdout] | -------- the item `Curve` is already imported here [INFO] [stdout] 463 | use crate::curve_arithmetic::Curve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/bulletproofs/set_membership_proof.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryInto, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/impls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serde_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::impls::*` [INFO] [stdout] --> src/common/serialize.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::impls::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/common/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::{helpers::*, impls::*, serialize::*, version::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g1hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g2hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `Field` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `PrimeField` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{common::*, curve_arithmetic::*}; [INFO] [stdout] | ------------------- the item `Field` is already imported here [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Deref, Drop}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/elgamal/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | use super::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] 213 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/elgamal/mod.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 212 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 215 | use rand::{rngs::ThreadRng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Curve` is imported redundantly [INFO] [stdout] --> src/id/account_holder.rs:1263:9 [INFO] [stdout] | [INFO] [stdout] 1259 | use super::*; [INFO] [stdout] | -------- the item `Curve` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1263 | curve_arithmetic::Curve, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Threshold` is imported redundantly [INFO] [stdout] --> src/id/account_holder.rs:1264:50 [INFO] [stdout] | [INFO] [stdout] 1259 | use super::*; [INFO] [stdout] | -------- the item `Threshold` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1264 | id::{constants::*, identity_provider::*, secret_sharing::Threshold, test::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/chain.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 353 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 361 | use std::collections::btree_map::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_proof_types.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::BTreeSet, convert::TryFrom, marker::PhantomData, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/id_verifier.rs:337:23 [INFO] [stdout] | [INFO] [stdout] 329 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 337 | collections::{btree_map::BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_verifier.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommitmentKey` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `CommitmentKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 687 | pedersen_commitment::{CommitmentKey, Value as PedersenValue}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] ... [INFO] [stdout] 689 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 690 | use std::collections::btree_map::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/secret_sharing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/id/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 9 | *, [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `to_bytes` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `to_bytes` is already imported here [INFO] [stdout] 328 | use crate::common::to_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread_rng` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `thread_rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 330 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 330 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 331 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArCurve` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^ - the item `ArCurve` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BaseField` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `BaseField` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpPairing` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `IpPairing` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/test.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{collections::BTreeMap, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `multiexp` is imported redundantly [INFO] [stdout] --> src/sigma_protocols/dlogaggequal.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 150 | use super::*; [INFO] [stdout] | -------- the item `multiexp` is already imported here [INFO] [stdout] 151 | use crate::curve_arithmetic::multiexp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PhantomData` is imported redundantly [INFO] [stdout] --> src/web3id/mod.rs:1782:9 [INFO] [stdout] | [INFO] [stdout] 1775 | use super::*; [INFO] [stdout] | -------- the item `PhantomData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1782 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Generators` is imported redundantly [INFO] [stdout] --> benches/bulletproofs.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | bulletproofs::{inner_product_proof::*, range_proof::*, utils::Generators}, [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Generators` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArCurve` is imported redundantly [INFO] [stdout] --> benches/verify_cdi.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | constants::{ArCurve, BaseField, *}, [INFO] [stdout] | ^^^^^^^ - the item `ArCurve` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BaseField` is imported redundantly [INFO] [stdout] --> benches/verify_cdi.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | constants::{ArCurve, BaseField, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `BaseField` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> benches/verify_cdi.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{collections::BTreeMap, convert::TryFrom, io::Cursor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "6a5e58ed2ca368d1f57fc34def56920567d9007dab30ed25514b61930e241d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5e58ed2ca368d1f57fc34def56920567d9007dab30ed25514b61930e241d6f", kill_on_drop: false }` [INFO] [stdout] 6a5e58ed2ca368d1f57fc34def56920567d9007dab30ed25514b61930e241d6f [INFO] checking concordium_base-3.2.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate concordium_base 3.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate concordium_base 3.2.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concordium_base 3.2.0 [INFO] finished tweaking crates.io crate concordium_base 3.2.0 [INFO] tweaked toml for crates.io crate concordium_base 3.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e28f71c2100e2d6872e4a301119fd9877466dcf8c1ac845881a9eadbf267fb0 [INFO] running `Command { std: "docker" "start" "-a" "5e28f71c2100e2d6872e4a301119fd9877466dcf8c1ac845881a9eadbf267fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e28f71c2100e2d6872e4a301119fd9877466dcf8c1ac845881a9eadbf267fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e28f71c2100e2d6872e4a301119fd9877466dcf8c1ac845881a9eadbf267fb0", kill_on_drop: false }` [INFO] [stdout] 5e28f71c2100e2d6872e4a301119fd9877466dcf8c1ac845881a9eadbf267fb0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93c27e32acd9be9578a2918c8692189c0b705480eb09aa8b74aff3849d58ccf8 [INFO] running `Command { std: "docker" "start" "-a" "93c27e32acd9be9578a2918c8692189c0b705480eb09aa8b74aff3849d58ccf8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling ff_derive v0.4.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking ff v0.5.2 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking group v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking pairing v0.15.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling concordium_base_derive v1.0.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking concordium-contracts-common v8.1.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking concordium_base v3.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/common/serialize.rs (1 fix) [INFO] [stderr] Fixed src/common/mod.rs (1 fix) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/base.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cis2_types.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{convert::TryFrom, fmt::Display, ops, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeyIndex` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^ - the item `KeyIndex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeyPair` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^ - the item `KeyPair` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionSignature` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - the item `TransactionSignature` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/bulletproofs/range_proof.rs:5:86 [INFO] [stdout] | [INFO] [stdout] 5 | curve_arithmetic::{multiexp, multiexp_table, multiexp_worker_given_table, Curve, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | id::id_proof_types::ProofVersion, [INFO] [stdout] 7 | pedersen_commitment::*, [INFO] [stdout] | ---------------------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/bulletproofs/set_membership_proof.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryInto, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/impls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serde_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g1hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g2hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `Field` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `PrimeField` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{common::*, curve_arithmetic::*}; [INFO] [stdout] | ------------------- the item `Field` is already imported here [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Deref, Drop}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_proof_types.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::BTreeSet, convert::TryFrom, marker::PhantomData, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/secret_sharing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/id/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 9 | *, [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sigma_protocols/com_eq_sig.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 13 | curve_arithmetic::*, [INFO] [stdout] | ------------------- the item `Value` is already imported here [INFO] [stdout] 14 | pedersen_commitment::{Commitment, CommitmentKey, Randomness, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/elgamal_benchmarks.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/aggregate_sig/mod.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | let sk_from_bytes = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/aggregate_sig/mod.rs:471:33 [INFO] [stdout] | [INFO] [stdout] 471 | let pk_from_bytes = serialize_deserialize(&pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/aggregate_sig/mod.rs:472:34 [INFO] [stdout] | [INFO] [stdout] 472 | let sig_from_bytes = serialize_deserialize(&sig); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/aggregate_sig/mod.rs:473:36 [INFO] [stdout] | [INFO] [stdout] 473 | let proof_from_bytes = serialize_deserialize(&proof); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in module `super` [INFO] [stdout] --> src/common/serialize.rs:941:35 [INFO] [stdout] | [INFO] [stdout] 941 | let deserialized = super::serialize_deserialize(&map).expect("Deserialization succeeds."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::common::helpers::serialize_deserialize; [INFO] [stdout] | [INFO] [stdout] help: if you import `serialize_deserialize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 941 - let deserialized = super::serialize_deserialize(&map).expect("Deserialization succeeds."); [INFO] [stdout] 941 + let deserialized = serialize_deserialize(&map).expect("Deserialization succeeds."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in module `super` [INFO] [stdout] --> src/common/serialize.rs:957:35 [INFO] [stdout] | [INFO] [stdout] 957 | let deserialized = super::serialize_deserialize(&set).expect("Deserialization succeeds."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::common::helpers::serialize_deserialize; [INFO] [stdout] | [INFO] [stdout] help: if you import `serialize_deserialize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 957 - let deserialized = super::serialize_deserialize(&set).expect("Deserialization succeeds."); [INFO] [stdout] 957 + let deserialized = serialize_deserialize(&set).expect("Deserialization succeeds."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in module `super` [INFO] [stdout] --> src/common/serialize.rs:968:35 [INFO] [stdout] | [INFO] [stdout] 968 | let deserialized = super::serialize_deserialize(&s).expect("Deserialization succeeds."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::common::helpers::serialize_deserialize; [INFO] [stdout] | [INFO] [stdout] help: if you import `serialize_deserialize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 968 - let deserialized = super::serialize_deserialize(&s).expect("Deserialization succeeds."); [INFO] [stdout] 968 + let deserialized = serialize_deserialize(&s).expect("Deserialization succeeds."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in module `crate::common` [INFO] [stdout] --> src/common/types.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | let binary_result = crate::common::serialize_deserialize(&signatures) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `crate::common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 531 + use crate::common::helpers::serialize_deserialize; [INFO] [stdout] | [INFO] [stdout] help: if you import `serialize_deserialize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 565 - let binary_result = crate::common::serialize_deserialize(&signatures) [INFO] [stdout] 565 + let binary_result = serialize_deserialize(&signatures) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/common/version.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let parsed = serialize_deserialize(&actual) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::common::helpers::serialize_deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | let scalar_res = serialize_deserialize(&scalar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 393 | macro_test_scalar_byte_conversion!(sc_bytes_conv_g1, G1); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_scalar_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | let scalar_res = serialize_deserialize(&scalar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 394 | macro_test_scalar_byte_conversion!(sc_bytes_conv_g2, G2); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_scalar_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | let scalar_res = serialize_deserialize(&scalar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 395 | macro_test_scalar_byte_conversion!(sc_bytes_conv_g1_affine, G1Affine); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_scalar_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | let scalar_res = serialize_deserialize(&scalar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 396 | macro_test_scalar_byte_conversion!(sc_bytes_conv_g2_affine, G2Affine); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_scalar_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | let scalar_res = serialize_deserialize(&scalar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 397 | macro_test_scalar_byte_conversion!(sc_bytes_conv_bls12, Bls12); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_scalar_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:369:37 [INFO] [stdout] | [INFO] [stdout] 369 | let curve_res = serialize_deserialize(&curve); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 399 | macro_test_group_byte_conversion!(curve_bytes_conv_g1, G1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_group_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:369:37 [INFO] [stdout] | [INFO] [stdout] 369 | let curve_res = serialize_deserialize(&curve); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 400 | macro_test_group_byte_conversion!(curve_bytes_conv_g2, G2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_group_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:369:37 [INFO] [stdout] | [INFO] [stdout] 369 | let curve_res = serialize_deserialize(&curve); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 401 | macro_test_group_byte_conversion!(curve_bytes_conv_g1_affine, G1Affine); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_group_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:369:37 [INFO] [stdout] | [INFO] [stdout] 369 | let curve_res = serialize_deserialize(&curve); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 402 | macro_test_group_byte_conversion!(curve_bytes_conv_g2_affine, G2Affine); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_group_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | macro_test_value_to_byte_conversion!(value_to_byte_conversion_bls12_381_g1_affine, G1Affine); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_value_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | macro_test_value_to_byte_conversion!(value_to_byte_conversion_bls12_381_g2_affine, G2Affine); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_value_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/eddsa_ed25519/dlog_ed25519.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let proof_des = serialize_deserialize(&proof); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/cipher.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | let s = serialize_deserialize(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 130 | macro_test_cipher_to_byte_conversion!(key_to_cipher_conversion_g1, G1); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_cipher_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/cipher.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | let s = serialize_deserialize(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 131 | macro_test_cipher_to_byte_conversion!(key_to_cipher_conversion_g2, G2); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_cipher_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/message.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let s = serialize_deserialize(&m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/public.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | let res_pk2 = serialize_deserialize(&pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 170 | macro_test_key_to_byte_conversion!(key_to_byte_conversion_g1, G1); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/public.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | let res_pk2 = serialize_deserialize(&pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 171 | macro_test_key_to_byte_conversion!(key_to_byte_conversion_g2, G2); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/secret.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | let res_sk2 = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | macro_test_secret_key_to_byte_conversion!(secret_key_to_byte_conversion_g1, G1); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_secret_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/secret.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | let res_sk2 = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 190 | macro_test_secret_key_to_byte_conversion!(secret_key_to_byte_conversion_g2, G2); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_secret_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/elgamal/secret.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let res = serialize_deserialize(&bsgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | let initial_cdi_values = serialize_deserialize(&initial_cdi.values); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let initial_cdi_sig = serialize_deserialize(&initial_cdi.sig); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | let des_initial = serialize_deserialize(&initial_cdi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | let cdi_values = serialize_deserialize(&cdi.values); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | let cdi_commitments = serialize_deserialize(&cdi.proofs.id_proofs.commitments); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | let cdi_proofs = serialize_deserialize(&cdi.proofs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | let des = serialize_deserialize(&cdi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 450 | let cdi_values = serialize_deserialize(&cdi.values); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | let cdi_commitments = serialize_deserialize(&cdi.proofs.id_proofs.commitments); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 462 | let cdi_proofs = serialize_deserialize(&cdi.proofs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/id/test.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | let des = serialize_deserialize(&cdi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/commitment.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let y = serialize_deserialize(&x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 64 | macro_test_commitment_to_byte_conversion!(commitment_to_byte_conversion_bls12_381_g1, G1); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_commitment_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/commitment.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let y = serialize_deserialize(&x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 66 | macro_test_commitment_to_byte_conversion!(commitment_to_byte_conversion_bls12_381_g2, G2); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_commitment_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/key.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let res_sk2 = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | macro_test_key_byte_conversion!(key_byte_conversion_bls12_381_g1_affine, G1Affine); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_key_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/key.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let res_sk2 = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 171 | macro_test_key_byte_conversion!(key_byte_conversion_bls12_381_g2_affine, G2Affine); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_key_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/randomness.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 102 | / macro_test_randomness_to_byte_conversion!( [INFO] [stdout] 103 | | randomness_to_byte_conversion_bls12_381_g1_affine, [INFO] [stdout] 104 | | G1Affine [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_randomness_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/pedersen_commitment/randomness.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 107 | / macro_test_randomness_to_byte_conversion!( [INFO] [stdout] 108 | | randomness_to_byte_conversion_bls12_381_g2_affine, [INFO] [stdout] 109 | | G2Affine [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_randomness_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/ps_sig/known_message.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 53 | macro_test_message_to_byte_conversion!(message_to_byte_conversion_bls12_381, Bls12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_message_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/ps_sig/public.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 124 | macro_test_public_key_to_byte_conversion!(public_key_to_byte_conversion_bls12_381, Bls12); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_public_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/ps_sig/secret.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let res_val2 = serialize_deserialize(&val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | macro_test_secret_key_to_byte_conversion!(secret_key_to_byte_conversion_bls12_381, Bls12); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_secret_key_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/ps_sig/signature.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let y = serialize_deserialize(&x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 85 | macro_test_signature_to_byte_conversion!(signature_to_byte_conversion_bls12_381, Bls12); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_signature_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/ps_sig/unknown_message.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let y = serialize_deserialize(&x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 94 | / macro_test_unknown_message_to_byte_conversion!( [INFO] [stdout] 95 | | unknown_message_to_byte_conversion_bls12_381, [INFO] [stdout] 96 | | Bls12 [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `macro_test_unknown_message_to_byte_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_deserialize` in this scope [INFO] [stdout] --> src/dodis_yampolskiy_prf/secret.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | let res_sk2 = serialize_deserialize(&sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::helpers::serialize_deserialize` exists but is inaccessible [INFO] [stdout] --> src/common/helpers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_deserialize(x: &A) -> super::ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/base.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cis2_types.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{convert::TryFrom, fmt::Display, ops, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/smart_contracts.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionSignature` is imported redundantly [INFO] [stdout] --> src/transactions.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | types::{Amount, KeyIndex, KeyPair, Timestamp, TransactionSignature, TransactionTime, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - the item `TransactionSignature` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SignatureThreshold` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3172:21 [INFO] [stdout] | [INFO] [stdout] 3172 | id::types::{SignatureThreshold, VerifyKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `SignatureThreshold` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VerifyKey` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3172:41 [INFO] [stdout] | [INFO] [stdout] 3172 | id::types::{SignatureThreshold, VerifyKey}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `VerifyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3174:9 [INFO] [stdout] | [INFO] [stdout] 3174 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3177 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/transactions.rs:3175:9 [INFO] [stdout] | [INFO] [stdout] 3175 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/aggregate_sig/mod.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Curve` is imported redundantly [INFO] [stdout] --> src/bulletproofs/inner_product_proof.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 462 | use super::*; [INFO] [stdout] | -------- the item `Curve` is already imported here [INFO] [stdout] 463 | use crate::curve_arithmetic::Curve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/bulletproofs/set_membership_proof.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryInto, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/impls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serde_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/common/serialize.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g1hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_g2hash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `Field` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/bls12_381_instance.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{bls12_381_g1hash::*, bls12_381_g2hash::*, *}; [INFO] [stdout] | - the item `PrimeField` is already imported here [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] 3 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{common::*, curve_arithmetic::*}; [INFO] [stdout] | ------------------- the item `Field` is already imported here [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/curve_arithmetic/secret_value.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Deref, Drop}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/elgamal/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | use super::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] 213 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/elgamal/mod.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 212 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 215 | use rand::{rngs::ThreadRng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Curve` is imported redundantly [INFO] [stdout] --> src/id/account_holder.rs:1263:9 [INFO] [stdout] | [INFO] [stdout] 1259 | use super::*; [INFO] [stdout] | -------- the item `Curve` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1263 | curve_arithmetic::Curve, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Threshold` is imported redundantly [INFO] [stdout] --> src/id/account_holder.rs:1264:50 [INFO] [stdout] | [INFO] [stdout] 1259 | use super::*; [INFO] [stdout] | -------- the item `Threshold` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1264 | id::{constants::*, identity_provider::*, secret_sharing::Threshold, test::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/chain.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 353 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 361 | use std::collections::btree_map::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_proof_types.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::BTreeSet, convert::TryFrom, marker::PhantomData, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/id_verifier.rs:337:23 [INFO] [stdout] | [INFO] [stdout] 329 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 337 | collections::{btree_map::BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/id_verifier.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommitmentKey` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `CommitmentKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 687 | pedersen_commitment::{CommitmentKey, Value as PedersenValue}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] ... [INFO] [stdout] 689 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/identity_provider.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 683 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 690 | use std::collections::btree_map::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/secret_sharing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/id/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 9 | *, [INFO] [stdout] | - the item `ReadBytesExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/id/types.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `to_bytes` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `to_bytes` is already imported here [INFO] [stdout] 328 | use crate::common::to_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium_base` (lib test) due to 53 previous errors; 50 warnings emitted [INFO] [stdout] warning: the item `thread_rng` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `thread_rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 330 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 330 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/id/utils.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 331 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArCurve` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^ - the item `ArCurve` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BaseField` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `BaseField` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpPairing` is imported redundantly [INFO] [stdout] --> src/id/test.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | constants::{ArCurve, BaseField, IpPairing, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `IpPairing` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/id/test.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{collections::BTreeMap, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `multiexp` is imported redundantly [INFO] [stdout] --> src/sigma_protocols/dlogaggequal.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 150 | use super::*; [INFO] [stdout] | -------- the item `multiexp` is already imported here [INFO] [stdout] 151 | use crate::curve_arithmetic::multiexp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PhantomData` is imported redundantly [INFO] [stdout] --> src/web3id/mod.rs:1782:9 [INFO] [stdout] | [INFO] [stdout] 1775 | use super::*; [INFO] [stdout] | -------- the item `PhantomData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1782 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/id/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | *, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] Migrating benches/serialization_benches.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/eddsa_benchmarks.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/aggregate_signatures.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/aggr_dlog_commit_message.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/multiexp_bench.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/encrypted_transfers_benchmarks.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "93c27e32acd9be9578a2918c8692189c0b705480eb09aa8b74aff3849d58ccf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c27e32acd9be9578a2918c8692189c0b705480eb09aa8b74aff3849d58ccf8", kill_on_drop: false }` [INFO] [stdout] 93c27e32acd9be9578a2918c8692189c0b705480eb09aa8b74aff3849d58ccf8