[INFO] crate sprattus 0.0.1 is already in cache [INFO] testing sprattus-0.0.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate sprattus 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sprattus 0.0.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sprattus 0.0.1 [INFO] finished tweaking crates.io crate sprattus 0.0.1 [INFO] tweaked toml for crates.io crate sprattus 0.0.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 1a8e06c31ae4ae4d422532ce20f8785c76a91f2db9d38a087f0ea66b5d2c94ff [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" "1a8e06c31ae4ae4d422532ce20f8785c76a91f2db9d38a087f0ea66b5d2c94ff"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling strfmt v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling postgres-protocol v0.5.0-alpha.2 [INFO] [stderr] Compiling postgres-types v0.1.0-alpha.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling sprattus-derive v0.0.1 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.0-alpha.2 [INFO] [stderr] Compiling sprattus v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.56s [INFO] running `"docker" "inspect" "1a8e06c31ae4ae4d422532ce20f8785c76a91f2db9d38a087f0ea66b5d2c94ff"` [INFO] running `"docker" "rm" "-f" "1a8e06c31ae4ae4d422532ce20f8785c76a91f2db9d38a087f0ea66b5d2c94ff"` [INFO] [stdout] 1a8e06c31ae4ae4d422532ce20f8785c76a91f2db9d38a087f0ea66b5d2c94ff [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e7df6d8435bc0482dcd547c0c86f8d3b01d84d3cd4e5b74ff918698ba3bf363 [INFO] running `"docker" "start" "-a" "1e7df6d8435bc0482dcd547c0c86f8d3b01d84d3cd4e5b74ff918698ba3bf363"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling sprattus v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `"docker" "inspect" "1e7df6d8435bc0482dcd547c0c86f8d3b01d84d3cd4e5b74ff918698ba3bf363"` [INFO] running `"docker" "rm" "-f" "1e7df6d8435bc0482dcd547c0c86f8d3b01d84d3cd4e5b74ff918698ba3bf363"` [INFO] [stdout] 1e7df6d8435bc0482dcd547c0c86f8d3b01d84d3cd4e5b74ff918698ba3bf363 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "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] 86d1c6963f8fafcf720d75b2b0d47b0c3547a925700bc516eaba4ccd44d2884f [INFO] running `"docker" "start" "-a" "86d1c6963f8fafcf720d75b2b0d47b0c3547a925700bc516eaba4ccd44d2884f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sprattus-94a56cbc0e3727a9 [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 sprattus [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/connection.rs - connection::Connection::update_multiple (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - (line 133) ... ok [INFO] [stdout] test src/lib.rs - (line 146) ... ok [INFO] [stdout] test src/lib.rs - (line 118) ... ok [INFO] [stdout] test src/lib.rs - (line 25) ... ok [INFO] [stdout] test src/connection.rs - connection::Connection::create_multiple (line 336) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::update (line 162) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::create (line 292) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::delete_multiple (line 435) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::query (line 131) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::delete (line 391) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::new (line 25) ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::query_multiple (line 77) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/connection.rs - connection::Connection::update_multiple (line 220) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::create_multiple (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::update (line 162) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::create (line 292) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::delete_multiple (line 435) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:447:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::query (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::delete (line 391) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:402:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/connection.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::new (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:28: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/connection.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::query_multiple (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/connection.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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/connection.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 13 | async fn main() -> Result<(), Error> { [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/connection.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 13 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [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 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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:51:20 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), Error>{ [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [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/connection.rs - connection::Connection::create (line 292) [INFO] [stdout] src/connection.rs - connection::Connection::create_multiple (line 336) [INFO] [stdout] src/connection.rs - connection::Connection::delete (line 391) [INFO] [stdout] src/connection.rs - connection::Connection::delete_multiple (line 435) [INFO] [stdout] src/connection.rs - connection::Connection::new (line 25) [INFO] [stdout] src/connection.rs - connection::Connection::query (line 131) [INFO] [stdout] src/connection.rs - connection::Connection::query_multiple (line 77) [INFO] [stdout] src/connection.rs - connection::Connection::update (line 162) [INFO] [stdout] src/connection.rs - connection::Connection::update_multiple (line 220) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "86d1c6963f8fafcf720d75b2b0d47b0c3547a925700bc516eaba4ccd44d2884f"` [INFO] running `"docker" "rm" "-f" "86d1c6963f8fafcf720d75b2b0d47b0c3547a925700bc516eaba4ccd44d2884f"` [INFO] [stdout] 86d1c6963f8fafcf720d75b2b0d47b0c3547a925700bc516eaba4ccd44d2884f