Build Information
Failed to build FirebladePAL, reference 0.2.2 (c6b3fa
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:34:15 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/pal.git
Reference: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fireblade-engine/pal
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at c6b3fab Update dependency ctreffs/SwiftVulkan to from: "0.2.1" (#23)
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
c6b3fabeec37931ac479c9c301a60880be2f5822
SUCCESS checkout https://github.com/fireblade-engine/pal.git at 0.2.2
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftNFD.git
[1/400] Fetching time
[21/688] Fetching time, swiftvulkan
[257/3319] Fetching time, swiftvulkan, math
[447/3699] Fetching time, swiftvulkan, math, swiftnfd
[491/5037] Fetching time, swiftvulkan, math, swiftnfd, swiftsdl2
Fetched https://github.com/fireblade-engine/time.git from cache (0.97s)
[4022/4637] Fetching swiftvulkan, math, swiftnfd, swiftsdl2
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (1.35s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (1.35s)
Fetched https://github.com/fireblade-engine/math.git from cache (1.35s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (1.35s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.57s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.55s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.3.2 (0.57s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.56s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.54s)
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.3.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/fireblade-engine/pal.git
[1/895] Fetching pal
Fetched https://github.com/fireblade-engine/pal.git from cache (0.89s)
Fetching https://github.com/fireblade-engine/math.git from cache
Fetching https://github.com/ctreffs/SwiftVulkan from cache
Fetching https://github.com/ctreffs/SwiftNFD.git from cache
Fetching https://github.com/fireblade-engine/time.git from cache
Fetching https://github.com/ctreffs/SwiftSDL2.git from cache
Fetched https://github.com/fireblade-engine/math.git from cache (0.50s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.50s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.58s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.58s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.58s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.02s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.02s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.02s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.02s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.61s)
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/fireblade-engine/pal.git
Working copy of https://github.com/fireblade-engine/pal.git resolved at 0.2.2 (c6b3fab)
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
error: 'pal': product 'SDL2' required by package 'pal' target 'FirebladePAL' not found in package 'SDL2'. Did you mean '.product(name: "SDL2", package: "swiftsdl2")'?
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/fireblade-engine/pal.git
{
"dependencies" : [
{
"identity" : "math",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fireblade-engine/math.git"
},
{
"identity" : "time",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fireblade-engine/time.git"
},
{
"identity" : "swiftsdl2",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ctreffs/SwiftSDL2.git"
},
{
"identity" : "swiftvulkan",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ctreffs/SwiftVulkan"
},
{
"identity" : "swiftnfd",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ctreffs/SwiftNFD.git"
}
],
"manifest_display_name" : "FirebladePAL",
"name" : "FirebladePAL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FirebladePAL",
"targets" : [
"FirebladePAL"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "CPUBackendDemoApp",
"targets" : [
"CPUBackendDemoApp"
],
"type" : {
"executable" : null
}
},
{
"name" : "VulkanBackendDemoApp",
"targets" : [
"VulkanBackendDemoApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "VulkanBackendDemoApp",
"module_type" : "SwiftTarget",
"name" : "VulkanBackendDemoApp",
"path" : "Sources/VulkanBackendDemoApp",
"product_dependencies" : [
"Vulkan"
],
"product_memberships" : [
"VulkanBackendDemoApp"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"FirebladePAL"
],
"type" : "executable"
},
{
"c99name" : "FirebladePALTests",
"module_type" : "SwiftTarget",
"name" : "FirebladePALTests",
"path" : "Tests/FirebladePALTests",
"sources" : [
"FirebladePALTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FirebladePAL"
],
"type" : "test"
},
{
"c99name" : "FirebladePAL",
"module_type" : "SwiftTarget",
"name" : "FirebladePAL",
"path" : "Sources/FirebladePAL",
"product_dependencies" : [
"FirebladeMath",
"FirebladeTime",
"SDL2",
"Vulkan",
"NFD"
],
"product_memberships" : [
"FirebladePAL",
"CPUBackendDemoApp",
"VulkanBackendDemoApp"
],
"sources" : [
"Clipboard.swift",
"Events.swift",
"Keys.swift",
"Platform.swift",
"Platform/Apple/APPL+Extensions.swift",
"Platform/Apple/APPLAppDelegate.swift",
"Platform/Apple/APPLDisplayLink.swift",
"Platform/Apple/APPLEvents.swift",
"Platform/Apple/APPLPlatform.swift",
"Platform/Apple/APPLScreen.swift",
"Platform/Apple/APPLShims.swift",
"Platform/Apple/APPLView.swift",
"Platform/Apple/APPLViewController.swift",
"Platform/Apple/APPLWindow.swift",
"Platform/PlatformEvents.swift",
"Platform/PlatformInitialization.swift",
"Platform/SDL/SDLClipboard.swift",
"Platform/SDL/SDLError.swift",
"Platform/SDL/SDLEvents.swift",
"Platform/SDL/SDLKeys.swift",
"Platform/SDL/SDLPlatform.swift",
"Platform/SDL/SDLScreen.swift",
"Platform/SDL/SDLWindow.swift",
"Platform/SDL/Surface/SDLCPUWindowSurface.swift",
"Platform/SDL/Surface/SDLMTLSurface.swift",
"Platform/SDL/Surface/SDLOpenGLWindowSurface.swift",
"Platform/SDL/Surface/SDLVLKWindowSurface.swift",
"Platform/SDL/Surface/SDLWindowSurface.swift",
"PointerButton.swift",
"Screen.swift",
"Surface.swift",
"Window.swift"
],
"type" : "library"
},
{
"c99name" : "CPUBackendDemoApp",
"module_type" : "SwiftTarget",
"name" : "CPUBackendDemoApp",
"path" : "Sources/CPUBackendDemoApp",
"product_memberships" : [
"CPUBackendDemoApp"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"FirebladePAL"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
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/26] Write sources
[7/26] Write VulkanBackendDemoApp-entitlement.plist
[9/26] Write CPUBackendDemoApp-entitlement.plist
[10/26] Compiling CNFD nfd_win.cpp
[11/26] Compiling CNFD nfd_default.c
[11/26] Compiling CNFD nfd_gtk.c
[13/26] Write swift-version--7754E27361AE5C74.txt
[14/127] Compiling CNFD nfd_common.c
[15/127] Compiling CNFD nfd_cocoa.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/129] Emitting module CSDL2Wrapped
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
7 | #include "apple_iOS.h" // iOS device
8 | #elif TARGET_OS_MAC
9 | #include "apple_macOS.h" // macOS
| `- note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
10 | #else
11 | error "Unknown Apple platform"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 | #include <SDL_assert.h>
3 | #include <SDL_atomic.h>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
7 |
8 | // workaround for unsafeFlags from SDL <https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273/5>
9 | @_exported import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
10 |
[18/129] Compiling CSDL2Wrapped CSDL2Wrapped.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
7 | #include "apple_iOS.h" // iOS device
8 | #elif TARGET_OS_MAC
9 | #include "apple_macOS.h" // macOS
| `- note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
10 | #else
11 | error "Unknown Apple platform"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 | #include <SDL_assert.h>
3 | #include <SDL_atomic.h>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
7 |
8 | // workaround for unsafeFlags from SDL <https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273/5>
9 | @_exported import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
10 |
[19/129] Emitting module NFD
[20/129] Emitting module FirebladeTime
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
brew install sdl2
warning: you may be able to install vulkan using your system-packager:
brew install vulkan-sdk
BUILD FAILURE 6.0 macosSpm