The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SGLOpenGL, reference 4.0.0 (b5dc08), with Swift 6.2 for macOS (SPM) on 24 Jun 2025 02:14:53 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftGL/OpenGL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write glgen-entitlement.plist
[3/7] Write swift-version-1EA4D86E10B52AF.txt
[5/14] Compiling SGLOpenGL SwiftGL.swift
[6/14] Emitting module glgen
[7/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>
[7/14] Write Objects.LinkFileList
[9/14] Compiling SGLOpenGL Constants.swift
[10/14] Compiling SGLOpenGL Loaders.swift
[10/14] Linking glgen
[11/14] Applying glgen
[13/14] Compiling SGLOpenGL Commands.swift
[14/14] Emitting module SGLOpenGL
Build complete! (7.63s)
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.