[INFO] fetching crate wedpr-indy-crypto 0.4.5... [INFO] testing wedpr-indy-crypto-0.4.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wedpr-indy-crypto 0.4.5 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wedpr-indy-crypto 0.4.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding amcl v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding sha2 v0.7.1 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.7.3 (available: v0.10.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0de569d53a0ca7d8935a14bdcc7e665a5909c5af7a7141243aec6d940f00890 [INFO] running `Command { std: "docker" "start" "-a" "d0de569d53a0ca7d8935a14bdcc7e665a5909c5af7a7141243aec6d940f00890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0de569d53a0ca7d8935a14bdcc7e665a5909c5af7a7141243aec6d940f00890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0de569d53a0ca7d8935a14bdcc7e665a5909c5af7a7141243aec6d940f00890", kill_on_drop: false }` [INFO] [stdout] d0de569d53a0ca7d8935a14bdcc7e665a5909c5af7a7141243aec6d940f00890 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4aede9010da0537fdafb0b955d3bbba25d2b0f0f042f40dd64929147ecbc737 [INFO] running `Command { std: "docker" "start" "-a" "b4aede9010da0537fdafb0b955d3bbba25d2b0f0f042f40dd64929147ecbc737", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling int_traits v0.1.1 [INFO] [stderr] Compiling amcl v0.1.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha3 v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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/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 a dyn-compatible 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/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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &dyn RevocationTailsAccessor, [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.21s [INFO] running `Command { std: "docker" "inspect" "b4aede9010da0537fdafb0b955d3bbba25d2b0f0f042f40dd64929147ecbc737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4aede9010da0537fdafb0b955d3bbba25d2b0f0f042f40dd64929147ecbc737", kill_on_drop: false }` [INFO] [stdout] b4aede9010da0537fdafb0b955d3bbba25d2b0f0f042f40dd64929147ecbc737 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0719f155350d51010dcb133361e106150881cb641d402c5936275a19a944ce7 [INFO] running `Command { std: "docker" "start" "-a" "f0719f155350d51010dcb133361e106150881cb641d402c5936275a19a944ce7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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/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 a dyn-compatible 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/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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &dyn RevocationTailsAccessor, [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling wedpr-indy-crypto v0.4.5 (/opt/rustwide/workdir) [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[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] 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] 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 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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/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 a dyn-compatible 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/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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | rev_tails_accessor: &dyn RevocationTailsAccessor, [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "f0719f155350d51010dcb133361e106150881cb641d402c5936275a19a944ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0719f155350d51010dcb133361e106150881cb641d402c5936275a19a944ce7", kill_on_drop: false }` [INFO] [stdout] f0719f155350d51010dcb133361e106150881cb641d402c5936275a19a944ce7