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

Successful build of SDL, reference 1.4.1 (30a288), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 07:18:07 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/ctreffs/SwiftSDL2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[3/13] Copying libSDL2.a
[4/13] Write Minimal-entitlement.plist
[5/13] Write MetalApp-entitlement.plist
[6/13] Write swift-version-1EA4D86E10B52AF.txt
[8/15] Compiling SDL SDL2.swift
/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
[9/15] Emitting module SDL
/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
[10/19] Emitting module Minimal
[11/19] Compiling Minimal main.swift
[11/19] Write Objects.LinkFileList
[12/19] Linking Minimal
[13/19] Applying Minimal
[15/19] Emitting module MetalApp
[16/19] Compiling MetalApp main.swift
[16/19] Write Objects.LinkFileList
[17/19] Linking MetalApp
[18/19] Applying MetalApp
Build complete! (4.96s)
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.