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 main (5b1bf5), with Swift 6.0 for macOS (SPM) on 11 Dec 2025 02:03:10 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/SwiftGLTF.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SwiftGLTF
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5b1bf55 Remove buildkite
Cloned https://github.com/schwa/SwiftGLTF.git
Revision (git rev-parse @):
5b1bf55da7f79d5e168bf074e994a8cb6b08a8ac
SUCCESS checkout https://github.com/schwa/SwiftGLTF.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/schwa/SwiftGLTF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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 CollectionScanner.swift
[6/9] Compiling SwiftGLTF Scratch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:25:9: warning: 'channel' is deprecated: Inefficient
 23 |
 24 |     var redChannel: CGImage {
 25 |         channel(CIVector(x: 1, y: 0, z: 0, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:29:9: warning: 'channel' is deprecated: Inefficient
 27 |
 28 |     var greenChannel: CGImage {
 29 |         channel(CIVector(x: 0, y: 1, z: 0, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient
 30 |     }
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift:33:9: warning: 'channel' is deprecated: Inefficient
 31 |
 32 |     var blueChannel: CGImage {
 33 |         channel(CIVector(x: 0, y: 0, z: 1, w: 0))
    |         `- warning: 'channel' is deprecated: Inefficient
 34 |     }
 35 | }
[7/9] Compiling SwiftGLTF glb.swift
[8/9] Compiling SwiftGLTF gltf+RealityKit.swift
[9/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]?
Build complete! (10.10s)
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.