Add AsyncCommandExt, AsyncChildExt
#39
Draft
Garnix CI / package command-error-docs-tarball [x86_64-linux]
failed
Feb 24, 2026 in 2m 46s
package command-error-docs-tarball [x86_64-linux]
package command-error-docs-tarball [x86_64-linux] failed
Details
Last 100 lines of logs:
command-error-doc-0.8.0> error[E0405]: cannot find trait `Future` in this scope
command-error-doc-0.8.0> --> src/async_command_ext.rs:136:15
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 136 | ) -> impl Future<Output = Result<ExitStatus, Self::Error>> + Send + '_ {
command-error-doc-0.8.0> | ^^^^^^ not found in this scope
command-error-doc-0.8.0> |
command-error-doc-0.8.0> help: consider importing this trait
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 4 + use std::future::Future;
command-error-doc-0.8.0> |
command-error-doc-0.8.0>
command-error-doc-0.8.0> error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
command-error-doc-0.8.0> --> src/async_command_ext.rs:155:31
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 155 | type Child = ChildContext<tokio::process::Child>;
command-error-doc-0.8.0> | ^^^^^ use of undeclared crate or module `tokio`
command-error-doc-0.8.0> |
command-error-doc-0.8.0> help: consider importing this module
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 4 + use std::process;
command-error-doc-0.8.0> |
command-error-doc-0.8.0> help: if you import `process`, refer to it directly
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 155 - type Child = ChildContext<tokio::process::Child>;
command-error-doc-0.8.0> 155 + type Child = ChildContext<process::Child>;
command-error-doc-0.8.0> |
command-error-doc-0.8.0>
command-error-doc-0.8.0> error[E0405]: cannot find trait `Future` in this scope
command-error-doc-0.8.0> --> src/async_command_ext.rs:175:15
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 175 | ) -> impl Future<Output = Result<R, E>> + Send + '_
command-error-doc-0.8.0> | ^^^^^^ not found in this scope
command-error-doc-0.8.0> |
command-error-doc-0.8.0> help: consider importing this trait
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 4 + use std::future::Future;
command-error-doc-0.8.0> |
command-error-doc-0.8.0>
command-error-doc-0.8.0> error[E0405]: cannot find trait `Future` in this scope
command-error-doc-0.8.0> --> src/async_command_ext.rs:203:15
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 203 | ) -> impl Future<Output = Result<R, E>> + Send + '_
command-error-doc-0.8.0> | ^^^^^^ not found in this scope
command-error-doc-0.8.0> |
command-error-doc-0.8.0> help: consider importing this trait
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 4 + use std::future::Future;
command-error-doc-0.8.0> |
command-error-doc-0.8.0>
command-error-doc-0.8.0> error[E0658]: async closures are unstable
command-error-doc-0.8.0> --> src/async_child_ext.rs:119:13
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 119 | async move |context| match succeeded(context.status()).await {
command-error-doc-0.8.0> | ^^^^^
command-error-doc-0.8.0> |
command-error-doc-0.8.0> = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
command-error-doc-0.8.0> = help: to use an async block, remove the `||`: `async {`
command-error-doc-0.8.0>
command-error-doc-0.8.0> error[E0658]: async closures are unstable
command-error-doc-0.8.0> --> src/async_child_ext.rs:132:32
command-error-doc-0.8.0> |
command-error-doc-0.8.0> 132 | self.wait_checked_with(async |status| {
command-error-doc-0.8.0> | ^^^^^
command-error-doc-0.8.0> |
command-error-doc-0.8.0> = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
command-error-doc-0.8.0> = help: to use an async block, remove the `||`: `async {`
command-error-doc-0.8.0>
command-error-doc-0.8.0> Some errors have detailed explanations: E0405, E0432, E0433, E0658.
command-error-doc-0.8.0> For more information about an error, try `rustc --explain E0405`.
command-error-doc-0.8.0> error: could not document `command-error`
error: build of '/nix/store/ww8lg1dgl7w66ja6s3zbbs1f1vxkf31a-command-error-doc-0.8.0.drv' on 'ssh-ng://nix-ssh@garnix7' failed: builder for '/nix/store/ww8lg1dgl7w66ja6s3zbbs1f1vxkf31a-command-error-doc-0.8.0.drv' failed with exit code 101;
last 25 log lines:
> |
> 4 + use std::future::Future;
> |
>
> 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 document `command-error`
For full logs, run 'nix log /nix/store/ww8lg1dgl7w66ja6s3zbbs1f1vxkf31a-command-error-doc-0.8.0.drv'.
error: builder for '/nix/store/ww8lg1dgl7w66ja6s3zbbs1f1vxkf31a-command-error-doc-0.8.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/z1m3wpf6cpxzdqks5vjgilwfxr8kqlla-command-error-docs-tarball-0.8.0.drv' failed to build
Loading