The Swift Package Index logo.Swift Package Index

Build Information

Successful build of VLESSKit, reference 0.2.0 (17f89c), with Swift 6.1 for Wasm on 6 Nov 2026 03:30:48 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/illiasab/VLESSKit.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/illiasab/VLESSKit
 * tag               0.2.0      -> FETCH_HEAD
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 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/illiasab/VLESSKit.git
https://github.com/illiasab/VLESSKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Downloading binary artifact https://github.com/illiasab/VLESSKit/releases/download/0.1.0/Libv2ray.xcframework.zip
[11015/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 (2.41s)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Emitting module VLESSKit
/host/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 {
/host/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"]
/host/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 |
/host/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.
[5/7] Compiling VLESSKit XrayTraffic.swift
[6/7] Compiling VLESSKit ProxyLink.swift
[7/7] Compiling VLESSKit XrayConfig.swift
/host/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 {
/host/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"]
/host/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 |
/host/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.
[9/13] Compiling VLESSKitTunnel XrayPacketTunnelProvider.swift
[10/13] Compiling VLESSKitTunnel XrayLocalProxy.swift
[11/13] Compiling VLESSKitTunnel VLESSTunnelManager.swift
[12/13] Emitting module VLESSKitTunnel
[13/13] Compiling VLESSKitTunnel XrayCore.swift
Build complete! (5.22s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VLESSKit",
  "name" : "VLESSKit",
  "path" : "/host/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"
}
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Done.