The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build WWWebSocket, reference main (7fe152), with Swift 6.0 for macOS (SPM) on 13 Oct 2024 08:33:43 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWWebSocket.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWebSocket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7fe1520 - 加上WWWebSocketDelegate說明
Cloned https://github.com/William-Weng/WWWebSocket.git
Revision (git rev-parse @):
7fe1520796e5296d50444f3ef0bfe659050fecbe
SUCCESS checkout https://github.com/William-Weng/WWWebSocket.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "wwwebsocket",
      "name": "WWWebSocket",
      "url": "https://github.com/William-Weng/WWWebSocket.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWWebSocket",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWWebSocket.git
[1/106] Fetching wwwebsocket
Fetched https://github.com/William-Weng/WWWebSocket.git from cache (1.03s)
Creating working copy for https://github.com/William-Weng/WWWebSocket.git
Working copy of https://github.com/William-Weng/WWWebSocket.git resolved at main (7fe1520)
warning: '.resolve-product-dependencies': dependency 'wwwebsocket' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/William-Weng/WWWebSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--4A847ED0836F2485.txt
[4/7] Compiling WWWebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module WWWebSocket
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
[6/7] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
[7/7] Compiling WWWebSocket Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
BUILD FAILURE 6.0 macosSpm