The Swift Package Index logo.Swift Package Index

Build Information

Failed to build displayAllFonts, reference main (dbc895), with Swift 6.1 for macOS (SPM) on 28 Jul 2025 11:50:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tourcoder/displayAllFonts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tourcoder/displayAllFonts
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dbc895c Update displayAllFonts.swift
Cloned https://github.com/tourcoder/displayAllFonts.git
Revision (git rev-parse @):
dbc895cef6306a0a8bff0872bb990798f312bd18
SUCCESS checkout https://github.com/tourcoder/displayAllFonts.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": "displayallfonts",
      "name": "displayAllFonts",
      "url": "https://github.com/tourcoder/displayAllFonts.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/displayAllFonts",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tourcoder/displayAllFonts.git
[2/24] Fetching displayallfonts
Fetched https://github.com/tourcoder/displayAllFonts.git from cache (0.53s)
Creating working copy for https://github.com/tourcoder/displayAllFonts.git
Working copy of https://github.com/tourcoder/displayAllFonts.git resolved at main (dbc895c)
warning: '.resolve-product-dependencies': dependency 'displayallfonts' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tourcoder/displayAllFonts.git
https://github.com/tourcoder/displayAllFonts.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "displayAllFonts",
  "name" : "displayAllFonts",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "displayAllFonts",
      "targets" : [
        "displayAllFonts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "displayAllFontsTests",
      "module_type" : "SwiftTarget",
      "name" : "displayAllFontsTests",
      "path" : "Tests/displayAllFontsTests",
      "sources" : [
        "displayAllFontsTests.swift"
      ],
      "target_dependencies" : [
        "displayAllFonts"
      ],
      "type" : "test"
    },
    {
      "c99name" : "displayAllFonts",
      "module_type" : "SwiftTarget",
      "name" : "displayAllFonts",
      "path" : "Sources/displayAllFonts",
      "product_memberships" : [
        "displayAllFonts"
      ],
      "sources" : [
        "displayAllFonts.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -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-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module displayAllFonts
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
 2 | // https://docs.swift.org/swift-book
 3 | // Bin Hua <https://tourcoder.com>
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | public func displayAllFonts(hideSystemFonts: Bool) {
[4/4] Compiling displayAllFonts displayAllFonts.swift
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
 2 | // https://docs.swift.org/swift-book
 3 | // Bin Hua <https://tourcoder.com>
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | public func displayAllFonts(hideSystemFonts: Bool) {
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module displayAllFonts
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
 2 | // https://docs.swift.org/swift-book
 3 | // Bin Hua <https://tourcoder.com>
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | public func displayAllFonts(hideSystemFonts: Bool) {
[3/3] Compiling displayAllFonts displayAllFonts.swift
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
 2 | // https://docs.swift.org/swift-book
 3 | // Bin Hua <https://tourcoder.com>
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | public func displayAllFonts(hideSystemFonts: Bool) {
BUILD FAILURE 6.1 macosSpm