[INFO] fetching crate async-instrumenter 0.1.4... [INFO] testing async-instrumenter-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4eb91dcddfc4b621c5f187a6f8321c624a1511f15c81e178fd9f6de9517f1e9 [INFO] running `Command { std: "docker" "start" "-a" "d4eb91dcddfc4b621c5f187a6f8321c624a1511f15c81e178fd9f6de9517f1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4eb91dcddfc4b621c5f187a6f8321c624a1511f15c81e178fd9f6de9517f1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4eb91dcddfc4b621c5f187a6f8321c624a1511f15c81e178fd9f6de9517f1e9", kill_on_drop: false }` [INFO] [stdout] d4eb91dcddfc4b621c5f187a6f8321c624a1511f15c81e178fd9f6de9517f1e9 [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d22a6d6e3315fec8c8072540d8c9445fcae8708bf27045ee259f853a8ea7cf21 [INFO] running `Command { std: "docker" "start" "-a" "d22a6d6e3315fec8c8072540d8c9445fcae8708bf27045ee259f853a8ea7cf21", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.53s [INFO] running `Command { std: "docker" "inspect" "d22a6d6e3315fec8c8072540d8c9445fcae8708bf27045ee259f853a8ea7cf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22a6d6e3315fec8c8072540d8c9445fcae8708bf27045ee259f853a8ea7cf21", kill_on_drop: false }` [INFO] [stdout] d22a6d6e3315fec8c8072540d8c9445fcae8708bf27045ee259f853a8ea7cf21 [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f158937f716a28fd40cb84361ca952955eb1964e9f86cda5d74355818e70abca [INFO] running `Command { std: "docker" "start" "-a" "f158937f716a28fd40cb84361ca952955eb1964e9f86cda5d74355818e70abca", 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.28s [INFO] running `Command { std: "docker" "inspect" "f158937f716a28fd40cb84361ca952955eb1964e9f86cda5d74355818e70abca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f158937f716a28fd40cb84361ca952955eb1964e9f86cda5d74355818e70abca", kill_on_drop: false }` [INFO] [stdout] f158937f716a28fd40cb84361ca952955eb1964e9f86cda5d74355818e70abca [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac80c77da38a4f72824de47e5455fcd61c86e9a8032bc6012211788dc2b4a6a3 [INFO] running `Command { std: "docker" "start" "-a" "ac80c77da38a4f72824de47e5455fcd61c86e9a8032bc6012211788dc2b4a6a3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_instrumenter-7e7afdd151265ea6) [INFO] [stderr] Doc-tests async_instrumenter [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] [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 85) ... FAILED [INFO] [stdout] test src/lib.rs - instrument (line 129) ... 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] 22 | let my_fut: impl Future = 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[E0433]: failed to resolve: use of undeclared type `InstrumentFuture` [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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + 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] 22 | let my_fut: impl Future = 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 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-07; 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] 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 = 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 = 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 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + 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:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | dbg_instrument!("custom_log_message {f}: {elapsed:?}").await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + 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:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let my_fut: impl Future = 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 = 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 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-07; 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: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 = 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 = 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 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 129 + use async_instrumenter::instrument; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 129 + use async_instrumenter::instrument; [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 = 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 = 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 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-07; 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: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 = 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 = 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 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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ac80c77da38a4f72824de47e5455fcd61c86e9a8032bc6012211788dc2b4a6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac80c77da38a4f72824de47e5455fcd61c86e9a8032bc6012211788dc2b4a6a3", kill_on_drop: false }` [INFO] [stdout] ac80c77da38a4f72824de47e5455fcd61c86e9a8032bc6012211788dc2b4a6a3