[INFO] fetching crate wedpr-indy-crypto 0.4.5... [INFO] building wedpr-indy-crypto-0.4.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate wedpr-indy-crypto 0.4.5 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wedpr-indy-crypto 0.4.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded int_traits v0.1.1 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded amcl v0.1.3 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded sha3 v0.7.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a7d6fcf95aca9379d0e99c401e2057aed03ea85e3dc09f1ad151ac2c1ba3e1 [INFO] running `Command { std: "docker" "start" "-a" "f6a7d6fcf95aca9379d0e99c401e2057aed03ea85e3dc09f1ad151ac2c1ba3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a7d6fcf95aca9379d0e99c401e2057aed03ea85e3dc09f1ad151ac2c1ba3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a7d6fcf95aca9379d0e99c401e2057aed03ea85e3dc09f1ad151ac2c1ba3e1", kill_on_drop: false }` [INFO] [stdout] f6a7d6fcf95aca9379d0e99c401e2057aed03ea85e3dc09f1ad151ac2c1ba3e1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 620e0222a4b588f5fc0465ec53ce37dd1a87a2b32e2bd6cb98644b1837323819 [INFO] running `Command { std: "docker" "start" "-a" "620e0222a4b588f5fc0465ec53ce37dd1a87a2b32e2bd6cb98644b1837323819", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling generic-array v0.9.1 [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 time v0.1.45 [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 openssl-macros v0.1.1 [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] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling sha3 v0.7.3 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling env_logger v0.5.13 [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 9.84s [INFO] running `Command { std: "docker" "inspect" "620e0222a4b588f5fc0465ec53ce37dd1a87a2b32e2bd6cb98644b1837323819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620e0222a4b588f5fc0465ec53ce37dd1a87a2b32e2bd6cb98644b1837323819", kill_on_drop: false }` [INFO] [stdout] 620e0222a4b588f5fc0465ec53ce37dd1a87a2b32e2bd6cb98644b1837323819 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d59fe22f1c827c4286cac7dba95c93d6399795c1eacbe9caa2f9800e873b70 [INFO] running `Command { std: "docker" "start" "-a" "39d59fe22f1c827c4286cac7dba95c93d6399795c1eacbe9caa2f9800e873b70", 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] [stderr] Compiling wedpr-indy-crypto v0.4.5 (/opt/rustwide/workdir) [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] [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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | &gvt_rev_reg_delta.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | assert!(xyz_rev_reg_delta.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | &rev_reg_delta.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:634:31 [INFO] [stdout] | [INFO] [stdout] 634 | assert!(rev_reg_delta.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:937:44 [INFO] [stdout] | [INFO] [stdout] 937 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:998:41 [INFO] [stdout] | [INFO] [stdout] 998 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1058:41 [INFO] [stdout] | [INFO] [stdout] 1058 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1187:44 [INFO] [stdout] | [INFO] [stdout] 1187 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1247:41 [INFO] [stdout] | [INFO] [stdout] 1247 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1306:41 [INFO] [stdout] | [INFO] [stdout] 1306 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1448:44 [INFO] [stdout] | [INFO] [stdout] 1448 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1507:41 [INFO] [stdout] | [INFO] [stdout] 1507 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1566:41 [INFO] [stdout] | [INFO] [stdout] 1566 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1701:44 [INFO] [stdout] | [INFO] [stdout] 1701 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1760:41 [INFO] [stdout] | [INFO] [stdout] 1760 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1820:43 [INFO] [stdout] | [INFO] [stdout] 1820 | let rev_reg_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:1970:44 [INFO] [stdout] | [INFO] [stdout] 1970 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2030:41 [INFO] [stdout] | [INFO] [stdout] 2030 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2166:28 [INFO] [stdout] | [INFO] [stdout] 2166 | &rev_reg_delta.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2300:28 [INFO] [stdout] | [INFO] [stdout] 2300 | &rev_reg_delta.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2434:28 [INFO] [stdout] | [INFO] [stdout] 2434 | &rev_reg_delta.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2676:44 [INFO] [stdout] | [INFO] [stdout] 2676 | let mut full_delta = rev_reg_delta.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cl.rs:2821:41 [INFO] [stdout] | [INFO] [stdout] 2821 | full_delta.merge(&rev_reg_delta.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wedpr-indy-crypto` (test "cl") due to 33 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" "39d59fe22f1c827c4286cac7dba95c93d6399795c1eacbe9caa2f9800e873b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d59fe22f1c827c4286cac7dba95c93d6399795c1eacbe9caa2f9800e873b70", kill_on_drop: false }` [INFO] [stdout] 39d59fe22f1c827c4286cac7dba95c93d6399795c1eacbe9caa2f9800e873b70