Skip to content

chore: fix tests passing incorrect type due to signature change in sh… #272

chore: fix tests passing incorrect type due to signature change in sh…

chore: fix tests passing incorrect type due to signature change in sh… #272

Status Success
Total duration 1m 41s
Artifacts 1

vsock-proxy.yml

on: push
check-proxy
17s
check-proxy
test-proxy
28s
test-proxy
build-proxy
27s
build-proxy
release-proxy
0s
release-proxy
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 19 warnings
mismatched types: control-plane/src/egressproxy.rs#L60
error[E0308]: mismatched types --> control-plane/src/egressproxy.rs:60:9 | 60 | &egress_destinations: EgressDestinations, | ^^^^^^^^^^^^^^^^^^^^ | | | expected `EgressDestinations`, found `&_` | this expression has type `shared::server::egress::EgressDestinations` | = note: expected struct `shared::server::egress::EgressDestinations` found reference `&_`
mismatched types: control-plane/src/egressproxy.rs#L42
error[E0308]: mismatched types --> control-plane/src/egressproxy.rs:42:73 | 42 | if let Err(e) = Self::handle_connection(stream, &domains).await { | ----------------------- ^^^^^^^^ expected `EgressDestinations`, found `&EgressDestinations` | | | arguments to this function are incorrect | note: associated function defined here --> control-plane/src/egressproxy.rs:58:14 | 58 | async fn handle_connection<T: AsyncReadExt + AsyncWriteExt + Unpin>( | ^^^^^^^^^^^^^^^^^ 59 | mut external_stream: T, 60 | &egress_destinations: EgressDestinations, | ---------------------------------------- help: consider removing the borrow | 42 - if let Err(e) = Self::handle_connection(stream, &domains).await { 42 + if let Err(e) = Self::handle_connection(stream, domains).await { |
check-proxy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
check-proxy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, 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/
check-proxy
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/
check-proxy
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/
check-proxy
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/
check-proxy
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-proxy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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-proxy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@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-proxy
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-proxy
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-proxy
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-proxy
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/
build-proxy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-proxy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-proxy
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/
build-proxy
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/
build-proxy
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/
build-proxy
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/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "vsock-proxy". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
vsock-proxy Expired
1.2 MB