[INFO] cloning repository https://github.com/Patrik-Stas/play_with_indysdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Patrik-Stas/play_with_indysdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrik-Stas%2Fplay_with_indysdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrik-Stas%2Fplay_with_indysdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cb86dd5e5b8f82819c937acdf81b7a2acabf413 [INFO] checking Patrik-Stas/play_with_indysdk against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrik-Stas%2Fplay_with_indysdk" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Patrik-Stas/play_with_indysdk on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Patrik-Stas/play_with_indysdk [INFO] removed path dependency indy from git repo https://github.com/Patrik-Stas/play_with_indysdk [INFO] finished tweaking git repo https://github.com/Patrik-Stas/play_with_indysdk [INFO] tweaked toml for git repo https://github.com/Patrik-Stas/play_with_indysdk written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Patrik-Stas/play_with_indysdk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (indy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (indy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded named_type_derive v0.2.2 [INFO] [stderr] Downloaded named_type v0.2.2 [INFO] [stderr] Downloaded rmp v0.8.9 [INFO] [stderr] Downloaded rmp-serde v0.13.7 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded indy-sys v1.6.8 [INFO] [stderr] Downloaded os_type v1.0.0 [INFO] [stderr] Downloaded indy v1.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a648f4fc5bd43cfb88078bdc30d54d9df9078522d0eefe1e6cfbaa77c469d32f [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" "a648f4fc5bd43cfb88078bdc30d54d9df9078522d0eefe1e6cfbaa77c469d32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a648f4fc5bd43cfb88078bdc30d54d9df9078522d0eefe1e6cfbaa77c469d32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a648f4fc5bd43cfb88078bdc30d54d9df9078522d0eefe1e6cfbaa77c469d32f", kill_on_drop: false }` [INFO] [stdout] a648f4fc5bd43cfb88078bdc30d54d9df9078522d0eefe1e6cfbaa77c469d32f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 656a678cc0e02639e452387ae423918ce8f49779d453f6a7ded378cca880499d [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" "656a678cc0e02639e452387ae423918ce8f49779d453f6a7ded378cca880499d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (indy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking named_type v0.2.2 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Compiling named_type_derive v0.2.2 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Compiling indy-sys v1.6.8 [INFO] [stderr] Checking os_type v1.0.0 [INFO] [stderr] Checking indy v1.6.8 [INFO] [stderr] Checking patrikindy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use indyrs::did::create_and_store_my_did; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use indyrs::wallet::create_wallet; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use indyrs::ErrorCode::WalletAlreadyExistsError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `indyrs`, `indyrs::did::create_and_store_my_did`, `indyrs::wallet::create_wallet`, `indyrs::ErrorCode::WalletAlreadyExistsError` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use indyrs::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] 24 | use indyrs::did::create_and_store_my_did; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use indyrs::wallet::create_wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use indyrs::ErrorCode::WalletAlreadyExistsError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use indyrs::did::create_and_store_my_did; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use indyrs::wallet::create_wallet; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use indyrs::ErrorCode::WalletAlreadyExistsError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `indyrs`, `indyrs::did::create_and_store_my_did`, `indyrs::wallet::create_wallet`, `indyrs::ErrorCode::WalletAlreadyExistsError` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use indyrs::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] 24 | use indyrs::did::create_and_store_my_did; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use indyrs::wallet::create_wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use indyrs::ErrorCode::WalletAlreadyExistsError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indyrs` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use indyrs::{did, ErrorCode, IndyError, pairwise, wallet}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indyrs` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use indyrs::{did, ErrorCode, IndyError, pairwise, wallet}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | indyrs::logger::set_default_logger(None); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_wallet` in this scope [INFO] [stdout] --> src/main.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | match create_wallet(&str_wallet_config, &str_wallet_credentials).wait() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:275:46 [INFO] [stdout] | [INFO] [stdout] 273 | fn collect_open_wallet_futures(wallet_config: WalletConfig, wallet_credentials: WalletCredentials, walletIds: Vec) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 274 | info!("Startin batch. Wallet ids = {:?}", walletIds); [INFO] [stdout] 275 | let futuresList: Vec>> = walletIds [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:301:131 [INFO] [stdout] | [INFO] [stdout] 301 | ..._future(iter_wallet_config: WalletConfig, iter_wallet_credentials: WalletCredentials) -> Box` ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:324:147 [INFO] [stdout] | [INFO] [stdout] 324 | ...ets(wallet_config: WalletConfig, wallet_credentials: WalletCredentials, walletIds: Vec) -> Vec` ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{thread, env}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | pub type BoxedFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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/main.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | fn into_box(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | Box::new(ok((23))) [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn list_pws(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | fn search(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:210:85 [INFO] [stdout] | [INFO] [stdout] 210 | fn retrieve_pw_which_doesnt_work(wallet_handle: i32, their_pw: &'static str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | fn delete_pw(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `indyrs` [INFO] [stdout] --> src/main.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | indyrs::logger::set_default_logger(None); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `indyrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_wallet` in this scope [INFO] [stdout] --> src/main.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | match create_wallet(&str_wallet_config, &str_wallet_credentials).wait() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:275:46 [INFO] [stdout] | [INFO] [stdout] 273 | fn collect_open_wallet_futures(wallet_config: WalletConfig, wallet_credentials: WalletCredentials, walletIds: Vec) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 274 | info!("Startin batch. Wallet ids = {:?}", walletIds); [INFO] [stdout] 275 | let futuresList: Vec>> = walletIds [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:301:131 [INFO] [stdout] | [INFO] [stdout] 301 | ..._future(iter_wallet_config: WalletConfig, iter_wallet_credentials: WalletCredentials) -> Box` ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WalletHandle` in this scope [INFO] [stdout] --> src/main.rs:324:147 [INFO] [stdout] | [INFO] [stdout] 324 | ...ets(wallet_config: WalletConfig, wallet_credentials: WalletCredentials, walletIds: Vec) -> Vec` ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{thread, env}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | pub type BoxedFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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/main.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | fn into_box(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | Box::new(ok((23))) [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn list_pws(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | fn search(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:210:85 [INFO] [stdout] | [INFO] [stdout] 210 | fn retrieve_pw_which_doesnt_work(wallet_handle: i32, their_pw: &'static str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | fn delete_pw(wallet_handle: i32) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | .and_then(|(pairwise_list, wallet_handle)| { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | .and_then(|(pairwise_list, wallet_handle)| { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | .map(|pairwise| serde_json::from_str::(&pairwise)) [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 181 | .map(|&pairwise| serde_json::from_str::(&pairwise)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | .map(|pairwise| serde_json::from_str::(&pairwise)) [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 181 | .map(|&pairwise| serde_json::from_str::(&pairwise)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::Stream` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `patrikindy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `futures::stream::Stream` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "656a678cc0e02639e452387ae423918ce8f49779d453f6a7ded378cca880499d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656a678cc0e02639e452387ae423918ce8f49779d453f6a7ded378cca880499d", kill_on_drop: false }` [INFO] [stdout] 656a678cc0e02639e452387ae423918ce8f49779d453f6a7ded378cca880499d