Build Information
Successful build of SGLOpenGL, reference 4.0.0 (b5dc08), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 05:52:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGL/OpenGL.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftGL/OpenGL
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at b5dc08c Merge pull request #8 from costinAndronache/pr/windowsSupportPR
Cloned https://github.com/SwiftGL/OpenGL.git
Revision (git rev-parse @):
b5dc08c4c3c8bdae2e24d2fdb8ad3d41784cb6a7
SUCCESS checkout https://github.com/SwiftGL/OpenGL.git at 4.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": "opengl",
"name": "SGLOpenGL",
"url": "https://github.com/SwiftGL/OpenGL.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenGL",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftGL/OpenGL.git
[1/96] Fetching opengl
Fetched https://github.com/SwiftGL/OpenGL.git from cache (0.90s)
Creating working copy for https://github.com/SwiftGL/OpenGL.git
Working copy of https://github.com/SwiftGL/OpenGL.git resolved at 4.0.0 (b5dc08c)
warning: 'opengl': 'glgen' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftGL/OpenGL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[1/7] Write glgen-entitlement.plist
[3/7] Write swift-version--6988338F2F200930.txt
[5/14] Compiling glgen main.swift
/Users/admin/builder/spi-builder-workspace/Sources/glgen/main.swift:546:40: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
544 | if let vers = delegate.commandVersions[cmd] {
545 | for v in vers {
546 | strnums.append(strings.index(of: v)!)
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
547 | }
548 | }
/Users/admin/builder/spi-builder-workspace/Sources/glgen/main.swift:551:40: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
549 | if let vers = delegate.commandExtensions[cmd] {
550 | for v in vers {
551 | strnums.append(strings.index(of: v)!)
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
552 | }
553 | }
/Users/admin/builder/spi-builder-workspace/Sources/glgen/main.swift:591:53: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)' [#DeprecatedDeclaration]
589 | // remove group options without a value
590 | for (groupName, _) in delegate.groups {
591 | while let idx = delegate.groups[groupName]!.index(where: {delegate.values[$0] == nil}) {
| |- warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(where:)' instead
592 | delegate.groups[groupName]!.remove(at: idx)
593 | }
/Users/admin/builder/spi-builder-workspace/Sources/glgen/main.swift:658:28: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
656 | for (key,val) in delegate.commandVersions {
657 | if val.contains("+ES 1.0") {
658 | if let i = val.index(of: "+ES 2.0") {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
659 | delegate.commandVersions[key]?.remove(at: i)
660 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/14] Emitting module glgen
[6/14] Write Objects.LinkFileList
[8/14] Compiling SGLOpenGL SwiftGL.swift
[8/14] Linking glgen
[9/14] Applying glgen
[11/14] Compiling SGLOpenGL Constants.swift
[12/14] Compiling SGLOpenGL Loaders.swift
[13/14] Emitting module SGLOpenGL
[14/14] Compiling SGLOpenGL Commands.swift
Build complete! (7.38s)
warning: 'spi-builder-workspace': 'glgen' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SGLOpenGL",
"name" : "SGLOpenGL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGLOpenGL",
"targets" : [
"SGLOpenGL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "glgen",
"targets" : [
"glgen"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "glgen",
"module_type" : "SwiftTarget",
"name" : "glgen",
"path" : "Sources/glgen",
"product_memberships" : [
"glgen"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "SGLOpenGL",
"module_type" : "SwiftTarget",
"name" : "SGLOpenGL",
"path" : "Sources/SGLOpenGL",
"product_memberships" : [
"SGLOpenGL"
],
"sources" : [
"Commands.swift",
"Constants.swift",
"Loaders.swift",
"SwiftGL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
warning: 'spi-builder-workspace': 'glgen' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Done.