Skip to content

Fix clippy lints

Fix clippy lints #457

Triggered via push October 8, 2024 13:12
Status Success
Total duration 15m 14s
Artifacts 10

ci.yml

on: push
Matrix: build-cli-cross
Matrix: build-cli-macos
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

70 warnings
test (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@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 (macos-latest): leaf/tests/common.rs#L141
function `test_tcp_half_close_on_configs` is never used
test (macos-latest): leaf/tests/common.rs#L286
function `file_hash` is never used
test (macos-latest): leaf/tests/common.rs#L300
function `test_data_transfering_reliability_on_configs` is never used
test (macos-latest): leaf/tests/common.rs#L20
function `run_tcp_echo_server` is never used
test (macos-latest): leaf/tests/common.rs#L37
function `run_udp_echo_server` is never used
test (macos-latest): leaf/tests/common.rs#L47
function `run_echo_servers` is never used
test (macos-latest): leaf/tests/common.rs#L54
function `run_leaf_instances` is never used
test (macos-latest): leaf/tests/common.rs#L77
function `new_socks_outbound` is never used
test (macos-latest): leaf/tests/common.rs#L109
function `new_socks_stream` is never used
test (macos-latest): leaf/tests/common.rs#L126
function `new_socks_datagram` is never used
test (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@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 (ubuntu-latest): leaf/src/common/cmd_linux.rs#L121
unused variable: `gw`
test (ubuntu-latest): leaf/tests/common.rs#L141
function `test_tcp_half_close_on_configs` is never used
test (ubuntu-latest): leaf/tests/common.rs#L286
function `file_hash` is never used
test (ubuntu-latest): leaf/tests/common.rs#L300
function `test_data_transfering_reliability_on_configs` is never used
test (ubuntu-latest): leaf/tests/common.rs#L20
function `run_tcp_echo_server` is never used
test (ubuntu-latest): leaf/tests/common.rs#L37
function `run_udp_echo_server` is never used
test (ubuntu-latest): leaf/tests/common.rs#L47
function `run_echo_servers` is never used
test (ubuntu-latest): leaf/tests/common.rs#L54
function `run_leaf_instances` is never used
test (ubuntu-latest): leaf/tests/common.rs#L77
function `new_socks_outbound` is never used
test (ubuntu-latest): leaf/tests/common.rs#L109
function `new_socks_stream` is never used
build-cli-cross (x86_64-pc-windows-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (x86_64-pc-windows-gnu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/mod.rs#L21
unused import: `AsRawSocket`
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/manager.rs#L262
variable does not need to be mutable
build-cli-macos (aarch64-apple-darwin)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-macos (aarch64-apple-darwin)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-cross (arm-unknown-linux-musleabi)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (arm-unknown-linux-musleabi)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-cross (i686-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (i686-unknown-linux-musl)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-cross (x86_64-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (x86_64-unknown-linux-musl)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-cross (aarch64-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (aarch64-unknown-linux-musl)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-cli-macos (x86_64-apple-darwin)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-macos (x86_64-apple-darwin)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-lib-android
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-lib-android
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-lib-android: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-android: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-android: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-android: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-android: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-android: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-android: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-android: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-cli-cross (armv7-unknown-linux-musleabihf)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-cli-cross (armv7-unknown-linux-musleabihf)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-lib-apple
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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-lib-apple
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-lib-apple: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-apple: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-apple: leaf/src/proxy/mod.rs#L19
unused import: `AsRawFd`
build-lib-apple: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-apple: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-apple: leaf/src/proxy/mod.rs#L19
unused import: `AsRawFd`
build-lib-apple: leaf/src/proxy/mod.rs#L1
unused import: `std::ffi::CString`
build-lib-apple: leaf/src/proxy/mod.rs#L219
unused variable: `iface`
build-lib-apple: leaf/src/proxy/mod.rs#L19
unused import: `AsRawFd`

Artifacts

Produced during runtime
Name Size
leaf-aarch64-apple-darwin
3.42 MB
leaf-aarch64-unknown-linux-musl
3.72 MB
leaf-android-libs.zip
21.3 MB
leaf-arm-unknown-linux-musleabi
3.92 MB
leaf-armv7-unknown-linux-musleabihf
3.9 MB
leaf-i686-unknown-linux-musl
3.75 MB
leaf-x86_64-apple-darwin
3.73 MB
leaf-x86_64-pc-windows-gnu.exe
3.66 MB
leaf-x86_64-unknown-linux-musl
4.06 MB
leaf.xcframework.zip
201 MB