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 with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/fireblade-engine/pal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/26] Write sources
[3/26] Write CPUBackendDemoApp-entitlement.plist
[3/26] Write sources
[3/26] Write VulkanBackendDemoApp-entitlement.plist
[7/26] Write sources
[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--423B1241ED78D482.txt
[14/124] Compiling CNFD nfd_common.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/124] Emitting module CSDL2Wrapped
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
        #include "apple_macOS.h" //  macOS
                 ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
@_exported import CSDL2
                  ^
[17/124] Compiling CSDL2Wrapped CSDL2Wrapped.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
        #include "apple_macOS.h" //  macOS
                 ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
@_exported import CSDL2
                  ^
error: fatalError
[17/124] Compiling CNFD nfd_cocoa.m
[18/124] Compiling FirebladeTime TimeProviding.swift
Fetching https://github.com/ctreffs/SwiftNFD.git from cache
Fetching https://github.com/ctreffs/SwiftSDL2.git from cache
Fetching https://github.com/ctreffs/SwiftVulkan from cache
Fetching https://github.com/fireblade-engine/time.git from cache
Fetching https://github.com/fireblade-engine/math.git from cache
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.46s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.47s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.47s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.47s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.47s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.52s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.50s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.3.2 (0.54s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.53s)
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/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/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.3.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/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
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
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/110] Emitting module CSDL2Wrapped
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
        #include "apple_macOS.h" //  macOS
                 ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
@_exported import CSDL2
                  ^
[3/110] Compiling CSDL2Wrapped CSDL2Wrapped.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
        #include "apple_macOS.h" //  macOS
                 ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
@_exported import CSDL2
                  ^
error: fatalError
[3/110] Compiling CNFD nfd_cocoa.m
[4/110] Compiling FirebladeTime Timer.swift
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 5.10 macosSpm