The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FirebladePAL, reference 0.2.2 (c6b3fa), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 15:57:47 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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/fireblade-engine/time.git
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftNFD.git
[1/400] Fetching time
[21/688] Fetching time, swiftvulkan
[59/2018] Fetching time, swiftvulkan, swiftsdl2
[199/2398] Fetching time, swiftvulkan, swiftsdl2, swiftnfd
[710/5029] Fetching time, swiftvulkan, swiftsdl2, swiftnfd, math
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (1.30s)
Fetched https://github.com/fireblade-engine/time.git from cache (1.30s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (1.30s)
Fetched https://github.com/fireblade-engine/math.git from cache (1.30s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (1.30s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.68s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.67s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.3.2 (0.68s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.67s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.87s)
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/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
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/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.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.90s)
Fetching https://github.com/ctreffs/SwiftNFD.git from cache
Fetching https://github.com/ctreffs/SwiftVulkan from cache
Fetching https://github.com/fireblade-engine/math.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/ctreffs/SwiftNFD.git from cache (0.53s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.53s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.53s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.53s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.53s)
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.63s)
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/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/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
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
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)
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
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
Building for debugging...
[0/26] Write sources
[1/26] Write CPUBackendDemoApp-entitlement.plist
[1/26] Write sources
[1/26] Write VulkanBackendDemoApp-entitlement.plist
[1/26] Write sources
[10/26] Compiling CNFD nfd_win.cpp
[11/26] Compiling CNFD nfd_default.c
[12/26] Compiling CNFD nfd_gtk.c
[13/26] Write swift-version--7754E27361AE5C74.txt
[14/127] Compiling CNFD nfd_common.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/127] 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 |
[17/127] 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 |
[18/127] Emitting module FirebladeTime
[18/127] Compiling CNFD nfd_cocoa.m
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install vulkan using your system-packager:
    brew install vulkan-sdk
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
BUILD FAILURE 6.0 macosSpm