[INFO] cloning repository https://github.com/slepp/no-await
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slepp/no-await" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslepp%2Fno-await", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslepp%2Fno-await'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65803ca9baea8d5961e22044c4cb6a31ec3a83d4
[INFO] testing slepp/no-await against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslepp%2Fno-await" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/slepp/no-await
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/slepp/no-await
[INFO] tweaked toml for git repo https://github.com/slepp/no-await written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/slepp/no-await on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/slepp/no-await already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12
[INFO] running `Command { std: "docker" "start" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling no-await v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.12s
[INFO] running `Command { std: "docker" "inspect" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-triple v1.0.1
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling toml v1.1.4+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling trybuild v1.0.119
[INFO] [stderr]    Compiling no-await v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 23.75s
[INFO] running `Command { std: "docker" "inspect" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/no-await/9a9be21e30d066bc/out/no_await-9a9be21e30d066bc)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test tests::scope_returns_derived_data_and_drops_the_value ... ok
[INFO] [stdout] test tests::scope_drops_the_value_once_on_the_normal_path ... ok
[INFO] [stdout] test tests::scope_grants_mutable_access ... ok
[INFO] [stdout] test tests::debug_is_transparent ... ok
[INFO] [stdout] test tests::into_inner_returns_the_value ... ok
[INFO] [stdout] test tests::no_await_drops_its_value_exactly_once ... ok
[INFO] [stdout] test tests::wrapper_is_zero_overhead ... ok
[INFO] [stdout] test tests::deref_and_deref_mut_reach_the_value ... ok
[INFO] [stdout] test tests::from_wraps_the_value ... ok
[INFO] [stdout] test tests::scope_drops_the_value_once_when_the_closure_panics ... ok
[INFO] [stdout] test tests::scope_drops_the_value_once_when_the_closure_returns_early ... ok
[INFO] [stdout] test tests::into_inner_moves_the_value_out_without_double_drop ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compile_fail.rs (/opt/rustwide/target/release/build/no-await/5d2e1d4053c05f84/out/compile_fail-5d2e1d4053c05f84)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking no-await v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking no-await-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/no-await)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.14s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test holding_a_guard_across_await_is_rejected ... FAILED
[INFO] [stderr] test tests/ui/drop_is_not_enough.rs ... mismatch
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] failures:
[INFO] [stderr] EXPECTED:
[INFO] [stdout] 
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] ---- holding_a_guard_across_await_is_rejected stdout ----
[INFO] [stderr] error: future cannot be sent between threads safely
[INFO] [stdout] 
[INFO] [stderr]   --> tests/ui/drop_is_not_enough.rs:12:5
[INFO] [stdout] thread 'holding_a_guard_across_await_is_rejected' (582) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.119/src/run.rs:102:13:
[INFO] [stderr]    |
[INFO] [stdout] 2 of 3 tests failed
[INFO] [stderr] 12 | /     tokio::spawn(async {
[INFO] [stdout] stack backtrace:
[INFO] [stderr] 13 | |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stdout]    0:     0x5867b4283671 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stderr] 14 | |         let len = conn.len();
[INFO] [stdout]    1:     0x5867b429995a - core[a373ad73a504971]::fmt::write
[INFO] [stderr] 15 | |         drop(conn); // moved out, but its scope still spans the await below
[INFO] [stdout]    2:     0x5867b4287ebc - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stderr] 16 | |         yield_now().await; // ERROR: future is still not `Send`
[INFO] [stdout]    3:     0x5867b425cad6 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stderr] 17 | |         let _ = len;
[INFO] [stdout]    4:     0x5867b427ac19 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stderr] 18 | |     });
[INFO] [stdout]    5:     0x5867b4214220 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stderr]    | |______^ future created by async block is not `Send`
[INFO] [stdout]    6:     0x5867b427add2 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stderr]    |
[INFO] [stdout]    7:     0x5867b425cb82 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stderr]    = help: within `{async block@$DIR/tests/ui/drop_is_not_enough.rs:12:18: 12:23}`, the trait `Send` is not implemented for `*const no_await::ThisValueMustNotBeHeldAcrossAnAwait`
[INFO] [stdout]    8:     0x5867b42553d9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    9:     0x5867b425d78d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stderr]   --> tests/ui/drop_is_not_enough.rs:16:21
[INFO] [stdout]   10:     0x5867b429a0cc - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stderr]    |
[INFO] [stdout]   11:     0x5867b4166fda - <trybuild[96bf4fc82a570169]::Runner>::run
[INFO] [stderr] 13 |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stdout]   12:     0x5867b416a110 - <trybuild[96bf4fc82a570169]::TestCases as core[a373ad73a504971]::ops::drop::Drop>::drop
[INFO] [stderr]    |             ---- has type `NoAwait<String>` which is not `Send`
[INFO] [stdout]   13:     0x5867b4160f48 - compile_fail[4106d225194361c0]::holding_a_guard_across_await_is_rejected
[INFO] [stderr] ...
[INFO] [stdout]   14:     0x5867b4161149 - <compile_fail[4106d225194361c0]::holding_a_guard_across_await_is_rejected::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 16 |         yield_now().await; // ERROR: future is still not `Send`
[INFO] [stdout]   15:     0x5867b420766b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stderr]    |                     ^^^^^ await occurs here, with `conn` maybe used later
[INFO] [stdout]   16:     0x5867b4214845 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stderr] note: required by a bound in `tokio::spawn`
[INFO] [stdout]   17:     0x5867b420e134 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stderr]   --> $CARGO/tokio-$VERSION/src/task/spawn.rs
[INFO] [stdout]   18:     0x5867b42178d2 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]    |
[INFO] [stdout]   19:     0x5867b42828cf - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]    |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stdout]   20:     0x79ce5cae5dfa - <unknown>
[INFO] [stderr]    |            ----- required by a bound in this function
[INFO] [stdout]   21:     0x79ce5cb793d4 - clone
[INFO] [stderr]    |     where
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stderr]    |         F: Future + Send + 'static,
[INFO] [stdout] 
[INFO] [stderr]    |                     ^^^^ required by this bound in `spawn`
[INFO] [stdout] 
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] failures:
[INFO] [stderr] 
[INFO] [stdout]     holding_a_guard_across_await_is_rejected
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout] 
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.49s
[INFO] [stderr] error: future cannot be sent between threads safely
[INFO] [stdout] 
[INFO] [stderr]   --> tests/ui/drop_is_not_enough.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | /     tokio::spawn(async {
[INFO] [stderr] 13 | |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr] 14 | |         let len = conn.len();
[INFO] [stderr] 15 | |         drop(conn); // moved out, but its scope still spans the await below
[INFO] [stderr] 16 | |         yield_now().await; // ERROR: future is still not `Send`
[INFO] [stderr] 17 | |         let _ = len;
[INFO] [stderr] 18 | |     });
[INFO] [stderr]    | |______^ future created by async block is not `Send`
[INFO] [stderr]    |
[INFO] [stderr]    = help: within `{async block@$DIR/tests/ui/drop_is_not_enough.rs:12:18: 12:23}`, the trait `Send` is not implemented for `*const no_await::ThisValueMustNotBeHeldAcrossAnAwait`
[INFO] [stderr] note: future is not `Send` as this value is used across an await
[INFO] [stderr]   --> tests/ui/drop_is_not_enough.rs:16:21
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr]    |             ---- has type `NoAwait<String>` which is not `Send`
[INFO] [stderr] ...
[INFO] [stderr] 16 |         yield_now().await; // ERROR: future is still not `Send`
[INFO] [stderr]    |                     ^^^^^ await occurs here, with `conn` maybe used later
[INFO] [stderr] note: required by a bound in `tokio::spawn`
[INFO] [stderr]   --> $CARGO/tokio-$VERSION/src/task/spawn.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stderr]    |     where
[INFO] [stderr]    |         F: Future + Send + 'static,
[INFO] [stderr]    |                     ^^^^ required by this bound in `spawn`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/held_across_await.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: future cannot be sent between threads safely
[INFO] [stderr]   --> tests/ui/held_across_await.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | /     tokio::spawn(async {
[INFO] [stderr]  9 | |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr] 10 | |         yield_now().await; // ERROR: `conn` is held across this await point...
[INFO] [stderr] 11 | |         let _ = conn.len(); // ...so the future is not `Send`
[INFO] [stderr] 12 | |     });
[INFO] [stderr]    | |______^ future created by async block is not `Send`
[INFO] [stderr]    |
[INFO] [stderr]    = help: within `{async block@$DIR/tests/ui/held_across_await.rs:8:18: 8:23}`, the trait `Send` is not implemented for `*const no_await::ThisValueMustNotBeHeldAcrossAnAwait`
[INFO] [stderr] note: future is not `Send` as this value is used across an await
[INFO] [stderr]   --> tests/ui/held_across_await.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr]  9 |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr]    |             ---- has type `NoAwait<String>` which is not `Send`
[INFO] [stderr] 10 |         yield_now().await; // ERROR: `conn` is held across this await point...
[INFO] [stderr]    |                     ^^^^^ await occurs here, with `conn` maybe used later
[INFO] [stderr] note: required by a bound in `tokio::spawn`
[INFO] [stderr]   --> $CARGO/tokio-$VERSION/src/task/spawn.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stderr]    |            ----- required by a bound in this function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         F: Future + Send + 'static,
[INFO] [stderr]    |                     ^^^^ required by this bound in `spawn`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: future cannot be sent between threads safely
[INFO] [stderr]   --> tests/ui/held_across_await.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | /     tokio::spawn(async {
[INFO] [stderr]  9 | |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr] 10 | |         yield_now().await; // ERROR: `conn` is held across this await point...
[INFO] [stderr] 11 | |         let _ = conn.len(); // ...so the future is not `Send`
[INFO] [stderr] 12 | |     });
[INFO] [stderr]    | |______^ future created by async block is not `Send`
[INFO] [stderr]    |
[INFO] [stderr]    = help: within `{async block@$DIR/tests/ui/held_across_await.rs:8:18: 8:23}`, the trait `Send` is not implemented for `*const no_await::ThisValueMustNotBeHeldAcrossAnAwait`
[INFO] [stderr] note: future is not `Send` as this value is used across an await
[INFO] [stderr]   --> tests/ui/held_across_await.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr]  9 |         let conn = NoAwait::new(String::from("connection"));
[INFO] [stderr]    |             ---- has type `NoAwait<String>` which is not `Send`
[INFO] [stderr] 10 |         yield_now().await; // ERROR: `conn` is held across this await point...
[INFO] [stderr]    |                     ^^^^^ await occurs here, with `conn` maybe used later
[INFO] [stderr] note: required by a bound in `tokio::spawn`
[INFO] [stderr]   --> $CARGO/tokio-$VERSION/src/task/spawn.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stderr]    |     where
[INFO] [stderr]    |         F: Future + Send + 'static,
[INFO] [stderr]    |                     ^^^^ required by this bound in `spawn`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/scope_forbids_await.rs ... ok
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] error: test failed, to rerun pass `--test compile_fail`
[INFO] running `Command { std: "docker" "inspect" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12", kill_on_drop: false }`
[INFO] [stdout] e789be3e9585f0c6c25e7c2fcdb04cbdfbeb93d22ba01abeb16b83c501b1ef12
