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 SwiftGLTF, reference 1.0.1 (4160ed), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 13:15:41 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/schwa/SwiftGLTF.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SwiftGLTF
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 4160ed7 Fix download url
Cloned https://github.com/schwa/SwiftGLTF.git
Revision (git rev-parse @):
4160ed7e89b7cfcccf5ff7a0cbfd5b055fada771
SUCCESS checkout https://github.com/schwa/SwiftGLTF.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/schwa/SwiftGLTF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling SwiftGLTF gltf+SceneKit.swift
[4/9] Compiling SwiftGLTF gltf.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:333:16: warning: stored property 'target' of 'Sendable'-conforming struct 'BufferView' has non-sendable type 'BufferView.Target?'; this is an error in the Swift 6 language mode
326 |     public let byteLength: Int
327 |     public let byteStride: Int?
328 |     public enum Target: Int, Decodable {
    |                 `- note: consider making enum 'Target' conform to the 'Sendable' protocol
329 |         case ARRAY_BUFFER = 34962
330 |         case ELEMENT_ARRAY_BUFFER = 34963
331 |     }
332 |
333 |     public let target: Target?
    |                `- warning: stored property 'target' of 'Sendable'-conforming struct 'BufferView' has non-sendable type 'BufferView.Target?'; this is an error in the Swift 6 language mode
334 |     public let name: String?
335 |     // let extensions: [String: Any]?
[5/9] Compiling SwiftGLTF Scratch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:25:9: warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 23 |
 24 |     var redChannel: CGImage {
 25 |         channel(CIVector(x: 1, y: 0, z: 0, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:29:9: warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 27 |
 28 |     var greenChannel: CGImage {
 29 |         channel(CIVector(x: 0, y: 1, z: 0, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 30 |     }
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:33:9: warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 31 |
 32 |     var blueChannel: CGImage {
 33 |         channel(CIVector(x: 0, y: 0, z: 1, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient [#DeprecatedDeclaration]
 34 |     }
 35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/9] Emitting module SwiftGLTF
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:333:16: warning: stored property 'target' of 'Sendable'-conforming struct 'BufferView' has non-sendable type 'BufferView.Target?'; this is an error in the Swift 6 language mode
326 |     public let byteLength: Int
327 |     public let byteStride: Int?
328 |     public enum Target: Int, Decodable {
    |                 `- note: consider making enum 'Target' conform to the 'Sendable' protocol
329 |         case ARRAY_BUFFER = 34962
330 |         case ELEMENT_ARRAY_BUFFER = 34963
331 |     }
332 |
333 |     public let target: Target?
    |                `- warning: stored property 'target' of 'Sendable'-conforming struct 'BufferView' has non-sendable type 'BufferView.Target?'; this is an error in the Swift 6 language mode
334 |     public let name: String?
335 |     // let extensions: [String: Any]?
[7/9] Compiling SwiftGLTF CollectionScanner.swift
[8/9] Compiling SwiftGLTF glb.swift
[9/9] Compiling SwiftGLTF gltf+RealityKit.swift
Build complete! (8.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftGLTF",
  "name" : "SwiftGLTF",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftGLTF",
      "targets" : [
        "SwiftGLTF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftGLTFTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGLTFTests",
      "path" : "Tests/SwiftGLTFTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftGLTFTests/Box-byteStride.glb",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftGLTFTests/Box.gltf",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GLTFTests.swift"
      ],
      "target_dependencies" : [
        "SwiftGLTF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGLTF",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGLTF",
      "path" : "Sources/SwiftGLTF",
      "product_memberships" : [
        "SwiftGLTF"
      ],
      "sources" : [
        "CollectionScanner.swift",
        "Scratch.swift",
        "glb.swift",
        "gltf+RealityKit.swift",
        "gltf+SceneKit.swift",
        "gltf.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.