The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftGLTF, reference main (418349), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 17:17:37 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 418349a Import GitHub issues to local issues and close resolved ones
Cloned https://github.com/schwa/SwiftGLTF.git
Revision (git rev-parse @):
418349a014299d672caf69845b61a9097adf80d0
SUCCESS checkout https://github.com/schwa/SwiftGLTF.git at main
========================================
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": "swiftgltf",
      "name": "SwiftGLTF",
      "url": "https://github.com/schwa/SwiftGLTF.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGLTF",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/schwa/SwiftGLTF.git
[1/365] Fetching swiftgltf
Fetched https://github.com/schwa/SwiftGLTF.git from cache (1.47s)
Creating working copy for https://github.com/schwa/SwiftGLTF.git
Working copy of https://github.com/schwa/SwiftGLTF.git resolved at main (418349a)
warning: '.resolve-product-dependencies': dependency 'swiftgltf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/schwa/SwiftGLTF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/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' contains 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' contains 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]?
[4/9] Compiling SwiftGLTF glb.swift
[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] Compiling SwiftGLTF CollectionScanner.swift
[7/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' contains 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' contains 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]?
[8/9] Compiling SwiftGLTF gltf+SceneKit.swift
[9/9] Compiling SwiftGLTF gltf+RealityKit.swift
Build complete! (11.38s)
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.