[INFO] fetching crate async_closure 0.1.2...
[INFO] testing async_closure-0.1.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate async_closure 0.1.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate async_closure 0.1.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate async_closure 0.1.2
[INFO] finished tweaking crates.io crate async_closure 0.1.2
[INFO] tweaked toml for crates.io crate async_closure 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pollster v0.3.0
[INFO] [stderr]   Downloaded pollster-macro v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86a5ce2c2bd18fdc58d6c0e6049910c104a179d0d11f4c6533b4608e1a775d60
[INFO] running `Command { std: "docker" "start" "-a" "86a5ce2c2bd18fdc58d6c0e6049910c104a179d0d11f4c6533b4608e1a775d60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86a5ce2c2bd18fdc58d6c0e6049910c104a179d0d11f4c6533b4608e1a775d60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a5ce2c2bd18fdc58d6c0e6049910c104a179d0d11f4c6533b4608e1a775d60", kill_on_drop: false }`
[INFO] [stdout] 86a5ce2c2bd18fdc58d6c0e6049910c104a179d0d11f4c6533b4608e1a775d60
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64ba322abbbed789c47e26862d359d52977775657edec98f2873fbe04da3798b
[INFO] running `Command { std: "docker" "start" "-a" "64ba322abbbed789c47e26862d359d52977775657edec98f2873fbe04da3798b", kill_on_drop: false }`
[INFO] [stderr]    Compiling async_closure v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "64ba322abbbed789c47e26862d359d52977775657edec98f2873fbe04da3798b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64ba322abbbed789c47e26862d359d52977775657edec98f2873fbe04da3798b", kill_on_drop: false }`
[INFO] [stdout] 64ba322abbbed789c47e26862d359d52977775657edec98f2873fbe04da3798b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9c81089a76269d215c2ba49797c50ebbb593bf6b95b4e6d76ab849ff08c142a
[INFO] running `Command { std: "docker" "start" "-a" "f9c81089a76269d215c2ba49797c50ebbb593bf6b95b4e6d76ab849ff08c142a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pollster-macro v0.1.0
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling async_closure v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stdout] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stdout] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s
[INFO] running `Command { std: "docker" "inspect" "f9c81089a76269d215c2ba49797c50ebbb593bf6b95b4e6d76ab849ff08c142a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9c81089a76269d215c2ba49797c50ebbb593bf6b95b4e6d76ab849ff08c142a", kill_on_drop: false }`
[INFO] [stdout] f9c81089a76269d215c2ba49797c50ebbb593bf6b95b4e6d76ab849ff08c142a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7be9dbcabfc9f224dff62b10effbd691f1b09221961ebaaef4d0062ecb2ee2ad
[INFO] running `Command { std: "docker" "start" "-a" "7be9dbcabfc9f224dff62b10effbd691f1b09221961ebaaef4d0062ecb2ee2ad", kill_on_drop: false }`
[INFO] [stderr] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stderr]  --> src/lib.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | #![feature(async_fn_in_trait)]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(stable_features)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]  --> src/capture_lifetimes.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]   |
[INFO] [stderr] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stderr] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/capture_lifetimes.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stderr] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/capture_lifetimes.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stderr] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]  --> src/capture_no_lifetimes.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]   |
[INFO] [stderr] 9 -     async fn call_once(self, args: Args) -> Self::Output;
[INFO] [stderr] 9 +     fn call_once(self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/capture_no_lifetimes.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 16 -     async fn call_mut(&mut self, args: Args) -> Self::Output;
[INFO] [stderr] 16 +     fn call_mut(&mut self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/capture_no_lifetimes.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 23 -     async fn call(&self, args: Args) -> Self::Output;
[INFO] [stderr] 23 +     fn call(&self, args: Args) -> impl std::future::Future<Output = Self::Output> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `async_closure` (lib) generated 7 warnings
[INFO] [stderr] warning: `async_closure` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_closure-e0ecd33afe0df70b)
[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_closure
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 77) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 84) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 79) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 62) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 88) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 87) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 18) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 75) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 119) ... ignored
[INFO] [stdout] test src/lib.rs - (line 19) ... ignored
[INFO] [stdout] test src/lib.rs - (line 55) ... ignored
[INFO] [stdout] test src/lib.rs - (line 84) ... ignored
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 25) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 54) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 105) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 33) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 32) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 140) ... FAILED
[INFO] [stdout] test src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 26) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 75) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 54) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 17) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 61) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 83) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 104) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 117) ... FAILED
[INFO] [stdout] test src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 138) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 77) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:77:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:105:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> () {
[INFO] [stdout] 33 | |         buf.push_str(s);
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:105:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> () {
[INFO] [stdout] 33 | |         buf.push_str(s);
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:105:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> () {
[INFO] [stdout] 33 | |         buf.push_str(s);
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:105:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> () {
[INFO] [stdout] 33 | |         buf.push_str(s);
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> () {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 84) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:83:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                               ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                               ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                               ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_84_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                   ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                               ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 79) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:79:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:108:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> () { // Note: you can never return `&'a mut String` with AsyncFnMut
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 62) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:62:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |         buf
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 30 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 31 | |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout] 32 | |         buf.push_str(s);
[INFO] [stdout] 33 | |         buf
[INFO] [stdout] 34 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     }; async |s: &str| -> &'a mut String {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 88) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:88:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:116:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 32 | |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:118:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> &'a Mutex<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 87) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:87:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:115:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout] 33 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 34 | |         buf.clone()
[INFO] [stdout] 35 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut __AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:117:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Arc<Mutex<String>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 18) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:18:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 32 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 33 | |         use std::fmt::Write;
[INFO] [stdout] 34 | |         write!(buf, " {s}")?;
[INFO] [stdout] 35 | |         Ok(())
[INFO] [stdout] 36 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 32 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 33 | |         use std::fmt::Write;
[INFO] [stdout] 34 | |         write!(buf, " {s}")?;
[INFO] [stdout] 35 | |         Ok(())
[INFO] [stdout] 36 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 75) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:74:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:100:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:100:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:100:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:100:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:102:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a mut Vec<u8> { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:106:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:107:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:111:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 42 | |     let mut v = v; // rebinding
[INFO] [stdout] 43 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:111:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 42 | |     let mut v = v; // rebinding
[INFO] [stdout] 43 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:111:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 42 | |     let mut v = v; // rebinding
[INFO] [stdout] 43 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:111:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 42 | |     let mut v = v; // rebinding
[INFO] [stdout] 43 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_75_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:112:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 119) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:118:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_119_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:134:43
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 25) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:25:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 33 | |         buf: String = buf
[INFO] [stdout] 34 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 35 | |         use std::fmt::Write;
[INFO] [stdout] 36 | |         write!(buf, " {s}")?;
[INFO] [stdout] 37 | |         Ok(())
[INFO] [stdout] 38 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 33 | |         buf: String = buf
[INFO] [stdout] 34 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 35 | |         use std::fmt::Write;
[INFO] [stdout] 36 | |         write!(buf, " {s}")?;
[INFO] [stdout] 37 | |         Ok(())
[INFO] [stdout] 38 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 33 | |         buf: String = buf
[INFO] [stdout] 34 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 35 | |         use std::fmt::Write;
[INFO] [stdout] 36 | |         write!(buf, " {s}")?;
[INFO] [stdout] 37 | |         Ok(())
[INFO] [stdout] 38 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let cb = async_owned_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 33 | |         buf: String = buf
[INFO] [stdout] 34 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 35 | |         use std::fmt::Write;
[INFO] [stdout] 36 | |         write!(buf, " {s}")?;
[INFO] [stdout] 37 | |         Ok(())
[INFO] [stdout] 38 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 54) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:53:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:48
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_54_0::__AsyncClosure<'_>, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                    ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:69:48
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 105) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:104:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:124:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:124:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:124:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:124:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: &'a mut Vec<u8> = &mut v,
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:126:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:35
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:35
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:35
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:131:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | / cb!(
[INFO] [stdout] 30 | |     { v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 31 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout] 32 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:133:35
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () /* &'a mut Vec<u8> */ { /* v */ }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:35
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:35
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:35
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:137:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / cb!({ v: &'a mut Vec<u8> = &mut v };
[INFO] [stdout] 36 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 37 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 38 | |     std::mem::swap(&mut vec, v); // v: &mut &mut Vec<u8>
[INFO] [stdout] 39 | |     std::mem::swap(&mut vec, *v);
[INFO] [stdout] 40 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:138:35
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:143:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 42 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 43 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 44 | |     std::mem::swap(&mut vec, v);
[INFO] [stdout] 45 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_105_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:144:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 33) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:33:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: &'a Mutex<String> = &context
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 32) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:32:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 23 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 24 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 25 | |         buf.lock().unwrap().push_str(s);
[INFO] [stdout] 26 | |         s.len()
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let cb = async_owned_closure!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 34 | |         buf: Arc<Mutex<String>> = context.clone()
[INFO] [stdout] 35 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 36 | |         use std::fmt::Write;
[INFO] [stdout] 37 | |         write!(&mut *buf.lock().unwrap(), " {s}")?;
[INFO] [stdout] 38 | |         Ok(())
[INFO] [stdout] 39 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 140) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:139:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:158:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: &'a [u8] = &v,
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:160:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:164:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: &'a [u8] = &v };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:166:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> &'a [u8] { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:170:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: &'a [u8] = &v };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &&[u8]
[INFO] [stdout] 37 | |     vec.extend_from_slice(*v);
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:171:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:176:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / cb!({ v: Vec<u8> = v };
[INFO] [stdout] 40 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 41 | |     let _: &Vec<u8> = v;
[INFO] [stdout] 42 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_lifetimes_rs_140_0::__AsyncClosure<'_>, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:177:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 42 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 26) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_lifetimes.rs:26:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 23 | |     }; async |s: &str| -> usize {
[INFO] [stdout] 24 | |         buf.push_str(s);
[INFO] [stdout] 25 | |         s.len()
[INFO] [stdout] 26 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 32 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 33 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 34 | |         use std::fmt::Write;
[INFO] [stdout] 35 | |         write!(buf, " {s}")?;
[INFO] [stdout] 36 | |         Ok(())
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 32 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 33 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 34 | |         use std::fmt::Write;
[INFO] [stdout] 35 | |         write!(buf, " {s}")?;
[INFO] [stdout] 36 | |         Ok(())
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 32 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 33 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 34 | |         use std::fmt::Write;
[INFO] [stdout] 35 | |         write!(buf, " {s}")?;
[INFO] [stdout] 36 | |         Ok(())
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_lifetimes.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let cb = async_closure_mut!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 32 | |         buf: &'a mut String = &mut context
[INFO] [stdout] 33 | |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout] 34 | |         use std::fmt::Write;
[INFO] [stdout] 35 | |         write!(buf, " {s}")?;
[INFO] [stdout] 36 | |         Ok(())
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut main::{closure#0}::__AsyncClosure<'_>, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_lifetimes.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     }; async |s: &str| -> std::fmt::Result {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 75) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:74:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / cb!({
[INFO] [stdout] 25 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 26 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / cb!({
[INFO] [stdout] 25 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 26 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / cb!(
[INFO] [stdout] 31 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 32 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout] 33 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / cb!(
[INFO] [stdout] 31 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 32 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout] 33 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / cb!(
[INFO] [stdout] 31 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 32 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout] 33 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:35
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / cb!(
[INFO] [stdout] 31 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 32 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout] 33 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:104:35
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> Vec<u8> { v }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:108:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 37 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 38 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 39 | |     let mut v = v;     // rebinding
[INFO] [stdout] 40 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 41 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:108:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 37 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 38 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 39 | |     let mut v = v;     // rebinding
[INFO] [stdout] 40 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 41 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:108:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 37 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 38 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 39 | |     let mut v = v;     // rebinding
[INFO] [stdout] 40 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 41 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:108:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 37 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 38 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 39 | |     let mut v = v;     // rebinding
[INFO] [stdout] 40 | |     std::mem::swap(&mut vec, &mut v);
[INFO] [stdout] 41 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_75_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:109:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 54) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:53:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                          ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_once!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                          ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:54
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_54_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                          ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:69:54
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_once!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 17) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:17:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout] 24 | |         let mut buf = buf; // rebinding
[INFO] [stdout] 25 | |         buf.push_str(s);
[INFO] [stdout] 26 | |         (s.len(), buf)
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 22 | |         buf: String = context
[INFO] [stdout] 23 | |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout] 24 | |         let mut buf = buf; // rebinding
[INFO] [stdout] 25 | |         buf.push_str(s);
[INFO] [stdout] 26 | |         (s.len(), buf)
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     }; async |s: &str| -> (usize, String) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = String::new()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout] 33 | |         use std::fmt::Write;
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         Ok(buf)
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = String::new()
[INFO] [stdout] 32 | |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout] 33 | |         use std::fmt::Write;
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         Ok(buf)
[INFO] [stdout] 37 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(main::{closure#0}::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 61) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:61:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> String {
[INFO] [stdout] 33 | |         let mut buf = buf;
[INFO] [stdout] 34 | |         buf.push_str(s);
[INFO] [stdout] 35 | |         buf
[INFO] [stdout] 36 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> String {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> String {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let cb = async_owned_closure_once!({
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 31 | |         buf: String = context
[INFO] [stdout] 32 | |     }; async |s: &str| -> String {
[INFO] [stdout] 33 | |         let mut buf = buf;
[INFO] [stdout] 34 | |         buf.push_str(s);
[INFO] [stdout] 35 | |         buf
[INFO] [stdout] 36 | |     });
[INFO] [stdout]    | |______^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> String {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     }; async |s: &str| -> String {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_once` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 83) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:82:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure_mut!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_83_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                         ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure_mut!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 104) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:103:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:123:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:123:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:123:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:123:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / cb!({
[INFO] [stdout] 23 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 24 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:125:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / cb!(
[INFO] [stdout] 29 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 30 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:131:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:135:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 35 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 36 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 37 | |     std::mem::swap(&mut vec, v); // v: &mut Vec<u8>
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_104_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:136:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 117) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:116:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:129:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | async_owned_closure!({}; async |_s: &str| -> usize { 0 }); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_117_0::__AsyncClosure, (&_, &mut Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                     ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:132:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | async_owned_closure!({}; async |_s: &str, _buf: &mut Vec<u8>| -> () {}); 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `async_owned_closure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 138) stdout ----
[INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/capture_no_lifetimes.rs:137:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(async_fn_in_trait)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / cb!({
[INFO] [stdout] 22 | |     v: Vec<u8> = vec![],
[INFO] [stdout] 23 | | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    | |___________________________________^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _,)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:158:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | }; async |_s: &mut [u8]| -> () { }); // `_` is not an ident, thus not allowed
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:162:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / cb!(
[INFO] [stdout] 28 | |     { v: Vec<u8> = Vec::new() };
[INFO] [stdout] 29 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout] 30 | | );
[INFO] [stdout]    | |_^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:164:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     async |arg1: &mut [u8], arg2: Cow<'_, str>| -> () { }
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&_doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime as defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:168:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / cb!({ v: Vec<u8> = vec![] };
[INFO] [stdout] 34 | |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout] 35 | |     let mut vec = vec; // rebinding
[INFO] [stdout] 36 | |     vec.extend_from_slice(v); // v: &Vec<u8>
[INFO] [stdout] 37 | | });
[INFO] [stdout]    | |__^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout]               found signature `fn(&mut _doctest_main_src_capture_no_lifetimes_rs_138_0::__AsyncClosure, (&mut _, Cow<'_, _>, Vec<_>)) -> _`
[INFO] [stdout] note: the anonymous lifetime as defined here...
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                  ^
[INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime defined here
[INFO] [stdout]   --> src/capture_no_lifetimes.rs:169:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |     async |arg1: &mut [u8], arg2: Cow<'_, str>, vec: Vec<u8>| -> () {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the macro `cb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 33)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFn (line 88)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 26)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFnMut (line 79)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 18)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::AsyncFnOnce (line 62)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 119)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure (line 140)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 105)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure_mut (line 84)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 54)
[INFO] [stdout]     src/capture_lifetimes.rs - capture_lifetimes::async_closure_once (line 75)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 32)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFn (line 87)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 25)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnMut (line 77)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 17)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::AsyncFnOnce (line 61)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 117)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure (line 138)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 104)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_mut (line 83)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 54)
[INFO] [stdout]     src/capture_no_lifetimes.rs - capture_no_lifetimes::async_owned_closure_once (line 75)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 24 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7be9dbcabfc9f224dff62b10effbd691f1b09221961ebaaef4d0062ecb2ee2ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7be9dbcabfc9f224dff62b10effbd691f1b09221961ebaaef4d0062ecb2ee2ad", kill_on_drop: false }`
[INFO] [stdout] 7be9dbcabfc9f224dff62b10effbd691f1b09221961ebaaef4d0062ecb2ee2ad
