Build Information
Failed to build VFont with Swift 5.8 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.26.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/builds/vMd7uqzK/0/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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)
^~~~~~
[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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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/vMd7uqzK/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)
^~~~~~
BUILD FAILURE 5.8 macosSpm