The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build HTMLAttributor, reference 6.0.0 (7da09a), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:51:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/michaelnisi/hattr.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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(
[4/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(
[5/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(
[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.2 macosSpm