The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSDL2, reference 0.0.7 (a0b119), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 15:23:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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/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
Fetching https://github.com/sunlubo/CSDL2
[1/10] Fetching csdl2
Fetched https://github.com/sunlubo/CSDL2 from cache (0.81s)
Computing version for https://github.com/sunlubo/CSDL2
Computed https://github.com/sunlubo/CSDL2 at 1.0.0 (1.52s)
Creating working copy for https://github.com/sunlubo/CSDL2
Working copy of https://github.com/sunlubo/CSDL2 resolved at 1.0.0
========================================
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "csdl2",
          "name": "CSDL2",
          "url": "https://github.com/sunlubo/CSDL2",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSDL2",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sunlubo/swiftsdl2.git
[1/177] Fetching swiftsdl2
Fetched https://github.com/sunlubo/swiftsdl2.git from cache (0.75s)
Fetching https://github.com/sunlubo/CSDL2 from cache
Fetched https://github.com/sunlubo/CSDL2 from cache (0.48s)
Computing version for https://github.com/sunlubo/CSDL2
Computed https://github.com/sunlubo/CSDL2 at 1.0.0 (0.54s)
Creating working copy for https://github.com/sunlubo/swiftsdl2.git
Working copy of https://github.com/sunlubo/swiftsdl2.git resolved at 0.0.7 (a0b1192)
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: '.resolve-product-dependencies': dependency 'swiftsdl2' is not used by any target
Found 1 product dependencies
  - CSDL2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sunlubo/swiftsdl2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[2/12] Write SwiftSDL2Demo-entitlement.plist
[2/12] Write sources
[2/12] Write ThreadDemo-entitlement.plist
[5/12] Write swift-version--6988338F2F200930.txt
[7/25] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/25] Compiling SwiftSDL2 Util.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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/25] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/25] Compiling SwiftSDL2 StringExt.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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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)
[11/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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
[15/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] Compiling SwiftSDL2 PointerExt.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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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/26] 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/.build/checkouts/CSDL2/sdl2_shim.h:1:10: error: 'SDL2/SDL.h' file not found
1 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/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: 'csdl2': ignoring declared target(s) 'CSDL2' in the system package
warning: 'spi-builder-workspace': dependency 'csdl2' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for sdl2
warning: couldn't find pc file for sdl2
BUILD FAILURE 6.3 macosSpm