Skip to content

Rust language edition and version related refactorings #570

Rust language edition and version related refactorings

Rust language edition and version related refactorings #570

Re-run triggered April 5, 2026 11:42
Status Failure
Total duration 17m 17s
Artifacts 9

ci.yml

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

Annotations

7 errors and 22 warnings
build-cli-cross (x86_64-pc-windows-gnu)
Process completed with exit code 101.
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/tun/inbound.rs#L532
call to unsafe function `set_var` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/network_listener.rs#L266
cannot find value `UDP_LISTENING_ADDRESSES` in this scope
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/network_listener.rs#L226
cannot find value `TCP_LISTENING_ADDRESSES` in this scope
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/network_listener.rs#L33
cannot find value `UDP_LISTENING_ADDRESSES` in this scope
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/network_listener.rs#L32
cannot find value `TCP_LISTENING_ADDRESSES` in this scope
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/app/inbound/network_listener.rs#L22
failed to resolve: use of unresolved module or unlinked crate `lazy_static`
build-cli-macos (x86_64-apple-darwin)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (x86_64-pc-windows-gnu)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L267
call to unsafe function `proxy::nf::inbound::NfTcpConnInfo::get_local_address` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L210
dereference of raw pointer is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L210
call to unsafe function `std::ptr::const_ptr::<impl *const T>::read_unaligned` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L209
call to unsafe function `proxy::nf::inbound::sockaddr_to_socketaddr` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L195
dereference of raw pointer is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L195
call to unsafe function `std::ptr::const_ptr::<impl *const T>::read_unaligned` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L194
call to unsafe function `proxy::nf::inbound::sockaddr_to_socketaddr` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L189
dereference of raw pointer is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L189
call to unsafe function `std::ptr::const_ptr::<impl *const T>::read_unaligned` is unsafe and requires unsafe block
build-cli-cross (x86_64-pc-windows-gnu): leaf/src/proxy/nf/inbound/mod.rs#L188
call to unsafe function `proxy::nf::inbound::sockaddr_to_socketaddr` is unsafe and requires unsafe block
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-macos (aarch64-apple-darwin)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (armv7-unknown-linux-musleabihf)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (arm-unknown-linux-musleabi)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (x86_64-unknown-linux-musl)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (aarch64-unknown-linux-musl)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-cli-cross (i686-unknown-linux-musl)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-lib-android
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-lib-apple
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, hecrj/setup-rust-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
leaf-aarch64-apple-darwin
4.58 MB
sha256:6cad5cc64499b44c6d6c53ca00d014ca6cb6364088e15c93d7ee54f4083a26e4
leaf-aarch64-unknown-linux-musl
4.88 MB
sha256:01f85a0f616abaa788926408ef8118ca12be40ca6914d2d808a0745b09d5edbc
leaf-android-libs.zip
33.2 MB
sha256:a7f33631c2462480623ce510db89920c8e1a29e114f683dddf28e265a7b15385
leaf-arm-unknown-linux-musleabi
4.56 MB
sha256:03ffa2352d33b13317f40259c305253815cfca400d4b0666102ece7e5c8b1d6c
leaf-armv7-unknown-linux-musleabihf
4.5 MB
sha256:d6eb3a86b771a3033ab7f8cfe8ea3aff9864c7d45edb4103467ceaddd4de8a59
leaf-i686-unknown-linux-musl
4.64 MB
sha256:2ac4333f95c0446c99094d9eb67d98edd9873e2fa948f4c3846d5b9ec21b82dc
leaf-x86_64-apple-darwin
4.94 MB
sha256:14582486e77be0676a9322c532d86a134b3f828764f78f34a2935938c223d63b
leaf-x86_64-unknown-linux-musl
5.26 MB
sha256:fbb019c47dfd81f56ce972eeac4c333665616ec49968297426bd1ee957c68fb7
leaf.xcframework.zip
206 MB
sha256:278b9aa36c3df3a125c3750432d88630e4be2c665105c24c98e52cda621013bd