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 VFont, reference master (373e97), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 00:03:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dufflink/vfont
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 373e97d Update README.md
Cloned https://github.com/dufflink/vfont.git
Revision (git rev-parse @):
373e97dcc59c6662eb5b0fca1bbf5d2116c1525b
SUCCESS checkout https://github.com/dufflink/vfont.git at master
========================================
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": "vfont",
      "name": "VFont",
      "url": "https://github.com/dufflink/vfont.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vfont",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dufflink/vfont.git
[1/364] Fetching vfont
Fetched https://github.com/dufflink/vfont.git from cache (0.91s)
Creating working copy for https://github.com/dufflink/vfont.git
Working copy of https://github.com/dufflink/vfont.git resolved at master (373e97d)
warning: '.resolve-product-dependencies': dependency 'vfont' 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/dufflink/vfont.git
https://github.com/dufflink/vfont.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VFont",
  "name" : "VFont",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "VFont",
      "targets" : [
        "VFont"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VFont",
      "module_type" : "SwiftTarget",
      "name" : "VFont",
      "path" : "Source/Framework",
      "product_memberships" : [
        "VFont"
      ],
      "sources" : [
        "Axis.swift",
        "VFont.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/5] Compiling VFont Axis.swift
[4/5] Emitting module VFont
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
[5/5] Compiling VFont VFont.swift
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
 26 |
 27 |     public init?(name: String, size: CGFloat) {
 28 |         guard let uiFont = UIFont(name: name, size: size) else {
    |                            `- error: cannot find 'UIFont' in scope
 29 |             print("Couldn't init font \(name). Make sure you've added this font to the project. Please, check the font name is correct.")
 30 |             return nil
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
110 |         }
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
    |                                                `- error: cannot find type 'UIFontDescriptor' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                `- error: cannot find 'UIFontDescriptor' in scope
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                                                   `- error: reference to member 'name' cannot be resolved without a contextual type
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
    |                  `- error: cannot find 'UIFont' in scope
116 |     }
117 |
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/4] Compiling VFont VFont.swift
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
 26 |
 27 |     public init?(name: String, size: CGFloat) {
 28 |         guard let uiFont = UIFont(name: name, size: size) else {
    |                            `- error: cannot find 'UIFont' in scope
 29 |             print("Couldn't init font \(name). Make sure you've added this font to the project. Please, check the font name is correct.")
 30 |             return nil
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
110 |         }
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
    |                                                `- error: cannot find type 'UIFontDescriptor' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                `- error: cannot find 'UIFontDescriptor' in scope
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                                                   `- error: reference to member 'name' cannot be resolved without a contextual type
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
    |                  `- error: cannot find 'UIFont' in scope
116 |     }
117 |
[3/4] Compiling VFont Axis.swift
[4/4] Emitting module VFont
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
BUILD FAILURE 6.1 macosSpm