[INFO] crate monzo-lib 0.0.3 is already in cache [INFO] testing monzo-lib-0.0.3 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate monzo-lib 0.0.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate monzo-lib 0.0.3 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate monzo-lib 0.0.3 [INFO] finished tweaking crates.io crate monzo-lib 0.0.3 [INFO] tweaked toml for crates.io crate monzo-lib 0.0.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a49d8357193cd1cc5ddd1fd70fc17bf0de1f5926fcf4241294432ac10341fd24 [INFO] running `"docker" "start" "-a" "a49d8357193cd1cc5ddd1fd70fc17bf0de1f5926fcf4241294432ac10341fd24"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling monzo-lib v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `"docker" "inspect" "a49d8357193cd1cc5ddd1fd70fc17bf0de1f5926fcf4241294432ac10341fd24"` [INFO] running `"docker" "rm" "-f" "a49d8357193cd1cc5ddd1fd70fc17bf0de1f5926fcf4241294432ac10341fd24"` [INFO] [stdout] a49d8357193cd1cc5ddd1fd70fc17bf0de1f5926fcf4241294432ac10341fd24 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stdout] fcd00e11da58560075568e0e40dda355a94c2ae6ccbdc8ca09bf912b48d8b862 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fcd00e11da58560075568e0e40dda355a94c2ae6ccbdc8ca09bf912b48d8b862"` [INFO] [stderr] Compiling monzo-lib v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `"docker" "inspect" "fcd00e11da58560075568e0e40dda355a94c2ae6ccbdc8ca09bf912b48d8b862"` [INFO] running `"docker" "rm" "-f" "fcd00e11da58560075568e0e40dda355a94c2ae6ccbdc8ca09bf912b48d8b862"` [INFO] [stdout] fcd00e11da58560075568e0e40dda355a94c2ae6ccbdc8ca09bf912b48d8b862 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91f799a53109f6b45a6309a6c41dee431381092cd6b03ac57b0cdb89982a2e03 [INFO] running `"docker" "start" "-a" "91f799a53109f6b45a6309a6c41dee431381092cd6b03ac57b0cdb89982a2e03"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/monzo-2676986e1bc2e7f9 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests monzo [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::transactions (line 222) ... FAILED [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::transaction (line 254) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::accounts (line 167) ... FAILED [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::accounts (line 91) ... FAILED [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::balance (line 112) ... FAILED [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::basic_feed_item (line 157) ... FAILED [INFO] [stdout] test src/client/quick_client.rs - client::quick_client::QuickClient::pots (line 135) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::balance (line 188) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::quick (line 34) ... ok [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::basic_feed_item (line 233) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::transactions (line 288) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::pots (line 211) ... FAILED [INFO] [stdout] test src/client/refreshable_client.rs - client::refreshable_client::Client::transaction (line 320) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::transactions (line 222) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::transaction (line 254) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::accounts (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::accounts (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::balance (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::basic_feed_item (line 157) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/quick_client.rs - client::quick_client::QuickClient::pots (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/quick_client.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/quick_client.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::balance (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::basic_feed_item (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::transactions (line 288) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::pots (line 211) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/refreshable_client.rs - client::refreshable_client::Client::transaction (line 320) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/client/refreshable_client.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/client/refreshable_client.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::accounts (line 91) [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::balance (line 112) [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::basic_feed_item (line 157) [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::pots (line 135) [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::transaction (line 254) [INFO] [stdout] src/client/quick_client.rs - client::quick_client::QuickClient::transactions (line 222) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::accounts (line 167) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::balance (line 188) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::basic_feed_item (line 233) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::pots (line 211) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::transaction (line 320) [INFO] [stdout] src/client/refreshable_client.rs - client::refreshable_client::Client::transactions (line 288) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "91f799a53109f6b45a6309a6c41dee431381092cd6b03ac57b0cdb89982a2e03"` [INFO] running `"docker" "rm" "-f" "91f799a53109f6b45a6309a6c41dee431381092cd6b03ac57b0cdb89982a2e03"` [INFO] [stdout] 91f799a53109f6b45a6309a6c41dee431381092cd6b03ac57b0cdb89982a2e03