The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDL 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/pureswift/sdl.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/pureswift/sdl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e317e88 Updated headers location for macOS
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
e317e8882cc03709aaddd17770e1fab5522ea256
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pureswift/sdl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[1/7] Write SDLDemo-entitlement.plist
[2/7] Write sources
[3/7] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[6/22] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/22] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/22] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/22] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/22] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/22] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/22] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/22] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/22] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/22] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/22] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[17/22] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[18/22] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[19/22] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[20/23] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.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: you may be able to install sdl2 using your system-packager:
    brew install sdl2
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version--423B1241ED78D482.txt
[2/19] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[3/19] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[4/20] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[5/20] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.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/20] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/20] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/20] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/20] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/20] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/20] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/20] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/20] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/20] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/20] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/20] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[17/20] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.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: you may be able to install sdl2 using your system-packager:
    brew install sdl2
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7