Skip to content

Conversation

@taiki-e
Copy link
Collaborator

@taiki-e taiki-e commented Jul 19, 2025

No description provided.

taiki-e added 6 commits July 20, 2025 01:08
```
error: variables can be used directly in the `format!` string
  --> examples/timeout.rs:75:9
   |
75 |         println!("Stdout:\n{}", stdout);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
   = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
   |
75 -         println!("Stdout:\n{}", stdout);
75 +         println!("Stdout:\n{stdout}");
   |

error: variables can be used directly in the `format!` string
  --> examples/timeout.rs:76:9
   |
76 |         println!("Stderr:\n{}", stderr);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
   |
76 -         println!("Stderr:\n{}", stderr);
76 +         println!("Stderr:\n{stderr}");
   |

error: could not compile `async-process` (example "timeout") due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: variables can be used directly in the `format!` string
  --> tests/std.rs:80:23
   |
80 |             result => panic!("not terminated by signal 9 (instead, {:?})", result),
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
   = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
   |
80 -             result => panic!("not terminated by signal 9 (instead, {:?})", result),
80 +             result => panic!("not terminated by signal 9 (instead, {result:?})"),
   |

error: variables can be used directly in the `format!` string
   --> tests/std.rs:335:9
    |
335 | /         assert!(
336 | |             output.contains("RUN_TEST_NEW_ENV=123"),
337 | |             "didn't find RUN_TEST_NEW_ENV inside of:\n\n{}",
338 | |             output
339 | |         );
    | |_________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

error: variables can be used directly in the `format!` string
   --> tests/std.rs:353:9
    |
353 | /         assert!(
354 | |             output.contains("RUN_TEST_NEW_ENV=123"),
355 | |             "didn't find RUN_TEST_NEW_ENV inside of:\n\n{}",
356 | |             output
357 | |         );
    | |_________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

error: variables can be used directly in the `format!` string
   --> tests/std.rs:375:9
    |
375 | /         assert!(
376 | |             output.contains("RUN_TEST_NEW_ENV1=123"),
377 | |             "didn't find RUN_TEST_NEW_ENV1 inside of:\n\n{}",
378 | |             output
379 | |         );
    | |_________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

error: variables can be used directly in the `format!` string
   --> tests/std.rs:380:9
    |
380 | /         assert!(
381 | |             output.contains("RUN_TEST_NEW_ENV2=456"),
382 | |             "didn't find RUN_TEST_NEW_ENV2 inside of:\n\n{}",
383 | |             output
384 | |         );
    | |_________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
```
```
  error[E0432]: unresolved import `async_io::os::windows`
     --> src\reaper\wait.rs:188:27
      |
  188 |         use async_io::os::windows::Waitable;
      |                           ^^^^^^^ could not find `windows` in `os`
```
```
error: you seem to be trying to use `match` to destructure a single infallible pattern. Consider using `let`
  --> src/reaper/wait.rs:71:13
   |
71 | /             let inner = match &mut child.inner {
72 | |                 super::ChildGuard::Wait(inner) => inner,
73 | |                 #[cfg(not(windows))]
74 | |                 _ => unreachable!(),
75 | |             };
   | |______________^ help: try: `let super::ChildGuard::Wait(inner) = &mut child.inner;`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#infallible_destructuring_match
   = note: `-D clippy::infallible-destructuring-match` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::infallible_destructuring_match)]`
```
@taiki-e taiki-e merged commit 9901812 into master Jul 19, 2025
15 checks passed
@taiki-e taiki-e deleted the taiki-e/ci branch July 19, 2025 16:34
@taiki-e taiki-e mentioned this pull request Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants