[INFO] fetching crate wedpr-indy-crypto 0.4.5... [INFO] checking wedpr-indy-crypto-0.4.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate wedpr-indy-crypto 0.4.5 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate wedpr-indy-crypto 0.4.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wedpr-indy-crypto 0.4.5 [INFO] finished tweaking crates.io crate wedpr-indy-crypto 0.4.5 [INFO] tweaked toml for crates.io crate wedpr-indy-crypto 0.4.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding amcl v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.3.3 (available: v0.10.4) [INFO] [stderr] Adding byte-tools v0.2.0 (available: v0.3.1) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding digest v0.7.6 (available: v0.10.7) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.5) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding generic-array v0.9.1 (available: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (available: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (available: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (available: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding sha2 v0.7.1 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.7.3 (available: v0.10.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded sha3 v0.7.3 [INFO] [stderr] Downloaded amcl v0.1.3 [INFO] [stderr] Downloaded int_traits v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c449421f6e26eb47d78fa66807cd96173fb46adf1d325c29e5ca5eebf64bf947 [INFO] running `Command { std: "docker" "start" "-a" "c449421f6e26eb47d78fa66807cd96173fb46adf1d325c29e5ca5eebf64bf947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c449421f6e26eb47d78fa66807cd96173fb46adf1d325c29e5ca5eebf64bf947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c449421f6e26eb47d78fa66807cd96173fb46adf1d325c29e5ca5eebf64bf947", kill_on_drop: false }` [INFO] [stdout] c449421f6e26eb47d78fa66807cd96173fb46adf1d325c29e5ca5eebf64bf947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8355409fdfa5e78d950b269aa50c08010006144346b3a9c6a151f723f6aa1aa [INFO] running `Command { std: "docker" "start" "-a" "d8355409fdfa5e78d950b269aa50c08010006144346b3a9c6a151f723f6aa1aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking int_traits v0.1.1 [INFO] [stderr] Checking amcl v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking wedpr-indy-crypto v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BigNumberContext` [INFO] [stdout] --> src/cl/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use bn::{BigNumber, BigNumberContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigNumberContext` [INFO] [stdout] --> src/cl/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use bn::{BigNumber, BigNumberContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/cl/mod.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/mod.rs:551:56 [INFO] [stdout] | [INFO] [stdout] 551 | fn access_tail(&self, tail_id: u32, accessor: &mut FnMut(&Tail)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 551 | fn access_tail(&self, tail_id: u32, accessor: &mut dyn FnMut(&Tail)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/mod.rs:551:56 [INFO] [stdout] | [INFO] [stdout] 551 | fn access_tail(&self, tail_id: u32, accessor: &mut FnMut(&Tail)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 551 | fn access_tail(&self, tail_id: u32, accessor: &mut dyn FnMut(&Tail)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/mod.rs:565:24 [INFO] [stdout] | [INFO] [stdout] 565 | accessor: &mut FnMut(&Tail), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 565 | accessor: &mut dyn FnMut(&Tail), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/mod.rs:565:24 [INFO] [stdout] | [INFO] [stdout] 565 | accessor: &mut FnMut(&Tail), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 565 | accessor: &mut dyn FnMut(&Tail), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/issuer.rs:1209:30 [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &RevocationTailsAccessor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &dyn RevocationTailsAccessor, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cl/issuer.rs:1209:30 [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &RevocationTailsAccessor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &dyn RevocationTailsAccessor, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors/mod.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors/mod.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bn/openssl.rs:624:47 [INFO] [stdout] | [INFO] [stdout] 624 | IndyCryptoError::InvalidStructure(err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:164:54 [INFO] [stdout] | [INFO] [stdout] 164 | IndyCryptoError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | IndyCryptoError::InvalidState(err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bn/openssl.rs:624:47 [INFO] [stdout] | [INFO] [stdout] 624 | IndyCryptoError::InvalidStructure(err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:164:54 [INFO] [stdout] | [INFO] [stdout] 164 | IndyCryptoError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | IndyCryptoError::InvalidState(err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_set` [INFO] [stdout] --> src/cl/mod.rs:911:21 [INFO] [stdout] | [INFO] [stdout] 911 | let mut attr_set: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/mod.rs:911:17 [INFO] [stdout] | [INFO] [stdout] 911 | let mut attr_set: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_set` [INFO] [stdout] --> src/cl/mod.rs:911:21 [INFO] [stdout] | [INFO] [stdout] 911 | let mut attr_set: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/mod.rs:911:17 [INFO] [stdout] | [INFO] [stdout] 911 | let mut attr_set: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/cl/prover.rs:704:58 [INFO] [stdout] | [INFO] [stdout] 704 | && !p_pub_key.r.contains_key(attr.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/cl/prover.rs:717:89 [INFO] [stdout] | [INFO] [stdout] 717 | (value.is_known() || value.is_hidden()) && p_pub_key.r.contains_key(attr.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `indy_crypto` [INFO] [stdout] --> tests/cl.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate indy_crypto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/cl/prover.rs:704:58 [INFO] [stdout] | [INFO] [stdout] 704 | && !p_pub_key.r.contains_key(attr.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/cl/prover.rs:717:89 [INFO] [stdout] | [INFO] [stdout] 717 | (value.is_known() || value.is_hidden()) && p_pub_key.r.contains_key(attr.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CredentialSchema` in this scope [INFO] [stdout] --> tests/cl.rs:4306:39 [INFO] [stdout] | [INFO] [stdout] 4306 | pub fn gvt_credential_schema() -> CredentialSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CredentialSchema` in this scope [INFO] [stdout] --> tests/cl.rs:4315:39 [INFO] [stdout] | [INFO] [stdout] 4315 | pub fn xyz_credential_schema() -> CredentialSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonCredentialSchema` in this scope [INFO] [stdout] --> tests/cl.rs:4322:39 [INFO] [stdout] | [INFO] [stdout] 4322 | pub fn non_credential_schema() -> NonCredentialSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MasterSecret` in this scope [INFO] [stdout] --> tests/cl.rs:4331:50 [INFO] [stdout] | [INFO] [stdout] 4331 | pub fn gvt_credential_values(master_secret: &MasterSecret) -> CredentialValues { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CredentialValues` in this scope [INFO] [stdout] --> tests/cl.rs:4331:67 [INFO] [stdout] | [INFO] [stdout] 4331 | pub fn gvt_credential_values(master_secret: &MasterSecret) -> CredentialValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MasterSecret` in this scope [INFO] [stdout] --> tests/cl.rs:4354:50 [INFO] [stdout] | [INFO] [stdout] 4354 | pub fn xyz_credential_values(master_secret: &MasterSecret) -> CredentialValues { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CredentialValues` in this scope [INFO] [stdout] --> tests/cl.rs:4354:67 [INFO] [stdout] | [INFO] [stdout] 4354 | pub fn xyz_credential_values(master_secret: &MasterSecret) -> CredentialValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubProofRequest` in this scope [INFO] [stdout] --> tests/cl.rs:4368:39 [INFO] [stdout] | [INFO] [stdout] 4368 | pub fn gvt_sub_proof_request() -> SubProofRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubProofRequest` in this scope [INFO] [stdout] --> tests/cl.rs:4379:39 [INFO] [stdout] | [INFO] [stdout] 4379 | pub fn xyz_sub_proof_request() -> SubProofRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wedpr-indy-crypto` (test "cl") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "d8355409fdfa5e78d950b269aa50c08010006144346b3a9c6a151f723f6aa1aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8355409fdfa5e78d950b269aa50c08010006144346b3a9c6a151f723f6aa1aa", kill_on_drop: false }` [INFO] [stdout] d8355409fdfa5e78d950b269aa50c08010006144346b3a9c6a151f723f6aa1aa