[INFO] crate rust-libindy-wrapper 0.2.13 is already in cache [INFO] testing rust-libindy-wrapper-0.2.13 against 1.45.2 for beta-1.46-1 [INFO] extracting crate rust-libindy-wrapper 0.2.13 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rust-libindy-wrapper 0.2.13 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-libindy-wrapper 0.2.13 [INFO] finished tweaking crates.io crate rust-libindy-wrapper 0.2.13 [INFO] tweaked toml for crates.io crate rust-libindy-wrapper 0.2.13 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806ae7d08ba73e55547ccdbc54d3d51407dad88ee9a85a1d7a95a394ab6a0dc1 [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" "806ae7d08ba73e55547ccdbc54d3d51407dad88ee9a85a1d7a95a394ab6a0dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806ae7d08ba73e55547ccdbc54d3d51407dad88ee9a85a1d7a95a394ab6a0dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806ae7d08ba73e55547ccdbc54d3d51407dad88ee9a85a1d7a95a394ab6a0dc1", kill_on_drop: false }` [INFO] [stdout] 806ae7d08ba73e55547ccdbc54d3d51407dad88ee9a85a1d7a95a394ab6a0dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddd49b5225fa64e97787ff600b3aa3eac3fb381d7c2b99a08b4b182eaa6a5222 [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" "ddd49b5225fa64e97787ff600b3aa3eac3fb381d7c2b99a08b4b182eaa6a5222", kill_on_drop: false }` [INFO] [stderr] Compiling rust-libindy-wrapper v0.2.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn convert_cb_ec(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn convert_cb_ec_i32(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 75 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn convert_cb_ec_i32_usize(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 105 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn convert_cb_ec_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn convert_cb_ec_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:166:58 [INFO] [stdout] | [INFO] [stdout] 166 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:196:57 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn convert_cb_ec_string_opt_string(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:198:58 [INFO] [stdout] | [INFO] [stdout] 198 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:227:60 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn convert_cb_ec_string_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:259:68 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn convert_cb_ec_string_opt_string_opt_string(closure: Box, Option) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:261:58 [INFO] [stdout] | [INFO] [stdout] 261 | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn convert_cb_ec_string_string_u64(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:294:59 [INFO] [stdout] | [INFO] [stdout] 294 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn convert_cb_ec_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn convert_cb_ec_string_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:357:58 [INFO] [stdout] | [INFO] [stdout] 357 | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:387:44 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn convert_cb_ec_bool(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:389:58 [INFO] [stdout] | [INFO] [stdout] 389 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / lazy_static! { [INFO] [stdout] 75 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / lazy_static! { [INFO] [stdout] 105 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / lazy_static! { [INFO] [stdout] 135 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / lazy_static! { [INFO] [stdout] 166 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 199 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / lazy_static! { [INFO] [stdout] 229 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | / lazy_static! { [INFO] [stdout] 261 | | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] 262 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / lazy_static! { [INFO] [stdout] 294 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 295 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | / lazy_static! { [INFO] [stdout] 326 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / lazy_static! { [INFO] [stdout] 357 | | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] 358 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | / lazy_static! { [INFO] [stdout] 389 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam1` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | CommonInvalidParam1 => "Caller passed invalid value as param 1", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam2` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | CommonInvalidParam2 => "Caller passed invalid value as param 2", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam3` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | CommonInvalidParam3 => "Caller passed invalid value as param 3", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam4` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | CommonInvalidParam4 => "Caller passed invalid value as param 4", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam5` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | CommonInvalidParam5 => "Caller passed invalid value as param 5", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam6` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | CommonInvalidParam6 => "Caller passed invalid value as param 6", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam7` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | CommonInvalidParam7 => "Caller passed invalid value as param 7", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam8` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | CommonInvalidParam8 => "Caller passed invalid value as param 8", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam9` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | CommonInvalidParam9 => "Caller passed invalid value as param 9", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam10` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | CommonInvalidParam10 => "Caller passed invalid value as param 10", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam11` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | CommonInvalidParam11 => "Caller passed invalid value as param 11", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam12` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | CommonInvalidParam12 => "Caller passed invalid value as param 12", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam13` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | CommonInvalidParam13 => "Caller passed invalid value as param 13", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam13` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam14` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | CommonInvalidParam14 => "Caller passed invalid value as param 14", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam14` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam15` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | CommonInvalidParam15 => "Caller passed invalid value as param 15", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam16` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | CommonInvalidParam16 => "Caller passed invalid value as param 16", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam17` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | CommonInvalidParam17 => "Caller passed invalid value as param 17", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam17` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam18` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | CommonInvalidParam18 => "Caller passed invalid value as param 18", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam19` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | CommonInvalidParam19 => "Caller passed invalid value as param 19", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam19` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam20` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | CommonInvalidParam20 => "Caller passed invalid value as param 20", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam21` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | CommonInvalidParam21 => "Caller passed invalid value as param 21", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam21` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam22` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | CommonInvalidParam22 => "Caller passed invalid value as param 22", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam22` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam23` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | CommonInvalidParam23 => "Caller passed invalid value as param 23", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam24` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | CommonInvalidParam24 => "Caller passed invalid value as param 24", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam25` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | CommonInvalidParam25 => "Caller passed invalid value as param 25", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam25` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam26` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | CommonInvalidParam26 => "Caller passed invalid value as param 26", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam26` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam27` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | CommonInvalidParam27 => "Caller passed invalid value as param 27", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam27` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidState` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | CommonInvalidState => "Invalid library state was detected in runtime. It signals library bug", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidStructure` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | CommonInvalidStructure => "Object (json, config, key, credential and etc...) passed by library caller has invalid structure", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidStructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonIOError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | CommonIOError => "IO Error", [INFO] [stdout] | ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonIOError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInvalidHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | WalletInvalidHandle => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInvalidHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletUnknownTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | WalletUnknownTypeError => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletUnknownTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletTypeAlreadyRegisteredError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | WalletTypeAlreadyRegisteredError => "Attempt to register already existing wallet type", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletTypeAlreadyRegisteredError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | WalletAlreadyExistsError => "Attempt to create wallet with name used for another exists wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletNotFoundError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | WalletNotFoundError => "Requested entity id isn't present in wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletNotFoundError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletIncompatiblePoolError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | WalletIncompatiblePoolError => "Trying to use wallet with pool that has different name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletIncompatiblePoolError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAccessFailed` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | WalletAccessFailed => "Trying to open wallet encrypted wallet with invalid credentials", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAccessFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyOpenedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | WalletAlreadyOpenedError => "Trying to open wallet that was opened already", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyOpenedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInputError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | WalletInputError => "Input provided to wallet operations is considered not valid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInputError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletDecodingError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | WalletDecodingError => "Decoding of wallet data during input/output failed", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletDecodingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletStorageError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | WalletStorageError => "Storage error occurred during wallet operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletStorageError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletEncryptionError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | WalletEncryptionError => "Error during encryption-related operations", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletEncryptionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemNotFound` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | WalletItemNotFound => "Requested wallet item not found", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemAlreadyExists` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | WalletItemAlreadyExists => "Returned if wallet's add_record operation is used with record name that already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemAlreadyExists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletQueryError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | WalletQueryError => "Returned if provided wallet query is invalid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletQueryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerNotCreatedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | PoolLedgerNotCreatedError => "Trying to open pool ledger that wasn't created before", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerNotCreatedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerInvalidPoolHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | PoolLedgerInvalidPoolHandle => "Caller passed invalid pool ledger handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerInvalidPoolHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTerminated` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | PoolLedgerTerminated => "Pool ledger terminated", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTerminated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerNoConsensusError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | LedgerNoConsensusError => "No concensus during ledger operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerNoConsensusError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerInvalidTransaction` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | LedgerInvalidTransaction => "Attempt to send unknown or incomplete transaction message", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerInvalidTransaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerSecurityError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | LedgerSecurityError => "Attempt to send transaction without the necessary privileges", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerSecurityError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerConfigAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | PoolLedgerConfigAlreadyExistsError => "Attempt to create pool ledger config with name used for another existing pool", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerConfigAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTimeout` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | PoolLedgerTimeout => "Timeout for action", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTimeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolIncompatibleProtocolVersion` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | PoolIncompatibleProtocolVersion => "Attempt to open Pool for witch Genesis Transactions are not compatible with set Protocol version. Set the correct Protocol version first.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolIncompatibleProtocolVersion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsRevocationRegistryFullError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | AnoncredsRevocationRegistryFullError => "Revocation registry is full and creation of new registry is necessary", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsRevocationRegistryFullError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsInvalidUserRevocIndex` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | AnoncredsInvalidUserRevocIndex => "Invalid user revocation index", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsInvalidUserRevocIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsMasterSecretDuplicateNameError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | AnoncredsMasterSecretDuplicateNameError => "Attempt to generate master secret with duplicated name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsMasterSecretDuplicateNameError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsProofRejected` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | AnoncredsProofRejected => "Proof rejected", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsProofRejected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredentialRevoked` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | AnoncredsCredentialRevoked => "Credential revoked", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredentialRevoked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredDefAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | AnoncredsCredDefAlreadyExistsError => "Credential definition already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredDefAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownCryptoTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | UnknownCryptoTypeError => "Unknown format of DID entity keys", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownCryptoTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DidAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | DidAlreadyExistsError => "Did already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::DidAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownPaymentMethod` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | UnknownPaymentMethod => "Unknown payment method was given", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownPaymentMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `IncompatiblePaymentError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | IncompatiblePaymentError => "Multiple different payment methods were specified", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::IncompatiblePaymentError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentInsufficientFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | PaymentInsufficientFundsError => "Payment cannot be processed because there was insufficient funds", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentInsufficientFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentSourceDoesNotExistError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | PaymentSourceDoesNotExistError => "No such source on a ledger.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentSourceDoesNotExistError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentExtraFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | PaymentExtraFundsError => "Payment cannot be processed because there were more funds than required", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentExtraFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.76s [INFO] running `Command { std: "docker" "inspect" "ddd49b5225fa64e97787ff600b3aa3eac3fb381d7c2b99a08b4b182eaa6a5222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd49b5225fa64e97787ff600b3aa3eac3fb381d7c2b99a08b4b182eaa6a5222", kill_on_drop: false }` [INFO] [stdout] ddd49b5225fa64e97787ff600b3aa3eac3fb381d7c2b99a08b4b182eaa6a5222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 2e61c9849bd91e010807a0a887e41c54877bfb01168324a064937c2fa25af404 [INFO] running `Command { std: "docker" "start" "-a" "2e61c9849bd91e010807a0a887e41c54877bfb01168324a064937c2fa25af404", kill_on_drop: false }` [INFO] [stderr] Compiling rust-libindy-wrapper v0.2.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn convert_cb_ec(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn convert_cb_ec_i32(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 75 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn convert_cb_ec_i32_usize(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 105 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn convert_cb_ec_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn convert_cb_ec_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:166:58 [INFO] [stdout] | [INFO] [stdout] 166 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:196:57 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn convert_cb_ec_string_opt_string(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:198:58 [INFO] [stdout] | [INFO] [stdout] 198 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:227:60 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn convert_cb_ec_string_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:259:68 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn convert_cb_ec_string_opt_string_opt_string(closure: Box, Option) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:261:58 [INFO] [stdout] | [INFO] [stdout] 261 | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn convert_cb_ec_string_string_u64(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:294:59 [INFO] [stdout] | [INFO] [stdout] 294 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn convert_cb_ec_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn convert_cb_ec_string_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:357:58 [INFO] [stdout] | [INFO] [stdout] 357 | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:387:44 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn convert_cb_ec_bool(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:389:58 [INFO] [stdout] | [INFO] [stdout] 389 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / lazy_static! { [INFO] [stdout] 75 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / lazy_static! { [INFO] [stdout] 105 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / lazy_static! { [INFO] [stdout] 135 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / lazy_static! { [INFO] [stdout] 166 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 199 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / lazy_static! { [INFO] [stdout] 229 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | / lazy_static! { [INFO] [stdout] 261 | | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] 262 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / lazy_static! { [INFO] [stdout] 294 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 295 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | / lazy_static! { [INFO] [stdout] 326 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / lazy_static! { [INFO] [stdout] 357 | | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] 358 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | / lazy_static! { [INFO] [stdout] 389 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam1` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | CommonInvalidParam1 => "Caller passed invalid value as param 1", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam2` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | CommonInvalidParam2 => "Caller passed invalid value as param 2", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam3` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | CommonInvalidParam3 => "Caller passed invalid value as param 3", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam4` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | CommonInvalidParam4 => "Caller passed invalid value as param 4", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam5` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | CommonInvalidParam5 => "Caller passed invalid value as param 5", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam6` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | CommonInvalidParam6 => "Caller passed invalid value as param 6", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam7` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | CommonInvalidParam7 => "Caller passed invalid value as param 7", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam8` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | CommonInvalidParam8 => "Caller passed invalid value as param 8", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam9` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | CommonInvalidParam9 => "Caller passed invalid value as param 9", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam10` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | CommonInvalidParam10 => "Caller passed invalid value as param 10", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam11` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | CommonInvalidParam11 => "Caller passed invalid value as param 11", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam12` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | CommonInvalidParam12 => "Caller passed invalid value as param 12", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam13` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | CommonInvalidParam13 => "Caller passed invalid value as param 13", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam13` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam14` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | CommonInvalidParam14 => "Caller passed invalid value as param 14", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam14` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam15` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | CommonInvalidParam15 => "Caller passed invalid value as param 15", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam16` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | CommonInvalidParam16 => "Caller passed invalid value as param 16", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam17` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | CommonInvalidParam17 => "Caller passed invalid value as param 17", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam17` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam18` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | CommonInvalidParam18 => "Caller passed invalid value as param 18", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam19` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | CommonInvalidParam19 => "Caller passed invalid value as param 19", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam19` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam20` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | CommonInvalidParam20 => "Caller passed invalid value as param 20", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam21` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | CommonInvalidParam21 => "Caller passed invalid value as param 21", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam21` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam22` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | CommonInvalidParam22 => "Caller passed invalid value as param 22", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam22` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam23` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | CommonInvalidParam23 => "Caller passed invalid value as param 23", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam24` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | CommonInvalidParam24 => "Caller passed invalid value as param 24", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam25` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | CommonInvalidParam25 => "Caller passed invalid value as param 25", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam25` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam26` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | CommonInvalidParam26 => "Caller passed invalid value as param 26", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam26` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam27` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | CommonInvalidParam27 => "Caller passed invalid value as param 27", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam27` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidState` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | CommonInvalidState => "Invalid library state was detected in runtime. It signals library bug", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidStructure` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | CommonInvalidStructure => "Object (json, config, key, credential and etc...) passed by library caller has invalid structure", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidStructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonIOError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | CommonIOError => "IO Error", [INFO] [stdout] | ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonIOError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInvalidHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | WalletInvalidHandle => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInvalidHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletUnknownTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | WalletUnknownTypeError => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletUnknownTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletTypeAlreadyRegisteredError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | WalletTypeAlreadyRegisteredError => "Attempt to register already existing wallet type", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletTypeAlreadyRegisteredError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | WalletAlreadyExistsError => "Attempt to create wallet with name used for another exists wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletNotFoundError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | WalletNotFoundError => "Requested entity id isn't present in wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletNotFoundError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletIncompatiblePoolError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | WalletIncompatiblePoolError => "Trying to use wallet with pool that has different name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletIncompatiblePoolError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAccessFailed` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | WalletAccessFailed => "Trying to open wallet encrypted wallet with invalid credentials", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAccessFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyOpenedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | WalletAlreadyOpenedError => "Trying to open wallet that was opened already", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyOpenedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInputError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | WalletInputError => "Input provided to wallet operations is considered not valid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInputError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletDecodingError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | WalletDecodingError => "Decoding of wallet data during input/output failed", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletDecodingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletStorageError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | WalletStorageError => "Storage error occurred during wallet operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletStorageError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletEncryptionError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | WalletEncryptionError => "Error during encryption-related operations", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletEncryptionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemNotFound` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | WalletItemNotFound => "Requested wallet item not found", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemAlreadyExists` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | WalletItemAlreadyExists => "Returned if wallet's add_record operation is used with record name that already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemAlreadyExists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletQueryError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | WalletQueryError => "Returned if provided wallet query is invalid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletQueryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerNotCreatedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | PoolLedgerNotCreatedError => "Trying to open pool ledger that wasn't created before", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerNotCreatedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerInvalidPoolHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | PoolLedgerInvalidPoolHandle => "Caller passed invalid pool ledger handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerInvalidPoolHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTerminated` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | PoolLedgerTerminated => "Pool ledger terminated", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTerminated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerNoConsensusError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | LedgerNoConsensusError => "No concensus during ledger operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerNoConsensusError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerInvalidTransaction` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | LedgerInvalidTransaction => "Attempt to send unknown or incomplete transaction message", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerInvalidTransaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerSecurityError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | LedgerSecurityError => "Attempt to send transaction without the necessary privileges", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerSecurityError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerConfigAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | PoolLedgerConfigAlreadyExistsError => "Attempt to create pool ledger config with name used for another existing pool", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerConfigAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTimeout` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | PoolLedgerTimeout => "Timeout for action", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTimeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolIncompatibleProtocolVersion` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | PoolIncompatibleProtocolVersion => "Attempt to open Pool for witch Genesis Transactions are not compatible with set Protocol version. Set the correct Protocol version first.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolIncompatibleProtocolVersion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsRevocationRegistryFullError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | AnoncredsRevocationRegistryFullError => "Revocation registry is full and creation of new registry is necessary", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsRevocationRegistryFullError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsInvalidUserRevocIndex` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | AnoncredsInvalidUserRevocIndex => "Invalid user revocation index", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsInvalidUserRevocIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsMasterSecretDuplicateNameError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | AnoncredsMasterSecretDuplicateNameError => "Attempt to generate master secret with duplicated name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsMasterSecretDuplicateNameError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsProofRejected` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | AnoncredsProofRejected => "Proof rejected", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsProofRejected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredentialRevoked` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | AnoncredsCredentialRevoked => "Credential revoked", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredentialRevoked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredDefAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | AnoncredsCredDefAlreadyExistsError => "Credential definition already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredDefAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownCryptoTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | UnknownCryptoTypeError => "Unknown format of DID entity keys", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownCryptoTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DidAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | DidAlreadyExistsError => "Did already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::DidAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownPaymentMethod` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | UnknownPaymentMethod => "Unknown payment method was given", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownPaymentMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `IncompatiblePaymentError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | IncompatiblePaymentError => "Multiple different payment methods were specified", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::IncompatiblePaymentError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentInsufficientFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | PaymentInsufficientFundsError => "Payment cannot be processed because there was insufficient funds", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentInsufficientFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentSourceDoesNotExistError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | PaymentSourceDoesNotExistError => "No such source on a ledger.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentSourceDoesNotExistError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentExtraFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | PaymentExtraFundsError => "Payment cannot be processed because there were more funds than required", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentExtraFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn convert_cb_ec(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn convert_cb_ec_i32(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 75 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn convert_cb_ec_i32_usize(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 105 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, IndyHandle, usize) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn convert_cb_ec_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn convert_cb_ec_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:166:58 [INFO] [stdout] | [INFO] [stdout] 166 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:196:57 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn convert_cb_ec_string_opt_string(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:198:58 [INFO] [stdout] | [INFO] [stdout] 198 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:227:60 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn convert_cb_ec_string_string_string(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:259:68 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn convert_cb_ec_string_opt_string_opt_string(closure: Box, Option) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:261:58 [INFO] [stdout] | [INFO] [stdout] 261 | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Option, Option) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn convert_cb_ec_string_string_u64(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:294:59 [INFO] [stdout] | [INFO] [stdout] 294 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, String, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn convert_cb_ec_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn convert_cb_ec_string_slice(closure: Box) + Send>) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:357:58 [INFO] [stdout] | [INFO] [stdout] 357 | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, String, Vec) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:387:44 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn convert_cb_ec_bool(closure: Box) -> (IndyHandle, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/callbacks.rs:389:58 [INFO] [stdout] | [INFO] [stdout] 389 | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ErrorCode, bool) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / lazy_static! { [INFO] [stdout] 75 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / lazy_static! { [INFO] [stdout] 105 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / lazy_static! { [INFO] [stdout] 135 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / lazy_static! { [INFO] [stdout] 166 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 199 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / lazy_static! { [INFO] [stdout] 229 | | static ref CALLBACKS: Mutex>> = Default::default(); [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | / lazy_static! { [INFO] [stdout] 261 | | static ref CALLBACKS: Mutex, Option) + Send>>> = Default::default(); [INFO] [stdout] 262 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / lazy_static! { [INFO] [stdout] 294 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 295 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | / lazy_static! { [INFO] [stdout] 326 | | static ref CALLBACKS: Mutex) + Send>>> = Default::default(); [INFO] [stdout] 327 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / lazy_static! { [INFO] [stdout] 357 | | static ref CALLBACKS: Mutex) + Send> >> = Default::default(); [INFO] [stdout] 358 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/callbacks.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | / lazy_static! { [INFO] [stdout] 389 | | static ref CALLBACKS: Mutex >> = Default::default(); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref IDS_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; //TODO use AtomicI32 [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam1` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | CommonInvalidParam1 => "Caller passed invalid value as param 1", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam2` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | CommonInvalidParam2 => "Caller passed invalid value as param 2", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam3` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | CommonInvalidParam3 => "Caller passed invalid value as param 3", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam4` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | CommonInvalidParam4 => "Caller passed invalid value as param 4", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam5` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | CommonInvalidParam5 => "Caller passed invalid value as param 5", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam6` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | CommonInvalidParam6 => "Caller passed invalid value as param 6", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam7` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | CommonInvalidParam7 => "Caller passed invalid value as param 7", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam8` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | CommonInvalidParam8 => "Caller passed invalid value as param 8", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam9` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | CommonInvalidParam9 => "Caller passed invalid value as param 9", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam10` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | CommonInvalidParam10 => "Caller passed invalid value as param 10", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam11` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | CommonInvalidParam11 => "Caller passed invalid value as param 11", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam12` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | CommonInvalidParam12 => "Caller passed invalid value as param 12", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam13` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | CommonInvalidParam13 => "Caller passed invalid value as param 13", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam13` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam14` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | CommonInvalidParam14 => "Caller passed invalid value as param 14", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam14` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam15` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | CommonInvalidParam15 => "Caller passed invalid value as param 15", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam16` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | CommonInvalidParam16 => "Caller passed invalid value as param 16", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam17` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | CommonInvalidParam17 => "Caller passed invalid value as param 17", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam17` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam18` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | CommonInvalidParam18 => "Caller passed invalid value as param 18", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam19` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | CommonInvalidParam19 => "Caller passed invalid value as param 19", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam19` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam20` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | CommonInvalidParam20 => "Caller passed invalid value as param 20", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam21` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | CommonInvalidParam21 => "Caller passed invalid value as param 21", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam21` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam22` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | CommonInvalidParam22 => "Caller passed invalid value as param 22", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam22` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam23` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | CommonInvalidParam23 => "Caller passed invalid value as param 23", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam24` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | CommonInvalidParam24 => "Caller passed invalid value as param 24", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam25` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | CommonInvalidParam25 => "Caller passed invalid value as param 25", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam25` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam26` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | CommonInvalidParam26 => "Caller passed invalid value as param 26", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam26` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidParam27` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | CommonInvalidParam27 => "Caller passed invalid value as param 27", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidParam27` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidState` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | CommonInvalidState => "Invalid library state was detected in runtime. It signals library bug", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonInvalidStructure` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | CommonInvalidStructure => "Object (json, config, key, credential and etc...) passed by library caller has invalid structure", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonInvalidStructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `CommonIOError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | CommonIOError => "IO Error", [INFO] [stdout] | ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::CommonIOError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInvalidHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | WalletInvalidHandle => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInvalidHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletUnknownTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | WalletUnknownTypeError => "Caller passed invalid wallet handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletUnknownTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletTypeAlreadyRegisteredError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | WalletTypeAlreadyRegisteredError => "Attempt to register already existing wallet type", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletTypeAlreadyRegisteredError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | WalletAlreadyExistsError => "Attempt to create wallet with name used for another exists wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletNotFoundError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | WalletNotFoundError => "Requested entity id isn't present in wallet", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletNotFoundError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletIncompatiblePoolError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | WalletIncompatiblePoolError => "Trying to use wallet with pool that has different name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletIncompatiblePoolError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAccessFailed` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | WalletAccessFailed => "Trying to open wallet encrypted wallet with invalid credentials", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAccessFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletAlreadyOpenedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | WalletAlreadyOpenedError => "Trying to open wallet that was opened already", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletAlreadyOpenedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletInputError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | WalletInputError => "Input provided to wallet operations is considered not valid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletInputError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletDecodingError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | WalletDecodingError => "Decoding of wallet data during input/output failed", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletDecodingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletStorageError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | WalletStorageError => "Storage error occurred during wallet operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletStorageError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletEncryptionError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | WalletEncryptionError => "Error during encryption-related operations", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletEncryptionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemNotFound` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | WalletItemNotFound => "Requested wallet item not found", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletItemAlreadyExists` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | WalletItemAlreadyExists => "Returned if wallet's add_record operation is used with record name that already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletItemAlreadyExists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `WalletQueryError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | WalletQueryError => "Returned if provided wallet query is invalid", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::WalletQueryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerNotCreatedError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | PoolLedgerNotCreatedError => "Trying to open pool ledger that wasn't created before", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerNotCreatedError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerInvalidPoolHandle` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | PoolLedgerInvalidPoolHandle => "Caller passed invalid pool ledger handle", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerInvalidPoolHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTerminated` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | PoolLedgerTerminated => "Pool ledger terminated", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTerminated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerNoConsensusError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | LedgerNoConsensusError => "No concensus during ledger operation", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerNoConsensusError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerInvalidTransaction` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | LedgerInvalidTransaction => "Attempt to send unknown or incomplete transaction message", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerInvalidTransaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `LedgerSecurityError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | LedgerSecurityError => "Attempt to send transaction without the necessary privileges", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::LedgerSecurityError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerConfigAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | PoolLedgerConfigAlreadyExistsError => "Attempt to create pool ledger config with name used for another existing pool", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerConfigAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolLedgerTimeout` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | PoolLedgerTimeout => "Timeout for action", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolLedgerTimeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PoolIncompatibleProtocolVersion` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | PoolIncompatibleProtocolVersion => "Attempt to open Pool for witch Genesis Transactions are not compatible with set Protocol version. Set the correct Protocol version first.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PoolIncompatibleProtocolVersion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsRevocationRegistryFullError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | AnoncredsRevocationRegistryFullError => "Revocation registry is full and creation of new registry is necessary", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsRevocationRegistryFullError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsInvalidUserRevocIndex` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | AnoncredsInvalidUserRevocIndex => "Invalid user revocation index", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsInvalidUserRevocIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsMasterSecretDuplicateNameError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | AnoncredsMasterSecretDuplicateNameError => "Attempt to generate master secret with duplicated name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsMasterSecretDuplicateNameError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsProofRejected` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | AnoncredsProofRejected => "Proof rejected", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsProofRejected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredentialRevoked` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | AnoncredsCredentialRevoked => "Credential revoked", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredentialRevoked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AnoncredsCredDefAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | AnoncredsCredDefAlreadyExistsError => "Credential definition already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::AnoncredsCredDefAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownCryptoTypeError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | UnknownCryptoTypeError => "Unknown format of DID entity keys", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownCryptoTypeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DidAlreadyExistsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | DidAlreadyExistsError => "Did already exists", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::DidAlreadyExistsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UnknownPaymentMethod` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | UnknownPaymentMethod => "Unknown payment method was given", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::UnknownPaymentMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `IncompatiblePaymentError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | IncompatiblePaymentError => "Multiple different payment methods were specified", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::IncompatiblePaymentError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentInsufficientFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | PaymentInsufficientFundsError => "Payment cannot be processed because there was insufficient funds", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentInsufficientFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentSourceDoesNotExistError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | PaymentSourceDoesNotExistError => "No such source on a ledger.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentSourceDoesNotExistError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PaymentExtraFundsError` is named the same as one of the variants of the type `ErrorCode` [INFO] [stdout] --> src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | PaymentExtraFundsError => "Payment cannot be processed because there were more funds than required", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ErrorCode::PaymentExtraFundsError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.rust_libindy_wrapper.dlm1nwxd-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1" "/opt/rustwide/target/debug/deps/rust_libindy_wrapper-cfd93c628013dbd1.4e0bdvdj580aln31.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lindy" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-3ad1ab5f7ba3783f.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-be4838eb8e86accd.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-d7f97d30aca9ddf1.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2e806a0559ee0b3f.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-9137a404219e7a82.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-dab92e4a7c3b6ca2.rlib" "/opt/rustwide/target/debug/deps/liblog-8beeeccf874d501c.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-ab1bd98be96b57b3.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cbf4e74d25b393ff.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lindy [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-libindy-wrapper`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2e61c9849bd91e010807a0a887e41c54877bfb01168324a064937c2fa25af404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e61c9849bd91e010807a0a887e41c54877bfb01168324a064937c2fa25af404", kill_on_drop: false }` [INFO] [stdout] 2e61c9849bd91e010807a0a887e41c54877bfb01168324a064937c2fa25af404