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 SwiftSDL2 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/sunlubo/swiftsdl2.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/sunlubo/swiftsdl2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 896a76c remove xcodeproj
Cloned https://github.com/sunlubo/swiftsdl2.git
Revision (git rev-parse @):
896a76ce6575524949eacb9b703c5003df583ac5
SUCCESS checkout https://github.com/sunlubo/swiftsdl2.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/sunlubo/swiftsdl2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[2/12] Write SwiftSDL2ThreadDemo-entitlement.plist
[3/12] Write SwiftSDL2Demo-entitlement.plist
[4/12] Write sources
[5/12] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/27] Emitting module SwiftSDL2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/27] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/27] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/27] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/27] Compiling SwiftSDL2 Shape.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/27] Compiling SwiftSDL2 StdlibExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/27] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/27] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/27] Compiling SwiftSDL2 SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/27] Compiling SwiftSDL2 Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[17/27] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[18/27] Compiling SwiftSDL2 OpenGL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[19/27] Compiling SwiftSDL2 Pixels.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[20/27] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[21/27] Compiling SwiftSDL2 Constant.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[22/29] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[23/29] Compiling SwiftSDL2 Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for sdl2
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version--423B1241ED78D482.txt
[2/22] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[3/22] Compiling SwiftSDL2 Shape.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[4/24] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[5/24] Compiling SwiftSDL2 Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/24] Emitting module SwiftSDL2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/24] Compiling SwiftSDL2 StdlibExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/24] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/24] Compiling SwiftSDL2 Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/24] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/24] Compiling SwiftSDL2 OpenGL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/24] Compiling SwiftSDL2 Pixels.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/24] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/24] Compiling SwiftSDL2 Constant.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/24] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/24] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[17/24] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[18/24] Compiling SwiftSDL2 SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
         ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for sdl2
BUILD FAILURE 5.10 macosSpm