[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MolotovCherry/async-instrumenter on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7de755159ff2a16c876b35c7f79ff523dbd1bee678d5948bcca4407704f3f1f3
[INFO] running `Command { std: "docker" "start" "-a" "7de755159ff2a16c876b35c7f79ff523dbd1bee678d5948bcca4407704f3f1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7de755159ff2a16c876b35c7f79ff523dbd1bee678d5948bcca4407704f3f1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7de755159ff2a16c876b35c7f79ff523dbd1bee678d5948bcca4407704f3f1f3", kill_on_drop: false }`
[INFO] [stdout] 7de755159ff2a16c876b35c7f79ff523dbd1bee678d5948bcca4407704f3f1f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29f70c066540f85dabf1daa2b7f2e9aa608e7b6925fb4ccb0b85a8bfaeaf034a
[INFO] running `Command { std: "docker" "start" "-a" "29f70c066540f85dabf1daa2b7f2e9aa608e7b6925fb4ccb0b85a8bfaeaf034a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[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 34.07s
[INFO] running `Command { std: "docker" "inspect" "29f70c066540f85dabf1daa2b7f2e9aa608e7b6925fb4ccb0b85a8bfaeaf034a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29f70c066540f85dabf1daa2b7f2e9aa608e7b6925fb4ccb0b85a8bfaeaf034a", kill_on_drop: false }`
[INFO] [stdout] 29f70c066540f85dabf1daa2b7f2e9aa608e7b6925fb4ccb0b85a8bfaeaf034a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33cb49c57c661954344a1d72235d2dbdaa9873ab2b874ccbe28307dadca2f96c
[INFO] running `Command { std: "docker" "start" "-a" "33cb49c57c661954344a1d72235d2dbdaa9873ab2b874ccbe28307dadca2f96c", 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.34s
[INFO] running `Command { std: "docker" "inspect" "33cb49c57c661954344a1d72235d2dbdaa9873ab2b874ccbe28307dadca2f96c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33cb49c57c661954344a1d72235d2dbdaa9873ab2b874ccbe28307dadca2f96c", kill_on_drop: false }`
[INFO] [stdout] 33cb49c57c661954344a1d72235d2dbdaa9873ab2b874ccbe28307dadca2f96c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 77f6e31ce750c4cf2117aa57aa512779179cd125601d9288a8b0b25370f7c91d
[INFO] running `Command { std: "docker" "start" "-a" "77f6e31ce750c4cf2117aa57aa512779179cd125601d9288a8b0b25370f7c91d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_instrumenter-2319f33963433010)
[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 - InstrumentFuture (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - dbg_instrument (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - instrument (line 125) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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-07-04; 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] ---- 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-07-04; 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] [stderr] error: doctest failed, to rerun pass `--doc`
[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-07-04; 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] 
[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.19s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "77f6e31ce750c4cf2117aa57aa512779179cd125601d9288a8b0b25370f7c91d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77f6e31ce750c4cf2117aa57aa512779179cd125601d9288a8b0b25370f7c91d", kill_on_drop: false }`
[INFO] [stdout] 77f6e31ce750c4cf2117aa57aa512779179cd125601d9288a8b0b25370f7c91d
