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 displayAllFonts, reference main (8267c2), with Swift 5.10 for macOS (SPM) on 4 Sep 2024 08:27:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huabin/displayAllFonts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huabin/displayAllFonts
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8267c23 fixed error
Cloned https://github.com/huabin/displayAllFonts.git
Revision (git rev-parse @):
8267c23f3c40a96e6a7c9fd6ba5a135ff61a0bb5
SUCCESS checkout https://github.com/huabin/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/huabin/displayAllFonts.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/displayAllFonts",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/huabin/displayAllFonts.git
[1/19] Fetching displayallfonts
Fetched https://github.com/huabin/displayAllFonts.git from cache (1.10s)
Creating working copy for https://github.com/huabin/displayAllFonts.git
Working copy of https://github.com/huabin/displayAllFonts.git resolved at main (8267c23)
warning: '.resolve-product-dependencies': dependency 'displayallfonts' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/huabin/displayAllFonts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.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'
import UIKit
       ^
[4/4] Compiling displayAllFonts displayAllFonts.swift
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm