The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SDL, reference master (718c2b), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 03:41:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/sdl.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/sdl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 718c2b3 Fixed `SDLTexture.withUnsafeMutableBytes()`
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
718c2b343a6102d769d6ab3a20f3891e320c0718
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pureswift/sdl.git
https://github.com/pureswift/sdl.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SDL",
  "name" : "SDL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SDL",
      "targets" : [
        "SDL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SDLDemo",
      "targets" : [
        "SDLDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDLTests",
      "module_type" : "SwiftTarget",
      "name" : "SDLTests",
      "path" : "Tests/SDLTests",
      "sources" : [
        "SDLTests.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SDLDemo",
      "module_type" : "SwiftTarget",
      "name" : "SDLDemo",
      "path" : "Sources/SDLDemo",
      "product_memberships" : [
        "SDLDemo"
      ],
      "sources" : [
        "App.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SDL",
      "module_type" : "SwiftTarget",
      "name" : "SDL",
      "path" : "Sources/SDL",
      "product_memberships" : [
        "SDL",
        "SDLDemo"
      ],
      "sources" : [
        "BitMaskOption.swift",
        "BlendMode.swift",
        "Color.swift",
        "CountableSet.swift",
        "DisplayMode.swift",
        "Error.swift",
        "Event.swift",
        "Palette.swift",
        "PixelFormat.swift",
        "Renderer.swift",
        "SDL.swift",
        "Surface.swift",
        "Texture.swift",
        "VideoDisplay.swift",
        "Window.swift"
      ],
      "target_dependencies" : [
        "CSDL2"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSDL2",
      "module_type" : "SystemLibraryTarget",
      "name" : "CSDL2",
      "path" : "Sources/CSDL2",
      "product_memberships" : [
        "SDL",
        "SDLDemo"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/7] Write sources
[2/7] Write SDLDemo-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/22] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[6/22] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[7/23] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[8/23] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[9/23] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[10/23] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/23] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[12/23] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[13/23] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[14/23] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[15/23] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[16/23] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[17/23] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[18/23] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[19/23] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[20/23] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
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
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/19] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[3/19] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[4/19] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[5/20] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[6/20] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[7/20] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[8/20] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[9/20] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[10/20] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[11/20] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[12/20] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[13/20] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[14/20] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[15/20] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[16/20] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[17/20] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
1 | #ifdef __APPLE__
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
  |          `- error: '/opt/homebrew/include/SDL2/SDL.h' file not found
3 | #else
4 | #include <SDL2/SDL.h>
/Users/admin/builder/spi-builder-workspace/Sources/SDL/BlendMode.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 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
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
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
BUILD FAILURE 6.1 macosSpm