Skip to content

Add `AsyncCommandExt`, `AsyncChildExt`

cc9c083
Select commit
Loading
Failed to load commit list.
Draft

Add AsyncCommandExt, AsyncChildExt #39

Add `AsyncCommandExt`, `AsyncChildExt`
cc9c083
Select commit
Loading
Failed to load commit list.
Garnix CI / check command-error-nextest [x86_64-linux] failed Feb 24, 2026 in 2m 14s

check command-error-nextest [x86_64-linux]

check command-error-nextest [x86_64-linux] failed

Details

Last 100 lines of logs:

command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 136 |     ) -> impl Future<Output = Result<ExitStatus, Self::Error>> + Send + '_ {
command-error-nextest-0.8.0>     |               ^^^^^^ not found in this scope
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> help: consider importing this trait
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 4   + use std::future::Future;
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
command-error-nextest-0.8.0>    --> src/async_command_ext.rs:155:31
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 155 |     type Child = ChildContext<tokio::process::Child>;
command-error-nextest-0.8.0>     |                               ^^^^^ use of undeclared crate or module `tokio`
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> help: consider importing this module
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 4   + use std::process;
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> help: if you import `process`, refer to it directly
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 155 -     type Child = ChildContext<tokio::process::Child>;
command-error-nextest-0.8.0> 155 +     type Child = ChildContext<process::Child>;
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> error[E0405]: cannot find trait `Future` in this scope
command-error-nextest-0.8.0>    --> src/async_command_ext.rs:175:15
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 175 |     ) -> impl Future<Output = Result<R, E>> + Send + '_
command-error-nextest-0.8.0>     |               ^^^^^^ not found in this scope
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> help: consider importing this trait
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 4   + use std::future::Future;
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> error[E0405]: cannot find trait `Future` in this scope
command-error-nextest-0.8.0>    --> src/async_command_ext.rs:203:15
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 203 |     ) -> impl Future<Output = Result<R, E>> + Send + '_
command-error-nextest-0.8.0>     |               ^^^^^^ not found in this scope
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> help: consider importing this trait
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 4   + use std::future::Future;
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> error[E0658]: async closures are unstable
command-error-nextest-0.8.0>    --> src/async_child_ext.rs:119:13
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 119 |             async move |context| match succeeded(context.status()).await {
command-error-nextest-0.8.0>     |             ^^^^^
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0>     = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
command-error-nextest-0.8.0>     = help: to use an async block, remove the `||`: `async {`
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> error[E0658]: async closures are unstable
command-error-nextest-0.8.0>    --> src/async_child_ext.rs:132:32
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0> 132 |         self.wait_checked_with(async |status| {
command-error-nextest-0.8.0>     |                                ^^^^^
command-error-nextest-0.8.0>     |
command-error-nextest-0.8.0>     = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
command-error-nextest-0.8.0>     = help: to use an async block, remove the `||`: `async {`
command-error-nextest-0.8.0> 
command-error-nextest-0.8.0> Some errors have detailed explanations: E0405, E0432, E0433, E0658.
command-error-nextest-0.8.0> For more information about an error, try `rustc --explain E0405`.
command-error-nextest-0.8.0> error: could not compile `command-error` (lib) due to 43 previous errors
command-error-nextest-0.8.0> warning: build failed, waiting for other jobs to finish...
command-error-nextest-0.8.0> error: command `/nix/store/7yz5njr95imcg4zzxryphgymipfl6ps4-cargo-1.82.0-x86_64-unknown-linux-gnu/bin/cargo test --no-run --message-format json-render-diagnostics --all-features --profile release` exited with code 101
command-error-nextest-0.8.0> error: process didn't exit successfully: `/nix/store/7yz5njr95imcg4zzxryphgymipfl6ps4-cargo-1.82.0-x86_64-unknown-linux-gnu/bin/cargo nextest run --cargo-profile release --manifest-path Cargo.toml --all-features` (exit status: 101)
error: build of '/nix/store/44i8ikpd5vyn85zyv0dxfr1ab8zdzvrz-command-error-nextest-0.8.0.drv' on 'ssh-ng://nix-ssh@garnix7' failed: builder for '/nix/store/44i8ikpd5vyn85zyv0dxfr1ab8zdzvrz-command-error-nextest-0.8.0.drv' failed with exit code 1;
       last 25 log lines:
       >
       > error[E0658]: async closures are unstable
       >    --> src/async_child_ext.rs:119:13
       >     |
       > 119 |             async move |context| match succeeded(context.status()).await {
       >     |             ^^^^^
       >     |
       >     = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
       >     = help: to use an async block, remove the `||`: `async {`
       >
       > error[E0658]: async closures are unstable
       >    --> src/async_child_ext.rs:132:32
       >     |
       > 132 |         self.wait_checked_with(async |status| {
       >     |                                ^^^^^
       >     |
       >     = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
       >     = help: to use an async block, remove the `||`: `async {`
       >
       > Some errors have detailed explanations: E0405, E0432, E0433, E0658.
       > For more information about an error, try `rustc --explain E0405`.
       > error: could not compile `command-error` (lib) due to 43 previous errors
       > warning: build failed, waiting for other jobs to finish...
       > error: command `/nix/store/7yz5njr95imcg4zzxryphgymipfl6ps4-cargo-1.82.0-x86_64-unknown-linux-gnu/bin/cargo test --no-run --message-format json-render-diagnostics --all-features --profile release` exited with code 101
       > error: process didn't exit successfully: `/nix/store/7yz5njr95imcg4zzxryphgymipfl6ps4-cargo-1.82.0-x86_64-unknown-linux-gnu/bin/cargo nextest run --cargo-profile release --manifest-path Cargo.toml --all-features` (exit status: 101)
       For full logs, run 'nix log /nix/store/44i8ikpd5vyn85zyv0dxfr1ab8zdzvrz-command-error-nextest-0.8.0.drv'.
error: builder for '/nix/store/44i8ikpd5vyn85zyv0dxfr1ab8zdzvrz-command-error-nextest-0.8.0.drv' failed with exit code 1