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 HTMLAttributor, reference 6.0.0 (7da09a), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:14:16 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelnisi/hattr.git
Reference: 6.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelnisi/hattr
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at 7da09ac Make into package
Cloned https://github.com/michaelnisi/hattr.git
Revision (git rev-parse @):
7da09acfe0f79c41a6728d0d679c4066c71705b5
SUCCESS checkout https://github.com/michaelnisi/hattr.git at 6.0.0
========================================
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": "hattr",
      "name": "HTMLAttributor",
      "url": "https://github.com/michaelnisi/hattr.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hattr",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/michaelnisi/hattr.git
[4/365] Fetching hattr
Fetched https://github.com/michaelnisi/hattr.git from cache (0.74s)
Creating working copy for https://github.com/michaelnisi/hattr.git
Working copy of https://github.com/michaelnisi/hattr.git resolved at 6.0.0 (7da09ac)
warning: '.resolve-product-dependencies': dependency 'hattr' 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/michaelnisi/hattr.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling HTMLAttributor HTMLAttributor.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLAttributor/HTMLAttributor.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | private func NSRange(
[4/6] Emitting module HTMLAttributor
/Users/admin/builder/spi-builder-workspace/Sources/HTMLAttributor/HTMLAttributor.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | private func NSRange(
[5/6] Compiling HTMLAttributor ParserDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLAttributor/HTMLAttributor.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | private func NSRange(
[6/6] Compiling HTMLAttributor NodeTreeTransforming.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLAttributor/HTMLAttributor.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | private func NSRange(
BUILD FAILURE 6.0 macosSpm