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 SystemFontOverride, reference 1.0.0 (7a8951), with Swift 5.10 for macOS (SPM) on 19 Jul 2024 09:47:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.46.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonat/SystemFontOverride.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonat/SystemFontOverride
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 7a89514 initial
Cloned https://github.com/yonat/SystemFontOverride.git
Revision (git rev-parse @):
7a8951438c0676c31a47baf850f9e364ece9aff1
SUCCESS checkout https://github.com/yonat/SystemFontOverride.git at 1.0.0
========================================
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": "systemfontoverride",
      "name": "SystemFontOverride",
      "url": "https://github.com/yonat/SystemFontOverride.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SystemFontOverride",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yonat/SystemFontOverride.git
[1/45] Fetching systemfontoverride
Fetched https://github.com/yonat/SystemFontOverride.git from cache (1.39s)
Creating working copy for https://github.com/yonat/SystemFontOverride.git
Working copy of https://github.com/yonat/SystemFontOverride.git resolved at 1.0.0 (7a89514)
warning: '.resolve-product-dependencies': dependency 'systemfontoverride' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/yonat/SystemFontOverride.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-33747A42983211AE.txt
[4/7] Compiling SystemFontOverride resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFontOverride/UIFont+SystemFontOverride.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
[5/7] Compiling SystemFontOverride UIFont+SystemFontOverride.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFontOverride/UIFont+SystemFontOverride.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module SystemFontOverride
/Users/admin/builder/spi-builder-workspace/Sources/SystemFontOverride/UIFont+SystemFontOverride.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
[7/7] Compiling SystemFontOverride Font+SystemFontOverride.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFontOverride/UIFont+SystemFontOverride.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm