Build Information
Failed to build SwiftAdditions with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maddthesane/swiftmactypes.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/maddthesane/swiftmactypes
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at faee5dc Fix an oversight.
Cloned https://github.com/maddthesane/swiftmactypes.git
Revision (git rev-parse @):
faee5dcefbabc72a3580b4ff8a74357a5b6a6ee5
SUCCESS checkout https://github.com/maddthesane/swiftmactypes.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/maddthesane/swiftmactypes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Compiling CTAdditionsSwiftHelpers CTAdditionsSwiftHelpers.m
[2/11] Compiling FoundationAdditions Endianness.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module UTTypeOSTypes
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:21: error: 'UTTagClass' is only available in macOS 11.0 or newer
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:18: error: 'UTTagClass' is only available in macOS 11.0 or newer
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:48: error: 'UTType' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:58: error: 'data' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:18: error: 'UTType' is only available in macOS 11.0 or newer
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
[4/11] Compiling UTTypeOSTypes UTTypes.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:21: error: 'UTTagClass' is only available in macOS 11.0 or newer
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:18: error: 'UTTagClass' is only available in macOS 11.0 or newer
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:48: error: 'UTType' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:58: error: 'data' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:18: error: 'UTType' is only available in macOS 11.0 or newer
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:19:10: error: 'UTTagClass' is only available in macOS 11.0 or newer
return UTTagClass(rawValue: "com.apple.ostype")
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:19:10: note: add 'if #available' version check
return UTTagClass(rawValue: "com.apple.ostype")
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: warning: conformance of 'UTTagClass' to 'Hashable' is only available in macOS 11.0 or newer
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: note: add 'if #available' version check
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:36:6: note: add @available attribute to enclosing property
var preferredOSType: String? {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: error: 'tags' is only available in macOS 11.0 or newer
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: note: add 'if #available' version check
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:36:6: note: add @available attribute to enclosing property
var preferredOSType: String? {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:65:8: error: 'init(tag:tagClass:conformingTo:)' is only available in macOS 11.0 or newer
self.init(tag: osType, tagClass: .osType, conformingTo: supertype)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:65:8: note: add 'if #available' version check
self.init(tag: osType, tagClass: .osType, conformingTo: supertype)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/9] Emitting module UTTypeOSTypes
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:21: error: 'UTTagClass' is only available in macOS 11.0 or newer
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:18: error: 'UTTagClass' is only available in macOS 11.0 or newer
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:48: error: 'UTType' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:58: error: 'data' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:18: error: 'UTType' is only available in macOS 11.0 or newer
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
[2/9] Compiling UTTypeOSTypes UTTypes.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:21: error: 'UTTagClass' is only available in macOS 11.0 or newer
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:18: error: 'UTTagClass' is only available in macOS 11.0 or newer
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:48: error: 'UTType' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:58: error: 'data' is only available in macOS 11.0 or newer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:18: error: 'UTType' is only available in macOS 11.0 or newer
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:19:10: error: 'UTTagClass' is only available in macOS 11.0 or newer
return UTTagClass(rawValue: "com.apple.ostype")
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:19:10: note: add 'if #available' version check
return UTTagClass(rawValue: "com.apple.ostype")
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:18:13: note: add @available attribute to enclosing static property
static var osType: UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:12:8: note: add @available attribute to enclosing extension
public extension UTTagClass {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: warning: conformance of 'UTTagClass' to 'Hashable' is only available in macOS 11.0 or newer
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: note: add 'if #available' version check
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:36:6: note: add @available attribute to enclosing property
var preferredOSType: String? {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: error: 'tags' is only available in macOS 11.0 or newer
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:37:3: note: add 'if #available' version check
tags[.osType]?.first
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:36:6: note: add @available attribute to enclosing property
var preferredOSType: String? {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:65:8: error: 'init(tag:tagClass:conformingTo:)' is only available in macOS 11.0 or newer
self.init(tag: osType, tagClass: .osType, conformingTo: supertype)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:65:8: note: add 'if #available' version check
self.init(tag: osType, tagClass: .osType, conformingTo: supertype)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:64:2: note: add @available attribute to enclosing initializer
init?(osType: String, conformingTo supertype: UTType = .data) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/UTTypeOSTypes/UTTypes.swift:23:8: note: add @available attribute to enclosing extension
public extension UTType {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm
Build Machine: Mac 7