[INFO] fetching crate tokio-shared-rt-macro 0.1.0...
[INFO] testing tokio-shared-rt-macro-0.1.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate tokio-shared-rt-macro 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate tokio-shared-rt-macro 0.1.0
[INFO] finished tweaking crates.io crate tokio-shared-rt-macro 0.1.0
[INFO] tweaked toml for crates.io crate tokio-shared-rt-macro 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio-shared-rt-macro 0.1.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3a0d989d261ac5582a92944b97f08d612792ced1acdb3b0fa397cace7af4a5d
[INFO] running `Command { std: "docker" "start" "-a" "b3a0d989d261ac5582a92944b97f08d612792ced1acdb3b0fa397cace7af4a5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3a0d989d261ac5582a92944b97f08d612792ced1acdb3b0fa397cace7af4a5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3a0d989d261ac5582a92944b97f08d612792ced1acdb3b0fa397cace7af4a5d", kill_on_drop: false }`
[INFO] [stdout] b3a0d989d261ac5582a92944b97f08d612792ced1acdb3b0fa397cace7af4a5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a76855cde6434f95680712ee3f58373e0e87c67a11e79ce47e8c4284660f3680
[INFO] running `Command { std: "docker" "start" "-a" "a76855cde6434f95680712ee3f58373e0e87c67a11e79ce47e8c4284660f3680", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-shared-rt-macro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "a76855cde6434f95680712ee3f58373e0e87c67a11e79ce47e8c4284660f3680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a76855cde6434f95680712ee3f58373e0e87c67a11e79ce47e8c4284660f3680", kill_on_drop: false }`
[INFO] [stdout] a76855cde6434f95680712ee3f58373e0e87c67a11e79ce47e8c4284660f3680
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8df37215d0412522cdc603a1a2bc0173e43e8de84fca70aff7600661ccbf0f98
[INFO] running `Command { std: "docker" "start" "-a" "8df37215d0412522cdc603a1a2bc0173e43e8de84fca70aff7600661ccbf0f98", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-shared-rt-macro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "8df37215d0412522cdc603a1a2bc0173e43e8de84fca70aff7600661ccbf0f98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8df37215d0412522cdc603a1a2bc0173e43e8de84fca70aff7600661ccbf0f98", kill_on_drop: false }`
[INFO] [stdout] 8df37215d0412522cdc603a1a2bc0173e43e8de84fca70aff7600661ccbf0f98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 02cfc6f41b66e8346831a423a67bc8604d754ae7b7217a1c84feeaef8f876af5
[INFO] running `Command { std: "docker" "start" "-a" "02cfc6f41b66e8346831a423a67bc8604d754ae7b7217a1c84feeaef8f876af5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_shared_rt_macro-69d9eedc30ba3368)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tokio_shared_rt_macro
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test src/lib.rs - main_rt (line 256) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 191) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 91) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 130) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - main_rt (line 222) ... FAILED
[INFO] [stdout] test src/lib.rs - main_rt (line 231) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 107) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 376) - compile ... ok
[INFO] [stdout] test src/lib.rs - test (line 319) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 154) ... FAILED
[INFO] [stdout] test src/lib.rs - main_rt (line 245) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 352) - compile ... ok
[INFO] [stdout] test src/lib.rs - main (line 163) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 53) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 343) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 308) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 139) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 328) - compile ... ok
[INFO] [stdout] test src/lib.rs - test (line 419) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 367) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 290) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 392) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - test_rt (line 436) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 401) - compile ... ok
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - main_rt (line 256) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> src/lib.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 | use tokio as tokio1;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 191) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> src/lib.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | use tokio as tokio1;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 117 + use std::thread::Builder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 118 -     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout] 118 +     Builder::new_current_thread()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 91) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 92 + use std::thread::Builder;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 93 -     tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout] 93 +     Builder::new_multi_thread()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 130) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[tokio::main(worker_threads = 2)]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:132:1
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 82) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/lib.rs:83:3
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 69) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/lib.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[tokio::main(flavor = "current_thread")]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | async fn main() {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main_rt (line 222) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:223:3
[INFO] [stdout]     |
[INFO] [stdout] 223 | #[tokio::main(flavor = "current_thread")]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:224:1
[INFO] [stdout]     |
[INFO] [stdout] 224 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main_rt (line 231) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 232 + use std::thread::Builder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 233 -     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout] 233 +     Builder::new_current_thread()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 107) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:108:3
[INFO] [stdout]     |
[INFO] [stdout] 108 | #[tokio::main(flavor = "current_thread")]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:109:1
[INFO] [stdout]     |
[INFO] [stdout] 109 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 319) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:320:3
[INFO] [stdout]     |
[INFO] [stdout] 320 | #[tokio::test(flavor = "multi_thread")]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 154) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:155:3
[INFO] [stdout]     |
[INFO] [stdout] 155 | #[tokio::main(flavor = "current_thread", start_paused = true)]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:156:1
[INFO] [stdout]     |
[INFO] [stdout] 156 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main_rt (line 245) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> src/lib.rs:246:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | use tokio as tokio1;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 180) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> src/lib.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 | use tokio as tokio1;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:184:1
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 163) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::thread::Builder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 165 -     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout] 165 +     Builder::new_current_thread()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 53) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/lib.rs:54:3
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[tokio::main(flavor = "multi_thread", worker_threads = 10)]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | async fn main() {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 343) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:344:3
[INFO] [stdout]     |
[INFO] [stdout] 344 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 308) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:309:3
[INFO] [stdout]     |
[INFO] [stdout] 309 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - main (line 139) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 140 + use std::thread::Builder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 141 -     tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout] 141 +     Builder::new_multi_thread()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 419) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> src/lib.rs:420:5
[INFO] [stdout]     |
[INFO] [stdout] 420 | use tokio as tokio1;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 367) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:368:3
[INFO] [stdout]     |
[INFO] [stdout] 368 | #[tokio::test(flavor ="multi_thread", worker_threads = 2)]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 290) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:291:3
[INFO] [stdout]     |
[INFO] [stdout] 291 | #[tokio::test(flavor = "multi_thread", worker_threads = 1)]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 392) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:393:3
[INFO] [stdout]     |
[INFO] [stdout] 393 | #[tokio::test(start_paused = true)]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test_rt (line 436) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/lib.rs:437:3
[INFO] [stdout]     |
[INFO] [stdout] 437 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - main (line 107)
[INFO] [stdout]     src/lib.rs - main (line 116)
[INFO] [stdout]     src/lib.rs - main (line 130)
[INFO] [stdout]     src/lib.rs - main (line 139)
[INFO] [stdout]     src/lib.rs - main (line 154)
[INFO] [stdout]     src/lib.rs - main (line 163)
[INFO] [stdout]     src/lib.rs - main (line 180)
[INFO] [stdout]     src/lib.rs - main (line 191)
[INFO] [stdout]     src/lib.rs - main (line 53)
[INFO] [stdout]     src/lib.rs - main (line 69)
[INFO] [stdout]     src/lib.rs - main (line 82)
[INFO] [stdout]     src/lib.rs - main (line 91)
[INFO] [stdout]     src/lib.rs - main_rt (line 222)
[INFO] [stdout]     src/lib.rs - main_rt (line 231)
[INFO] [stdout]     src/lib.rs - main_rt (line 245)
[INFO] [stdout]     src/lib.rs - main_rt (line 256)
[INFO] [stdout]     src/lib.rs - test (line 290)
[INFO] [stdout]     src/lib.rs - test (line 308)
[INFO] [stdout]     src/lib.rs - test (line 319)
[INFO] [stdout]     src/lib.rs - test (line 343)
[INFO] [stdout]     src/lib.rs - test (line 367)
[INFO] [stdout]     src/lib.rs - test (line 392)
[INFO] [stdout]     src/lib.rs - test (line 419)
[INFO] [stdout]     src/lib.rs - test_rt (line 436)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 24 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "02cfc6f41b66e8346831a423a67bc8604d754ae7b7217a1c84feeaef8f876af5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02cfc6f41b66e8346831a423a67bc8604d754ae7b7217a1c84feeaef8f876af5", kill_on_drop: false }`
[INFO] [stdout] 02cfc6f41b66e8346831a423a67bc8604d754ae7b7217a1c84feeaef8f876af5
