CI #1
CI.yaml
on: workflow_dispatch
Clippy
50s
`cargo deny`
15s
Report Missing Dependencies
13s
Matrix: rust
Annotations
13 errors and 3 warnings
`cargo deny`
Process completed with exit code 6.
|
Report Missing Dependencies
Process completed with exit code 1.
|
Rust CI [stable on macOS]
ENOENT: no such file or directory, opendir '/Users/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [stable on macOS]
Error: ENOENT: no such file or directory, opendir '/Users/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [stable on Linux (x86_64)]
ENOENT: no such file or directory, opendir '/home/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [stable on Linux (x86_64)]
Error: ENOENT: no such file or directory, opendir '/home/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [nightly on macOS]
ENOENT: no such file or directory, opendir '/Users/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [nightly on macOS]
Error: ENOENT: no such file or directory, opendir '/Users/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [nightly on Linux (x86_64)]
ENOENT: no such file or directory, opendir '/home/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [nightly on Linux (x86_64)]
Error: ENOENT: no such file or directory, opendir '/home/runner/work/testkit/testkit/target/tests/target'
|
Rust CI [nightly on Windows]
Process completed with exit code 1.
|
Rust CI [stable on Windows]
The job was canceled because "nightly_windows-latest" failed.
|
Rust CI [stable on Windows]
The operation was canceled.
|
./file/that/probably/doesnt/exist.rs#L0
1 warning emitted
|
this `else { if .. }` block can be collapsed:
crates/testkit/src/lib.rs#L238
warning: this `else { if .. }` block can be collapsed
--> crates/testkit/src/lib.rs:238:28
|
238 | } else {
| ____________________________^
239 | | if http2 {
240 | | #[cfg(feature = "http2")]
241 | | if let Err(err) = hyper::server::conn::http2::Builder::new(TokioExecutor::new())
... |
256 | | }
257 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
238 ~ } else if http2 {
239 + #[cfg(feature = "http2")]
240 + if let Err(err) = hyper::server::conn::http2::Builder::new(TokioExecutor::new())
241 + .serve_connection(socket, hyper_service)
242 + .await
243 + {
244 + eprintln!("failed to serve HTTP/2 connection: {err:#}");
245 + }
246 + } else if http1 {
247 + if let Err(err) = hyper::server::conn::http1::Builder::new()
248 + .serve_connection(socket, hyper_service)
249 + .await
250 + {
251 + eprintln!("failed to serve HTTP/1 connection: {err:#}");
252 + }
253 + } else {
254 + panic!("unable to serve connection due to no HTTP stream to process");
255 + }
|
|
1 warning emitted
warning: 1 warning emitted
|