[INFO] fetching crate wedpr-indy-crypto 0.4.5... [INFO] testing wedpr-indy-crypto-0.4.5 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate wedpr-indy-crypto 0.4.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate wedpr-indy-crypto 0.4.5 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cae4381d6a42b5bfe0fe052534d9ef4f15fc0e89faceb70ffea3cb52a3cd7ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7cae4381d6a42b5bfe0fe052534d9ef4f15fc0e89faceb70ffea3cb52a3cd7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cae4381d6a42b5bfe0fe052534d9ef4f15fc0e89faceb70ffea3cb52a3cd7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cae4381d6a42b5bfe0fe052534d9ef4f15fc0e89faceb70ffea3cb52a3cd7ba", kill_on_drop: false }` [INFO] [stdout] 7cae4381d6a42b5bfe0fe052534d9ef4f15fc0e89faceb70ffea3cb52a3cd7ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19beb13df5736cf47665b69cda6b206e515cf292a521173c1382026aa61d61c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c19beb13df5736cf47665b69cda6b206e515cf292a521173c1382026aa61d61c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling int_traits v0.1.1 [INFO] [stderr] Compiling amcl v0.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v1.0.73 [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 digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha3 v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wedpr-indy-crypto v0.4.5 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RevocationTailsAccessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/bn/openssl.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let checks = prime_len.log2() as i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `log2(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(int_log)]` to the crate attributes to enable `core::num::::log2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.86s [INFO] running `Command { std: "docker" "inspect" "c19beb13df5736cf47665b69cda6b206e515cf292a521173c1382026aa61d61c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19beb13df5736cf47665b69cda6b206e515cf292a521173c1382026aa61d61c", kill_on_drop: false }` [INFO] [stdout] c19beb13df5736cf47665b69cda6b206e515cf292a521173c1382026aa61d61c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fea2adc7a9b694081e0338cd7f1ef4b63ffec0dd98142b64e52d640e6b639070 [INFO] running `Command { std: "docker" "start" "-a" "fea2adc7a9b694081e0338cd7f1ef4b63ffec0dd98142b64e52d640e6b639070", kill_on_drop: false }` [INFO] [stderr] Compiling wedpr-indy-crypto v0.4.5 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RevocationTailsAccessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/bn/openssl.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let checks = prime_len.log2() as i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `log2(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(int_log)]` to the crate attributes to enable `core::num::::log2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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: 11 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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wedpr-indy-crypto` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RevocationTailsAccessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tail)` [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 issue #80165 [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/errors/mod.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/bn/openssl.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let checks = prime_len.log2() as i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `log2(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(int_log)]` to the crate attributes to enable `core::num::::log2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fea2adc7a9b694081e0338cd7f1ef4b63ffec0dd98142b64e52d640e6b639070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea2adc7a9b694081e0338cd7f1ef4b63ffec0dd98142b64e52d640e6b639070", kill_on_drop: false }` [INFO] [stdout] fea2adc7a9b694081e0338cd7f1ef4b63ffec0dd98142b64e52d640e6b639070