Build Information
Successful build of VLESSKit, reference main (17f89c), with Swift 6.1 for macOS (SPM) on 6 Nov 2026 03:12:17 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/illiasab/VLESSKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/illiasab/VLESSKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 17f89cd 0.2.0: ProxyLink (fixes SwiftUI.ShareLink clash), simulator local proxy, latency, traffic stats, example app
Cloned https://github.com/illiasab/VLESSKit.git
Revision (git rev-parse @):
17f89cd0d6c36c0678bc78a18b4166af02dccbc0
SUCCESS checkout https://github.com/illiasab/VLESSKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/illiasab/VLESSKit.git
https://github.com/illiasab/VLESSKit.git
{
"dependencies" : [
],
"manifest_display_name" : "VLESSKit",
"name" : "VLESSKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VLESSKit",
"targets" : [
"VLESSKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "VLESSKitTunnel",
"targets" : [
"VLESSKitTunnel"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VLESSKitTunnelTests",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTunnelTests",
"path" : "Tests/VLESSKitTunnelTests",
"sources" : [
"CoreTests.swift"
],
"target_dependencies" : [
"VLESSKitTunnel"
],
"type" : "test"
},
{
"c99name" : "VLESSKitTunnel",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTunnel",
"path" : "Sources/VLESSKitTunnel",
"product_memberships" : [
"VLESSKitTunnel"
],
"sources" : [
"VLESSTunnelManager.swift",
"XrayCore.swift",
"XrayLocalProxy.swift",
"XrayPacketTunnelProvider.swift"
],
"target_dependencies" : [
"VLESSKit",
"Libv2ray"
],
"type" : "library"
},
{
"c99name" : "VLESSKitTests",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTests",
"path" : "Tests/VLESSKitTests",
"sources" : [
"VLESSKitTests.swift"
],
"target_dependencies" : [
"VLESSKit"
],
"type" : "test"
},
{
"c99name" : "VLESSKit",
"module_type" : "SwiftTarget",
"name" : "VLESSKit",
"path" : "Sources/VLESSKit",
"product_memberships" : [
"VLESSKit",
"VLESSKitTunnel"
],
"sources" : [
"ProxyLink.swift",
"XrayConfig.swift",
"XrayTraffic.swift"
],
"type" : "library"
},
{
"c99name" : "Libv2ray",
"module_type" : "BinaryTarget",
"name" : "Libv2ray",
"path" : "remote/archive/Libv2ray.xcframework.zip",
"product_memberships" : [
"VLESSKitTunnel"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling VLESSKit XrayTraffic.swift
[5/7] Compiling VLESSKit XrayConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:119:24: warning: static property 'sniffing' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | private static let sniffing: JSON = ["enabled": true, "destOverride": ["http", "tls", "quic"]]
| |- warning: static property 'sniffing' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sniffing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | private static func vless(_ link: ProxyLink) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:232:24: warning: static property 'direct' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
230 | }
231 |
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
| |- warning: static property 'direct' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'direct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:233:24: warning: static property 'dnsOut' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
| |- warning: static property 'dnsOut' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dnsOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
235 |
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:234:24: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
| |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'block' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Spelled out so no geoip.dat has to be shipped.
[6/7] Emitting module VLESSKit
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:119:24: warning: static property 'sniffing' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | private static let sniffing: JSON = ["enabled": true, "destOverride": ["http", "tls", "quic"]]
| |- warning: static property 'sniffing' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sniffing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | private static func vless(_ link: ProxyLink) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:232:24: warning: static property 'direct' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
230 | }
231 |
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
| |- warning: static property 'direct' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'direct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:233:24: warning: static property 'dnsOut' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
| |- warning: static property 'dnsOut' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dnsOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
235 |
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKit/XrayConfig.swift:234:24: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
232 | private static let direct: JSON = ["tag": "direct", "protocol": "freedom"]
233 | private static let dnsOut: JSON = ["tag": "dns-out", "protocol": "dns"]
234 | private static let block: JSON = ["tag": "block", "protocol": "blackhole"]
| |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'XrayConfig.JSON' (aka 'Dictionary<String, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'block' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Spelled out so no geoip.dat has to be shipped.
[7/7] Compiling VLESSKit ProxyLink.swift
[8/12] Compiling VLESSKitTunnel XrayPacketTunnelProvider.swift
[9/12] Compiling VLESSKitTunnel XrayLocalProxy.swift
[10/12] Compiling VLESSKitTunnel XrayCore.swift
[11/12] Emitting module VLESSKitTunnel
[12/12] Compiling VLESSKitTunnel VLESSTunnelManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:28:60: warning: non-sendable result type '[NETunnelProviderManager]' cannot be sent from nonisolated context in call to class method 'loadAllFromPreferences()'; this is an error in the Swift 6 language mode
26 |
27 | public func load() async {
28 | let managers = (try? await NETunnelProviderManager.loadAllFromPreferences()) ?? []
| `- warning: non-sendable result type '[NETunnelProviderManager]' cannot be sent from nonisolated context in call to class method 'loadAllFromPreferences()'; this is an error in the Swift 6 language mode
29 | manager = managers.first { ($0.protocolConfiguration as? NETunnelProviderProtocol)?.providerBundleIdentifier == extensionBundleId }
30 | if let manager { status = manager.connection.status }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelProviderManager.h:31:12: note: class 'NETunnelProviderManager' does not conform to the 'Sendable' protocol
29 | */
30 | API_AVAILABLE(macos(10.11), ios(9.0), tvos(17.0)) API_UNAVAILABLE(watchos)
31 | @interface NETunnelProviderManager : NEVPNManager
| `- note: class 'NETunnelProviderManager' does not conform to the 'Sendable' protocol
32 |
33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkExtension'
1 | #if canImport(NetworkExtension)
2 | import Foundation
3 | import NetworkExtension
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkExtension'
4 | import VLESSKit
5 |
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:22:49: warning: sending 'connection' risks causing data races; this is an error in the Swift 6 language mode
20 | observer = NotificationCenter.default.addObserver(forName: .NEVPNStatusDidChange, object: nil, queue: .main) { [weak self] note in
21 | guard let connection = note.object as? NEVPNConnection else { return }
22 | Task { @MainActor in self?.status = connection.status }
| |- warning: sending 'connection' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'connection' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
23 | }
24 | Task { await load() }
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:43:27: warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
41 | manager.localizedDescription = name
42 | manager.isEnabled = true
43 | try await manager.saveToPreferences()
| |- warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'NETunnelProviderManager' to nonisolated instance method 'saveToPreferences()' risks causing races in between main actor-isolated and nonisolated uses
44 | // Saving invalidates the in-memory copy; reload before starting.
45 | try await manager.loadFromPreferences()
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:45:27: warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
43 | try await manager.saveToPreferences()
44 | // Saving invalidates the in-memory copy; reload before starting.
45 | try await manager.loadFromPreferences()
| |- warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'NETunnelProviderManager' to nonisolated instance method 'loadFromPreferences()' risks causing races in between main actor-isolated and nonisolated uses
46 | self.manager = manager
47 |
/Users/admin/builder/spi-builder-workspace/Sources/VLESSKitTunnel/VLESSTunnelManager.swift:60:32: warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
58 | if removeConfiguration {
59 | await waitUntilDisconnected(manager.connection)
60 | try? await manager.removeFromPreferences()
| |- warning: sending value of non-Sendable type 'NETunnelProviderManager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'NETunnelProviderManager' to nonisolated instance method 'removeFromPreferences()' risks causing races in between main actor-isolated and nonisolated uses
61 | self.manager = nil
62 | status = .invalid
Build complete! (9.95s)
Downloading binary artifact https://github.com/illiasab/VLESSKit/releases/download/0.1.0/Libv2ray.xcframework.zip
[16384/41643467] Downloading https://github.com/illiasab/VLESSKit/releases/download/0.1.0/Libv2ray.xcframework.zip
Downloaded https://github.com/illiasab/VLESSKit/releases/download/0.1.0/Libv2ray.xcframework.zip (4.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "VLESSKit",
"name" : "VLESSKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VLESSKit",
"targets" : [
"VLESSKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "VLESSKitTunnel",
"targets" : [
"VLESSKitTunnel"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VLESSKitTunnelTests",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTunnelTests",
"path" : "Tests/VLESSKitTunnelTests",
"sources" : [
"CoreTests.swift"
],
"target_dependencies" : [
"VLESSKitTunnel"
],
"type" : "test"
},
{
"c99name" : "VLESSKitTunnel",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTunnel",
"path" : "Sources/VLESSKitTunnel",
"product_memberships" : [
"VLESSKitTunnel"
],
"sources" : [
"VLESSTunnelManager.swift",
"XrayCore.swift",
"XrayLocalProxy.swift",
"XrayPacketTunnelProvider.swift"
],
"target_dependencies" : [
"VLESSKit",
"Libv2ray"
],
"type" : "library"
},
{
"c99name" : "VLESSKitTests",
"module_type" : "SwiftTarget",
"name" : "VLESSKitTests",
"path" : "Tests/VLESSKitTests",
"sources" : [
"VLESSKitTests.swift"
],
"target_dependencies" : [
"VLESSKit"
],
"type" : "test"
},
{
"c99name" : "VLESSKit",
"module_type" : "SwiftTarget",
"name" : "VLESSKit",
"path" : "Sources/VLESSKit",
"product_memberships" : [
"VLESSKit",
"VLESSKitTunnel"
],
"sources" : [
"ProxyLink.swift",
"XrayConfig.swift",
"XrayTraffic.swift"
],
"type" : "library"
},
{
"c99name" : "Libv2ray",
"module_type" : "BinaryTarget",
"name" : "Libv2ray",
"path" : "remote/archive/Libv2ray.xcframework.zip",
"product_memberships" : [
"VLESSKitTunnel"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
Done.