The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VFont with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "vfont",
      "name": "VFont",
      "url": "https://github.com/dufflink/vfont.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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 (0.46s)
Creating working copy for https://github.com/dufflink/vfont.git
Working copy of https://github.com/dufflink/vfont.git resolved at master
warning: '.resolve-product-dependencies': dependency 'vfont' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Compiling VFont Axis.swift
[2/3] Emitting module VFont
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
    private(set) public var uiFont: UIFont
                                    ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
    public var updated: ((UIFont?) -> Void)?
                          ^~~~~~
[3/3] Compiling VFont VFont.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
    private(set) public var uiFont: UIFont
                                    ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
    public var updated: ((UIFont?) -> Void)?
                          ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
        guard let uiFont = UIFont(name: name, size: size) else {
                           ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
        let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
                                               ^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
        let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
                               ^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
        let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
                                                                  ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
        uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
                 ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module VFont
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
    private(set) public var uiFont: UIFont
                                    ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
    public var updated: ((UIFont?) -> Void)?
                          ^~~~~~
[2/2] Compiling VFont VFont.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
    private(set) public var uiFont: UIFont
                                    ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
    public var updated: ((UIFont?) -> Void)?
                          ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
        guard let uiFont = UIFont(name: name, size: size) else {
                           ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
        let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
                                               ^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
        let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
                               ^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
        let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
                                                                  ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
        uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
                 ^~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm