The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SDL, reference 1.4.1 (30a288), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 08:35:20 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctreffs/SwiftSDL2.git
Reference: 1.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ctreffs/SwiftSDL2
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 30a2886 Update dependency realm/SwiftLint to v0.52.3 (#26)
Cloned https://github.com/ctreffs/SwiftSDL2.git
Revision (git rev-parse @):
30a2886bd68e43fc19ba29b63ffe230ac0e4db7a
SUCCESS checkout https://github.com/ctreffs/SwiftSDL2.git at 1.4.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ctreffs/SwiftSDL2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 125]
[Planning deferred tasks]
[13 / 53]
[30 / 53]
[31 / 54] SDL
[39 / 70]
[41 / 70]
[44 / 70]
[45 / 70]
[59 / 72] MetalApp-product
[59 / 72] Minimal-product
[61 / 74] Minimal-product
[63 / 74] SDL
[67 / 75] MetalApp-product
[74 / 104]
[74 / 104] Minimal-product
[76 / 104]
[80 / 104]
[82 / 104]
[85 / 104]
[88 / 104]
[91 / 104]
[92 / 104]
[95 / 104]
[96 / 104]
[99 / 104] MetalApp-product
[100 / 104] MetalApp-product
[102 / 104] MetalApp-product
Build complete! (8.29 sec)
warning: 'spi-builder-workspace': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'spi-builder-workspace': couldn't find pc file for sdl2
/Users/admin/builder/spi-builder-workspace/Sources/SDL2/SDL2.swift:14:1: warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
12 | #endif
13 |
14 | extension SDL_KeyCode: Equatable {}
   | |- warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 | extension SDL_KeyCode: Hashable {}
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDL2/SDL2.swift:15:1: warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
13 |
14 | extension SDL_KeyCode: Equatable {}
15 | extension SDL_KeyCode: Hashable {}
   | |- warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | @_transparent
/Users/admin/builder/spi-builder-workspace/Sources/SDL2/SDL2.swift:14:1: warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
12 | #endif
13 |
14 | extension SDL_KeyCode: Equatable {}
   | |- warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 | extension SDL_KeyCode: Hashable {}
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDL2/SDL2.swift:15:1: warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
13 |
14 | extension SDL_KeyCode: Equatable {}
15 | extension SDL_KeyCode: Hashable {}
   | |- warning: extension declares a conformance of imported type 'SDL_KeyCode' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'SDL2' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | @_transparent
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SDL",
  "name" : "SDL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SDL",
      "targets" : [
        "SDL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Minimal",
      "targets" : [
        "Minimal"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MetalApp",
      "targets" : [
        "MetalApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDLTests",
      "module_type" : "SwiftTarget",
      "name" : "SDLTests",
      "path" : "Tests/SDLTests",
      "sources" : [
        "SDLTests.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SDL2",
      "module_type" : "BinaryTarget",
      "name" : "SDL2",
      "path" : "SDL2.xcframework",
      "product_memberships" : [
        "SDL",
        "Minimal",
        "MetalApp"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SDL",
      "module_type" : "SwiftTarget",
      "name" : "SDL",
      "path" : "Sources/SDL2",
      "product_memberships" : [
        "SDL",
        "Minimal",
        "MetalApp"
      ],
      "sources" : [
        "SDL2.swift"
      ],
      "target_dependencies" : [
        "SDL2",
        "CSDL2"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Minimal",
      "module_type" : "SwiftTarget",
      "name" : "Minimal",
      "path" : "Sources/Demos/Minimal",
      "product_memberships" : [
        "Minimal"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MetalApp",
      "module_type" : "SwiftTarget",
      "name" : "MetalApp",
      "path" : "Sources/Demos/MetalApp",
      "product_memberships" : [
        "MetalApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CSDL2",
      "module_type" : "SystemLibraryTarget",
      "name" : "CSDL2",
      "path" : "Sources/CSDL2",
      "product_memberships" : [
        "SDL",
        "Minimal",
        "MetalApp"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.6"
}
Done.