The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftFontKit, reference main (c00cb3), with Swift 6.1 for macOS (SPM) on 1 Nov 2026 03:24:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telhawasim/swift-font-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/telhawasim/swift-font-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c00cb37 Add observable SwiftUI font loading
Cloned https://github.com/telhawasim/swift-font-kit.git
Revision (git rev-parse @):
c00cb3742044a33fe892d38d38bb3b5185f165fc
SUCCESS checkout https://github.com/telhawasim/swift-font-kit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/telhawasim/swift-font-kit.git
https://github.com/telhawasim/swift-font-kit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftFontKit",
  "name" : "SwiftFontKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftFontKit",
      "targets" : [
        "SwiftFontKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftFontKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFontKitTests",
      "path" : "Tests/SwiftFontKitTests",
      "sources" : [
        "SwiftFontKitTests.swift"
      ],
      "target_dependencies" : [
        "SwiftFontKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFontKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFontKit",
      "path" : "Sources/SwiftFontKit",
      "product_memberships" : [
        "SwiftFontKit"
      ],
      "sources" : [
        "FontDiskCache.swift",
        "FontFamilyInspection.swift",
        "FontLoader.swift",
        "FontLoadingState.swift",
        "FontModels.swift",
        "FontNetworking.swift",
        "FontRegistration.swift",
        "GoogleFontCatalog.swift",
        "SwiftFontKit+SwiftUI.swift",
        "SwiftFontKit+UIKit.swift",
        "SwiftFontKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/13] Compiling SwiftFontKit FontLoadingState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[4/14] Compiling SwiftFontKit GoogleFontCatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/14] Emitting module SwiftFontKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[6/14] Compiling SwiftFontKit FontModels.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[7/14] Compiling SwiftFontKit FontLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[8/14] Compiling SwiftFontKit FontDiskCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[9/14] Compiling SwiftFontKit FontFamilyInspection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[10/14] Compiling SwiftFontKit SwiftFontKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[11/14] Compiling SwiftFontKit FontRegistration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[12/14] Compiling SwiftFontKit SwiftFontKit+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[13/14] Compiling SwiftFontKit SwiftFontKit+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[14/14] Compiling SwiftFontKit FontNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling SwiftFontKit SwiftFontKit+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[3/13] Compiling SwiftFontKit SwiftFontKit+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[4/13] Compiling SwiftFontKit FontRegistration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[5/13] Compiling SwiftFontKit FontModels.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[6/13] Compiling SwiftFontKit GoogleFontCatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[7/13] Compiling SwiftFontKit FontLoadingState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[8/13] Compiling SwiftFontKit FontNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[9/13] Compiling SwiftFontKit FontLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Emitting module SwiftFontKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[11/13] Compiling SwiftFontKit FontDiskCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[12/13] Compiling SwiftFontKit FontFamilyInspection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
[13/13] Compiling SwiftFontKit SwiftFontKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFontKit/SwiftFontKit+SwiftUI.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | private extension FontWeight {
BUILD FAILURE 6.1 macosSpm