The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SDL, reference master (df3058), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 15:25:38 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctreffs/SwiftSDL2.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ctreffs/SwiftSDL2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at df30583 Update macOS CI (#45)
Cloned https://github.com/ctreffs/SwiftSDL2.git
Revision (git rev-parse @):
df30583c88c8bb7bccaf8875f0ec4a39cb149fba
SUCCESS checkout https://github.com/ctreffs/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": "SDL",
      "url": "https://github.com/ctreffs/SwiftSDL2.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSDL2",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ctreffs/SwiftSDL2.git
[1/1352] Fetching swiftsdl2
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (1.20s)
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at master (df30583)
warning: '.resolve-product-dependencies': dependency 'swiftsdl2' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ctreffs/SwiftSDL2.git
https://github.com/ctreffs/SwiftSDL2.git
{
  "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"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/13] Copying libSDL2.a
[0/13] Write sources
[3/13] Write Minimal-entitlement.plist
[4/13] Write MetalApp-entitlement.plist
[6/13] Write swift-version-2F0A5646E1D333AE.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] Compiling Minimal main.swift
[11/19] Emitting module Minimal
[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! (6.31s)
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.