Skip to content

CI on v1

CI on v1 #889

Triggered via push April 30, 2024 20:44
Status Failure
Total duration 5m 3s
Artifacts

ci.yml

on: push
test-minimal-versions
23s
test-minimal-versions
analyze
4m 54s
analyze
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 28 warnings
test (macos-latest)
The process '/Users/runner/.cargo/bin/rustup' failed with exit code 1
test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
test (ubuntu-latest)
The operation was canceled.
test (windows-latest)
The job was canceled because "macos-latest" failed.
test (windows-latest)
The operation was canceled.
test-minimal-versions
Process completed with exit code 101.
analyze
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
test (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-minimal-versions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-minimal-versions
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-minimal-versions
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-minimal-versions
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-minimal-versions
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-minimal-versions
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
this `impl` can be derived: src/config/redirect.rs#L19
warning: this `impl` can be derived --> src/config/redirect.rs:19:1 | 19 | / impl Default for RedirectPolicy { 20 | | fn default() -> Self { 21 | | RedirectPolicy::None 22 | | } 23 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` implied by `#[warn(clippy::all)]` = help: remove the manual implementation... help: ...and instead derive it... | 5 + #[derive(Default)] 6 | pub enum RedirectPolicy { | help: ...and mark the default variant | 10 ~ #[default] 11 ~ None, |
the borrowed expression implements the required traits: src/config/dial.rs#L137
warning: the borrowed expression implements the required traits --> src/config/dial.rs:137:27 | 137 | path.push(&s[5..].trim_start_matches('/')); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `s[5..].trim_start_matches('/')` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
usage of a legacy numeric method: src/trailer.rs#L196
warning: usage of a legacy numeric method --> src/trailer.rs:196:45 | 196 | self.shared.ready.notify(usize::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` implied by `#[warn(clippy::all)]` help: use the associated constant instead | 196 | self.shared.ready.notify(usize::MAX); | ~~~
the borrowed expression implements the required traits: src/handler.rs#L209
warning: the borrowed expression implements the required traits --> src/handler.rs:209:32 | 209 | self.span.record("id", &id); | ^^^ help: change this to: `id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` implied by `#[warn(clippy::all)]`
this expression borrows a value the compiler would automatically borrow: src/agent/selector.rs#L308
warning: this expression borrows a value the compiler would automatically borrow --> src/agent/selector.rs:308:9 | 308 | (&mut self.0[..bytes.len()]).copy_from_slice(bytes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.0[..bytes.len()]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]`
deref which would be done by auto-deref: src/cookies/psl/mod.rs#L149
warning: deref which would be done by auto-deref --> src/cookies/psl/mod.rs:149:11 | 149 | f(&*cache) | ^^^^^^^ help: try: `&cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: src/cookies/psl/mod.rs#L147
warning: deref which would be done by auto-deref --> src/cookies/psl/mod.rs:147:11 | 147 | f(&*cache) | ^^^^^^^ help: try: `&cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `#[warn(clippy::explicit_auto_deref)]` implied by `#[warn(clippy::all)]`
the `Err`-variant returned from this function is very large: src/cookies/jar.rs#L133
warning: the `Err`-variant returned from this function is very large --> src/cookies/jar.rs:133:10 | 133 | ) -> Result<Option<Cookie>, CookieRejectedError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 128 bytes | = help: try reducing the size of `cookies::jar::CookieRejectedError`, for example by boxing large elements or replacing it with `Box<cookies::jar::CookieRejectedError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err note: the lint level is defined here --> src/lib.rs:235:5 | 235 | clippy::all | ^^^^^^^^^^^ = note: `#[warn(clippy::result_large_err)]` implied by `#[warn(clippy::all)]`
method `call` is never used: src/interceptor/mod.rs#L140
warning: method `call` is never used --> src/interceptor/mod.rs:140:24 | 140 | fn call(&self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), | | -------- method in this trait 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
method `call_mut` is never used: src/interceptor/mod.rs#L137
warning: method `call_mut` is never used --> src/interceptor/mod.rs:137:24 | 137 | fn call_mut(&mut self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), | | ----------- method in this trait 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
method `call_once` is never used: src/interceptor/mod.rs#L134
warning: method `call_once` is never used --> src/interceptor/mod.rs:134:24 | 134 | fn call_once(self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^^^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), | | ------------ method in this trait 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
method `call` is never used: src/interceptor/mod.rs#L140
warning: method `call` is never used --> src/interceptor/mod.rs:140:24 | 140 | fn call(&self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), | | -------- method in this trait 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
method `call_mut` is never used: src/interceptor/mod.rs#L137
warning: method `call_mut` is never used --> src/interceptor/mod.rs:137:24 | 137 | fn call_mut(&mut self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), | | ----------- method in this trait 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
method `call_once` is never used: src/interceptor/mod.rs#L134
warning: method `call_once` is never used --> src/interceptor/mod.rs:134:24 | 134 | fn call_once(self, $($arg: $arg_ty,)*) -> Self::Future; | ^^^^^^^^^ ... 175 | / impl_async_fn! { 176 | | (AsyncFnOnce0, AsyncFnMut0, AsyncFn0, ()), | | ------------ method in this trait 177 | | (AsyncFnOnce1, AsyncFnMut1, AsyncFn1, (a0:A0, )), 178 | | (AsyncFnOnce2, AsyncFnMut2, AsyncFn2, (a0:A0, a1:A1, )), 179 | | } | |_____- in this macro invocation | note: the lint level is defined here --> src/lib.rs:234:5 | 234 | unused, | ^^^^^^ = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` = note: this warning originates in the macro `impl_async_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/clippy-check@v1, actions-rs/tarpaulin@v0.1.3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
analyze
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/clippy-check@v1, actions-rs/tarpaulin@v0.1.3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/