[INFO] fetching crate async-instrumenter 0.1.4...
[INFO] testing async-instrumenter-0.1.4 against 1.97.0-beta.1 for beta-1.97-1
[INFO] extracting crate async-instrumenter 0.1.4 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate async-instrumenter 0.1.4
[INFO] finished tweaking crates.io crate async-instrumenter 0.1.4
[INFO] tweaked toml for crates.io crate async-instrumenter 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate async-instrumenter 0.1.4 on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "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" "+1.97.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8c22e415322156bb235238c11ce938e6246b009b76634f45c83072488c9ed70
[INFO] running `Command { std: "docker" "start" "-a" "f8c22e415322156bb235238c11ce938e6246b009b76634f45c83072488c9ed70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8c22e415322156bb235238c11ce938e6246b009b76634f45c83072488c9ed70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8c22e415322156bb235238c11ce938e6246b009b76634f45c83072488c9ed70", kill_on_drop: false }`
[INFO] [stdout] f8c22e415322156bb235238c11ce938e6246b009b76634f45c83072488c9ed70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18b15e2f3f7ebba92e07c7377c756eb04b8a60f0d2a97054413243f169ed9998
[INFO] running `Command { std: "docker" "start" "-a" "18b15e2f3f7ebba92e07c7377c756eb04b8a60f0d2a97054413243f169ed9998", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.30s
[INFO] running `Command { std: "docker" "inspect" "18b15e2f3f7ebba92e07c7377c756eb04b8a60f0d2a97054413243f169ed9998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18b15e2f3f7ebba92e07c7377c756eb04b8a60f0d2a97054413243f169ed9998", kill_on_drop: false }`
[INFO] [stdout] 18b15e2f3f7ebba92e07c7377c756eb04b8a60f0d2a97054413243f169ed9998
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48afb3dd670f936aa6e7cde44b2c950948616ad1d28a5121aa327c5e3d9f10d8
[INFO] running `Command { std: "docker" "start" "-a" "48afb3dd670f936aa6e7cde44b2c950948616ad1d28a5121aa327c5e3d9f10d8", 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.18s
[INFO] running `Command { std: "docker" "inspect" "48afb3dd670f936aa6e7cde44b2c950948616ad1d28a5121aa327c5e3d9f10d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48afb3dd670f936aa6e7cde44b2c950948616ad1d28a5121aa327c5e3d9f10d8", kill_on_drop: false }`
[INFO] [stdout] 48afb3dd670f936aa6e7cde44b2c950948616ad1d28a5121aa327c5e3d9f10d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f3505fd00e1c4ed9c8b15cd969e3b5b4f297aa147525942ea84a84df5cb2fa66
[INFO] running `Command { std: "docker" "start" "-a" "f3505fd00e1c4ed9c8b15cd969e3b5b4f297aa147525942ea84a84df5cb2fa66", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_instrumenter-3f2429d9fb247d40)
[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 - instrument (line 129) ... FAILED
[INFO] [stdout] test src/lib.rs - dbg_instrument (line 85) ... FAILED
[INFO] [stdout] test src/lib.rs - InstrumentFuture (line 21) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - instrument (line 129) stdout ----
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]    --> src/lib.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | instrument!(my_fut).await;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]    --> src/lib.rs:134:1
[INFO] [stdout]     |
[INFO] [stdout] 134 | instrument!("custom_log_message {f}: {elapsed:?}").await;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]    --> src/lib.rs:130:18
[INFO] [stdout]     |
[INFO] [stdout] 130 | 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] 129 + 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:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 | 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] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_129_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 130 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 131 | 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:134:52
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_129_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 134 | instrument!("custom_log_message {f}: {elapsed:?}").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:130:40
[INFO] [stdout]     |
[INFO] [stdout] 130 | 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 - dbg_instrument (line 85) stdout ----
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]   --> src/lib.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | dbg_instrument!(my_fut).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | dbg_instrument!("custom_log_message {f}: {elapsed:?}").await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> src/lib.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 | 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] 85 + 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:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 | 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] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_85_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 86 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 87 | 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:90:56
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_85_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 90 | dbg_instrument!("custom_log_message {f}: {elapsed:?}").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:86:40
[INFO] [stdout]    |
[INFO] [stdout] 86 | 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] 22 | 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] 21 + 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:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 23 | 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] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InstrumentFuture` in this scope
[INFO] [stdout]   --> src/lib.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | let res = InstrumentFuture::new(my_fut).await;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^ use of undeclared type `InstrumentFuture`
[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 85)
[INFO] [stdout]     src/lib.rs - instrument (line 129)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f3505fd00e1c4ed9c8b15cd969e3b5b4f297aa147525942ea84a84df5cb2fa66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3505fd00e1c4ed9c8b15cd969e3b5b4f297aa147525942ea84a84df5cb2fa66", kill_on_drop: false }`
[INFO] [stdout] f3505fd00e1c4ed9c8b15cd969e3b5b4f297aa147525942ea84a84df5cb2fa66
