[INFO] cloning repository https://github.com/MolotovCherry/async-instrumenter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MolotovCherry/async-instrumenter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b7fe4926bc18d616f2b3e3ad6b6eea245e3f2e2
[INFO] testing MolotovCherry/async-instrumenter against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MolotovCherry/async-instrumenter
[INFO] finished tweaking git repo https://github.com/MolotovCherry/async-instrumenter
[INFO] tweaked toml for git repo https://github.com/MolotovCherry/async-instrumenter written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MolotovCherry/async-instrumenter on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MolotovCherry/async-instrumenter 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63d4ad8a75a317f25b077e20bc3c9bebab35132ac0b95137acbe738dd5957ec3
[INFO] running `Command { std: "docker" "start" "-a" "63d4ad8a75a317f25b077e20bc3c9bebab35132ac0b95137acbe738dd5957ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63d4ad8a75a317f25b077e20bc3c9bebab35132ac0b95137acbe738dd5957ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63d4ad8a75a317f25b077e20bc3c9bebab35132ac0b95137acbe738dd5957ec3", kill_on_drop: false }`
[INFO] [stdout] 63d4ad8a75a317f25b077e20bc3c9bebab35132ac0b95137acbe738dd5957ec3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64acd8b349b774cf0853899a2a9c63e5ebbca10486890f4c615d011b33140566
[INFO] running `Command { std: "docker" "start" "-a" "64acd8b349b774cf0853899a2a9c63e5ebbca10486890f4c615d011b33140566", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.24s
[INFO] running `Command { std: "docker" "inspect" "64acd8b349b774cf0853899a2a9c63e5ebbca10486890f4c615d011b33140566", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64acd8b349b774cf0853899a2a9c63e5ebbca10486890f4c615d011b33140566", kill_on_drop: false }`
[INFO] [stdout] 64acd8b349b774cf0853899a2a9c63e5ebbca10486890f4c615d011b33140566
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c34f938d0f227ae5357e85b4accf09732315a5c2a0530bc3dfa146438059aa6
[INFO] running `Command { std: "docker" "start" "-a" "7c34f938d0f227ae5357e85b4accf09732315a5c2a0530bc3dfa146438059aa6", kill_on_drop: false }`
[INFO] [stderr]    Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "7c34f938d0f227ae5357e85b4accf09732315a5c2a0530bc3dfa146438059aa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c34f938d0f227ae5357e85b4accf09732315a5c2a0530bc3dfa146438059aa6", kill_on_drop: false }`
[INFO] [stdout] 7c34f938d0f227ae5357e85b4accf09732315a5c2a0530bc3dfa146438059aa6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5a57c4c1a66f4454244dff5fac3111b171186c3785f1eccb3c001780f913d401
[INFO] running `Command { std: "docker" "start" "-a" "5a57c4c1a66f4454244dff5fac3111b171186c3785f1eccb3c001780f913d401", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_instrumenter-00845f4b373e2a4f)
[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 async_instrumenter
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - dbg_instrument (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - instrument (line 125) ... FAILED
[INFO] [stdout] test src/lib.rs - InstrumentFuture (line 21) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - dbg_instrument (line 81) stdout ----
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]  --> src/lib.rs:83:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | dbg_instrument!(my_fut).await;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_instrumenter::dbg_instrument;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]  --> src/lib.rs:86:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | dbg_instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_instrumenter::dbg_instrument;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]  --> src/lib.rs:82:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::future::Future;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]  --> src/lib.rs:82:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]   = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-05; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:83:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_81_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 4 | dbg_instrument!(my_fut).await;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:86:64
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_81_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | dbg_instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]   |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]  --> src/lib.rs:82:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - instrument (line 125) stdout ----
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]  --> src/lib.rs:127:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | instrument!(my_fut).await;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_instrumenter::instrument;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]  --> src/lib.rs:130:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_instrumenter::instrument;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]  --> src/lib.rs:126:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::future::Future;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]  --> src/lib.rs:126:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]   = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-05; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:127:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_125_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 4 | instrument!(my_fut).await;
[INFO] [stdout]   |                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:130:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_125_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]   |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]  --> src/lib.rs:126:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - InstrumentFuture (line 21) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]  --> src/lib.rs:22:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::future::Future;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstrumentFuture`
[INFO] [stdout]  --> src/lib.rs:23:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | let res = InstrumentFuture::new(my_fut).await;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^ use of undeclared type `InstrumentFuture`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_instrumenter::InstrumentFuture;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]  --> src/lib.rs:22:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]   = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-05; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:23:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 4 | let res = InstrumentFuture::new(my_fut).await;
[INFO] [stdout]   |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]  --> src/lib.rs:22:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]   |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - InstrumentFuture (line 21)
[INFO] [stdout]     src/lib.rs - dbg_instrument (line 81)
[INFO] [stdout]     src/lib.rs - instrument (line 125)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5a57c4c1a66f4454244dff5fac3111b171186c3785f1eccb3c001780f913d401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a57c4c1a66f4454244dff5fac3111b171186c3785f1eccb3c001780f913d401", kill_on_drop: false }`
[INFO] [stdout] 5a57c4c1a66f4454244dff5fac3111b171186c3785f1eccb3c001780f913d401
