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: 0.0.7
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/sunlubo/swiftsdl2
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at a0b1192 Merge branch 'master' of https://github.com/sunlubo/SwiftSDL2
Cloned https://github.com/sunlubo/swiftsdl2.git
Revision (git rev-parse @):
a0b119201b2d0734efd4ecc1a1029e9be5478126
SUCCESS checkout https://github.com/sunlubo/swiftsdl2.git at 0.0.7
========================================
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 ThreadDemo-entitlement.plist
[2/12] Write SwiftSDL2Demo-entitlement.plist
[5/12] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/25] Emitting module SwiftSDL2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/25] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/25] Compiling SwiftSDL2 Util.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/25] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/25] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/25] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/25] Compiling SwiftSDL2 Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/25] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/25] Compiling SwiftSDL2 PointerExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/25] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[17/25] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[18/25] Compiling SwiftSDL2 StringExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[19/25] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[20/26] Compiling SwiftSDL2 Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: fatalError
Fetching https://github.com/sunlubo/CSDL2
[1/10] Fetching csdl2
Fetched https://github.com/sunlubo/CSDL2 from cache (0.26s)
Computing version for https://github.com/sunlubo/CSDL2
Computed https://github.com/sunlubo/CSDL2 at 1.0.0 (0.47s)
Creating working copy for https://github.com/sunlubo/CSDL2
Working copy of https://github.com/sunlubo/CSDL2 resolved at 1.0.0
warning: 'csdl2': ignoring declared target(s) 'CSDL2' in the system package
warning: 'spi-builder-workspace': dependency 'csdl2' is not used by any target
warning: couldn't find pc file for sdl2
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/20] Emitting module SwiftSDL2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[3/20] Compiling SwiftSDL2 Util.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[4/20] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[5/20] Compiling SwiftSDL2 Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[6/20] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/20] Compiling SwiftSDL2 StringExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/20] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/20] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/20] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/20] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/20] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/20] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/20] Compiling SwiftSDL2 PointerExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/21] Compiling SwiftSDL2 Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sdl2_shim.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/Users/admin/builds/J1XnyXFH/1/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: 'csdl2': ignoring declared target(s) 'CSDL2' in the system package
warning: 'spi-builder-workspace': dependency 'csdl2' is not used by any target
warning: couldn't find pc file for sdl2
BUILD FAILURE 5.10 macosSpm