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 TokenTextView, reference main (9cf361), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 03:15:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-turo/token-text-view.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/open-turo/token-text-view
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9cf3615 fix: update TemplateToken variables
Cloned https://github.com/open-turo/token-text-view.git
Revision (git rev-parse @):
9cf36157187dcbae6c90be456911c24806e5a540
SUCCESS checkout https://github.com/open-turo/token-text-view.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": "token-text-view",
      "name": "TokenTextView",
      "url": "https://github.com/open-turo/token-text-view.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/token-text-view",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/open-turo/token-text-view.git
[1/854] Fetching token-text-view
Fetched https://github.com/open-turo/token-text-view.git from cache (1.14s)
Creating working copy for https://github.com/open-turo/token-text-view.git
Working copy of https://github.com/open-turo/token-text-view.git resolved at main (9cf3615)
warning: '.resolve-product-dependencies': dependency 'token-text-view' 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/open-turo/token-text-view.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling TokenTextView TokenTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenTextView/TokenTextView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | public class TokenTextView: UITextView {
[4/7] Compiling TokenTextView TokenTextViewAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenTextView/TokenTextView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | public class TokenTextView: UITextView {
[5/7] Compiling TokenTextView String+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenTextView/TokenTextView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | public class TokenTextView: UITextView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module TokenTextView
/Users/admin/builder/spi-builder-workspace/Sources/TokenTextView/TokenTextView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | public class TokenTextView: UITextView {
[7/7] Compiling TokenTextView Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenTextView/TokenTextView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | public class TokenTextView: UITextView {
BUILD FAILURE 6.0 macosSpm