Build Information
Failed to build SwiftSDL2, reference master (896a76
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 04:27:02 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/sunlubo/swiftsdl2.git
Reference: master
Initialized empty Git repository in /Users/admin/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftsdl2",
"name": "SwiftSDL2",
"url": "https://github.com/sunlubo/swiftsdl2.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftsdl2",
"dependencies": [
]
}
]
}
Fetching https://github.com/sunlubo/swiftsdl2.git
[1/177] Fetching swiftsdl2
Fetched https://github.com/sunlubo/swiftsdl2.git from cache (0.74s)
Creating working copy for https://github.com/sunlubo/swiftsdl2.git
Working copy of https://github.com/sunlubo/swiftsdl2.git resolved at master (896a76c)
warning: '.resolve-product-dependencies': dependency 'swiftsdl2' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/sunlubo/swiftsdl2.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/12] Write sources
[3/12] Write SwiftSDL2Demo-entitlement.plist
[3/12] Write SwiftSDL2ThreadDemo-entitlement.plist
[5/12] Write swift-version--7754E27361AE5C74.txt
[7/28] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[8/28] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[9/29] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[10/29] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[11/29] Compiling SwiftSDL2 Shape.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[12/29] Compiling SwiftSDL2 StdlibExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[13/29] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[14/29] Compiling SwiftSDL2 Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/29] Emitting module SwiftSDL2
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[16/29] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[17/29] Compiling SwiftSDL2 SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[18/29] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[19/29] Compiling SwiftSDL2 Constant.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[20/29] Compiling SwiftSDL2 Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[21/29] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[22/29] Compiling SwiftSDL2 OpenGL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
[23/29] Compiling SwiftSDL2 Pixels.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "sdl2_shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
| `- error: 'SDL.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build Objective-C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build Objective-C module 'CSDL2'
9 |
10 | // MARK: - AudioFormat
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 6.0 macosSpm