[INFO] fetching crate asana-sdk 0.1.3... [INFO] testing asana-sdk-0.1.3 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate asana-sdk 0.1.3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate asana-sdk 0.1.3 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate asana-sdk 0.1.3 [INFO] finished tweaking crates.io crate asana-sdk 0.1.3 [INFO] tweaked toml for crates.io crate asana-sdk 0.1.3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5362d445659ec8e0e2a15b8e341beef4e18af46671fcad77f29ceee4209cf06e [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" "5362d445659ec8e0e2a15b8e341beef4e18af46671fcad77f29ceee4209cf06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5362d445659ec8e0e2a15b8e341beef4e18af46671fcad77f29ceee4209cf06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5362d445659ec8e0e2a15b8e341beef4e18af46671fcad77f29ceee4209cf06e", kill_on_drop: false }` [INFO] [stdout] 5362d445659ec8e0e2a15b8e341beef4e18af46671fcad77f29ceee4209cf06e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dc91c5edc8e904e4f65cfa142f0bae8f8df0afab300a040f4b7b6eb16feedde [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" "7dc91c5edc8e904e4f65cfa142f0bae8f8df0afab300a040f4b7b6eb16feedde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling asana-sdk v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `Command { std: "docker" "inspect" "7dc91c5edc8e904e4f65cfa142f0bae8f8df0afab300a040f4b7b6eb16feedde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc91c5edc8e904e4f65cfa142f0bae8f8df0afab300a040f4b7b6eb16feedde", kill_on_drop: false }` [INFO] [stdout] 7dc91c5edc8e904e4f65cfa142f0bae8f8df0afab300a040f4b7b6eb16feedde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec1fbf409677e70f21251c2fcec14ab0d519daa84e4bcd298231e05baba717c [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" "3ec1fbf409677e70f21251c2fcec14ab0d519daa84e4bcd298231e05baba717c", kill_on_drop: false }` [INFO] [stderr] Compiling asana-sdk v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "3ec1fbf409677e70f21251c2fcec14ab0d519daa84e4bcd298231e05baba717c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec1fbf409677e70f21251c2fcec14ab0d519daa84e4bcd298231e05baba717c", kill_on_drop: false }` [INFO] [stdout] 3ec1fbf409677e70f21251c2fcec14ab0d519daa84e4bcd298231e05baba717c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6f2a13fccd359cdb41a16d53e641e580bbfecf4c25865a5db5053a7567c09bc [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" "b6f2a13fccd359cdb41a16d53e641e580bbfecf4c25865a5db5053a7567c09bc", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/asana_sdk-ae195724b9ab600f [INFO] [stdout] [INFO] [stderr] Doc-tests asana-sdk [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/models.rs - model (line 15) ... FAILED [INFO] [stdout] test src/models.rs - model (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/models.rs - model (line 15) stdout ---- [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/models.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 6 | model!(User "users" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models.rs - model (line 29) stdout ---- [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/models.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 11 | model!(Tasks "tasks" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/models.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 7 | model!(Project "projects" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/models.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 3 | model!(Assignee "assignee" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 4 | model!(TaskWithAssignee "tasks" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 3 | model!(Assignee "assignee" {}); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 3 | model!(TaskWithProjects "tasks" { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `asana` in this scope [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 8 | let mut tasks_with_projects = asana [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 9 | .from::
("12345678") [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TaskWithProjects` in this scope [INFO] [stdout] --> src/lib.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 10 | .list::().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let mut tasks_with_projects = asana [INFO] [stdout] | _______________________________^ [INFO] [stdout] 9 | | .from::
("12345678") [INFO] [stdout] 10 | | .list::().await; [INFO] [stdout] | |______________________________________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 44) stdout ---- [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 4 | model!(Project "projects" { name: String }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error: cannot find macro `model` in this scope [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 3 | model!(Section "sections" { name: String }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] asana_sdk::model [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `asana` in this scope [INFO] [stdout] --> src/lib.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut sections = asana [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Project` in this scope [INFO] [stdout] --> src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 7 | .from::("12345678") [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 8 | .list::
().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | let mut sections = asana [INFO] [stdout] | ____________________^ [INFO] [stdout] 7 | | .from::("12345678") [INFO] [stdout] 8 | | .list::
().await; [INFO] [stdout] | |____________________________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `main` can only return types that implement `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:22:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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/lib.rs - (line 16) [INFO] [stdout] src/lib.rs - (line 44) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/models.rs - model (line 15) [INFO] [stdout] src/models.rs - model (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b6f2a13fccd359cdb41a16d53e641e580bbfecf4c25865a5db5053a7567c09bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f2a13fccd359cdb41a16d53e641e580bbfecf4c25865a5db5053a7567c09bc", kill_on_drop: false }` [INFO] [stdout] b6f2a13fccd359cdb41a16d53e641e580bbfecf4c25865a5db5053a7567c09bc