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 master (1f48a6), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:52:05 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelnisi/hattr
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1f48a6c Note install
Cloned https://github.com/michaelnisi/hattr.git
Revision (git rev-parse @):
1f48a6c665e0465478b2b84e4cb4dcc41e60b657
SUCCESS checkout https://github.com/michaelnisi/hattr.git at master
========================================
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] 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 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(
[6/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(
BUILD FAILURE 6.2 macosSpm