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 0.6.1 (eceae7), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 18:32:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: 0.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dufflink/vfont
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at eceae72 Prepared 0.6.1 version
Cloned https://github.com/dufflink/vfont.git
Revision (git rev-parse @):
eceae7296a3bb54a1e8b5fca0bda047c5ca31264
SUCCESS checkout https://github.com/dufflink/vfont.git at 0.6.1
========================================
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.94s)
Creating working copy for https://github.com/dufflink/vfont.git
Working copy of https://github.com/dufflink/vfont.git resolved at 0.6.1 (eceae72)
warning: '.resolve-product-dependencies': dependency 'vfont' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dufflink/vfont.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/5] Compiling VFont Axis.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 |
BUILD FAILURE 6.0 macosSpm