Skip to content

feat(http): add cookie feature for client #1386

feat(http): add cookie feature for client

feat(http): add cookie feature for client #1386

Triggered via pull request November 1, 2024 08:41
Status Failure
Total duration 2m 29s
Artifacts

ci.yaml

on: pull_request
Matrix: lint
Matrix: test-linux-aarch64
Matrix: test-linux
Matrix: test-macos
Matrix: test-windows
Matrix: docs-check
Matrix: test-cli
CI is green
0s
CI is green
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 29 warnings
test-macos (nightly)
Process completed with exit code 101.
test-macos (stable)
The job was canceled because "nightly" failed.
test-macos (stable)
The operation was canceled.
test-linux (nightly)
Process completed with exit code 101.
test-windows (nightly)
Process completed with exit code 1.
test-windows (stable)
The job was canceled because "nightly" failed.
test-windows (stable)
The operation was canceled.
test-linux (stable)
The job was canceled because "nightly" failed.
test-linux (stable)
The operation was canceled.
test-linux-aarch64 (nightly)
Process completed with exit code 101.
test-linux-aarch64 (stable)
The job was canceled because "nightly" failed.
test-linux-aarch64 (stable)
The operation was canceled.
test-macos (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-linux (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
the following explicit lifetimes could be elided: 's, 'cx: volo-http/src/utils/extension.rs#L65
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-http/src/utils/extension.rs:65:19 | 65 | async fn call<'s, 'cx>( | ^^ ^^^ 66 | &'s self, | ^^ 67 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/transport/client.rs#L118
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/transport/client.rs:118:19 | 118 | async fn call<'s, 'cx>( | ^^ ^^^ 119 | &'s self, | ^^ 120 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/server/service.rs#L124
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/server/service.rs:124:19 | 124 | async fn call<'s, 'cx>( | ^^ ^^^ 125 | &'s self, | ^^ 126 | cx: &'cx mut ServerContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/server/router.rs#L97
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/server/router.rs:97:19 | 97 | async fn call<'s, 'cx>( | ^^ ^^^ 98 | &'s self, | ^^ 99 | cx: &'cx mut ServerContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/layer/user_agent.rs#L38
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/layer/user_agent.rs:38:19 | 38 | async fn call<'s, 'cx>( | ^^ ^^^ 39 | &'s self, | ^^ 40 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/layer/loadbalance/mod.rs#L90
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/layer/loadbalance/mod.rs:90:19 | 90 | async fn call<'s, 'cx>( | ^^ ^^^ 91 | &'s self, | ^^ 92 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/layer/grpc_timeout.rs#L98
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/layer/grpc_timeout.rs:98:19 | 98 | async fn call<'s, 'cx>( | ^^ ^^^ 99 | &'s self, | ^^ 100 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/layer/cross_origin.rs#L27
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/layer/cross_origin.rs:27:19 | 27 | async fn call<'s, 'cx>( | ^^ ^^^ 28 | &'s self, | ^^ 29 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 'cx: volo-grpc/src/client/mod.rs#L616
warning: the following explicit lifetimes could be elided: 'cx --> volo-grpc/src/client/mod.rs:616:27 | 616 | async fn call<'cx>( | ^^^ 617 | $self, 618 | $cx: &'cx mut crate::context::ClientContext, | ^^^ ... 627 | / impl_client!((self, &mut cx, req) => async move { 628 | | let has_metainfo = metainfo::METAINFO.try_with(|_| {}).is_ok(); 629 | | 630 | | let mk_call = async { self.transport.call(cx, req).await }; ... | 638 | | } 639 | | }); | |__- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: this warning originates in the macro `impl_client` (in Nightly builds, run with -Z macro-backtrace for more info)
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/client/mod.rs#L593
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/client/mod.rs:593:27 | 593 | async fn call<'s, 'cx>( | ^^ ^^^ 594 | &'s $self, | ^^ 595 | $cx: &'cx mut crate::context::ClientContext, | ^^^ ... 627 | / impl_client!((self, &mut cx, req) => async move { 628 | | let has_metainfo = metainfo::METAINFO.try_with(|_| {}).is_ok(); 629 | | 630 | | let mk_call = async { self.transport.call(cx, req).await }; ... | 638 | | } 639 | | }); | |__- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: this warning originates in the macro `impl_client` (in Nightly builds, run with -Z macro-backtrace for more info)
the following explicit lifetimes could be elided: 's, 'cx: volo-grpc/src/client/meta.rs#L38
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-grpc/src/client/meta.rs:38:19 | 38 | async fn call<'s, 'cx>( | ^^ ^^^ 39 | &'s self, | ^^ 40 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
casting to the same type is unnecessary (`u64` -> `u64`): benchmark/src/perf/mem.rs#L62
warning: casting to the same type is unnecessary (`u64` -> `u64`) --> benchmark/src/perf/mem.rs:62:41 | 62 | mem_usage_list.push(mem_usage as u64); | ^^^^^^^^^^^^^^^^ help: try: `mem_usage` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/server/layer/biz_error.rs#L45
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/server/layer/biz_error.rs:45:19 | 45 | async fn call<'s, 'cx>( | ^^ ^^^ 46 | &'s self, | ^^ 47 | cx: &'cx mut ServerContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 'cx: volo-thrift/src/client/mod.rs#L769
warning: the following explicit lifetimes could be elided: 'cx --> volo-thrift/src/client/mod.rs:769:27 | 769 | async fn call<'cx>( | ^^^ 770 | $self, 771 | $cx: &'cx mut crate::context::ClientContext, | ^^^ ... 780 | / impl_client!((self, &mut cx, req) => async move { 781 | | 782 | | let has_metainfo = metainfo::METAINFO.try_with(|_| {}).is_ok(); ... | 792 | | } 793 | | }); | |__- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: this warning originates in the macro `impl_client` (in Nightly builds, run with -Z macro-backtrace for more info)
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/client/mod.rs#L745
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/client/mod.rs:745:27 | 745 | async fn call<'s, 'cx>( | ^^ ^^^ 746 | &'s $self, | ^^ 747 | $cx: &'cx mut crate::context::ClientContext, | ^^^ ... 780 | / impl_client!((self, &mut cx, req) => async move { 781 | | 782 | | let has_metainfo = metainfo::METAINFO.try_with(|_| {}).is_ok(); ... | 792 | | } 793 | | }); | |__- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: this warning originates in the macro `impl_client` (in Nightly builds, run with -Z macro-backtrace for more info)
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/client/mod.rs#L532
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/client/mod.rs:532:19 | 532 | async fn call<'s, 'cx>( | ^^ ^^^ 533 | &'s self, | ^^ 534 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/client/layer/timeout.rs#L23
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/client/layer/timeout.rs:23:19 | 23 | async fn call<'s, 'cx>( | ^^ ^^^ 24 | &'s self, | ^^ 25 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/transport/pingpong/client.rs#L109
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/transport/pingpong/client.rs:109:19 | 109 | async fn call<'s, 'cx>( | ^^ ^^^ 110 | &'s self, | ^^ 111 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
the following explicit lifetimes could be elided: 's, 'cx: volo-thrift/src/transport/multiplex/client.rs#L127
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo-thrift/src/transport/multiplex/client.rs:127:19 | 127 | async fn call<'cx, 's>( | ^^^ ^^ 128 | &'s self, | ^^ 129 | cx: &'cx mut ClientContext, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
the following explicit lifetimes could be elided: 's, 'cx: volo/src/loadbalance/layer.rs#L60
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo/src/loadbalance/layer.rs:60:19 | 60 | async fn call<'s, 'cx>( | ^^ ^^^ 61 | &'s self, | ^^ 62 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
the following explicit lifetimes could be elided: 's, 'cx: volo/src/loadbalance/layer.rs#L60
warning: the following explicit lifetimes could be elided: 's, 'cx --> volo/src/loadbalance/layer.rs:60:19 | 60 | async fn call<'s, 'cx>( | ^^ ^^^ 61 | &'s self, | ^^ 62 | cx: &'cx mut Cx, | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
test-windows (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-linux-aarch64 (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
docs-check (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-cli (stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/