Build Information
Successful build of SwiftGLTF, reference main (4160ed
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:15:11 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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 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 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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/schwa/SwiftGLTF.git
[1/341] Fetching swiftgltf
Fetched https://github.com/schwa/SwiftGLTF.git from cache (1.44s)
Creating working copy for https://github.com/schwa/SwiftGLTF.git
Working copy of https://github.com/schwa/SwiftGLTF.git resolved at main (4160ed7)
warning: '.resolve-product-dependencies': dependency 'swiftgltf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/schwa/SwiftGLTF.git
https://github.com/schwa/SwiftGLTF.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: compile command failed due to signal 11 (use -v to see invocation)
[3/9] Compiling SwiftGLTF gltf.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:218:15: error: type 'Accessor' does not conform to protocol 'Resolver'
216 | }
217 |
218 | public struct Accessor: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Accessor' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
219 | public static let documentKeyPath = \Document.accessors
220 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:311:15: error: type 'Buffer' does not conform to protocol 'Resolver'
309 | }
310 |
311 | public struct Buffer: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Buffer' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
312 | public static let documentKeyPath = \Document.buffers
313 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/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]?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:321:15: error: type 'BufferView' does not conform to protocol 'Resolver'
319 | }
320 |
321 | public struct BufferView: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'BufferView' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
322 | public static let documentKeyPath = \Document.bufferViews
323 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:360:15: error: type 'Camera' does not conform to protocol 'Resolver'
358 | }
359 |
360 | public struct Camera: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Camera' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
361 | public static let documentKeyPath = \Document.cameras
362 | }
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:372:15: error: type 'Image' does not conform to protocol 'Resolver'
370 | // }
371 |
372 | public struct Image: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Image' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
373 | public static let documentKeyPath = \Document.images
374 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:383:15: error: type 'Material' does not conform to protocol 'Resolver'
381 | }
382 |
383 | public struct Material: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Material' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
384 | public static let documentKeyPath = \Document.materials
385 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:430:15: error: type 'Mesh' does not conform to protocol 'Resolver'
428 | }
429 |
430 | public struct Mesh: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Mesh' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
431 | public static let documentKeyPath = \Document.meshes
432 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:506:15: error: type 'Node' does not conform to protocol 'Resolver'
504 | }
505 |
506 | public struct Node: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Node' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
507 | public static let documentKeyPath = \Document.nodes
508 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:569:15: error: type 'Sampler' does not conform to protocol 'Resolver'
567 | }
568 |
569 | public struct Sampler: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Sampler' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
570 | public static let documentKeyPath = \Document.samplers
571 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:628:15: error: type 'Scene' does not conform to protocol 'Resolver'
626 | }
627 |
628 | public struct Scene: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Scene' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
629 | public static let documentKeyPath = \Document.scenes
630 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift:654:15: error: type 'Texture' does not conform to protocol 'Resolver'
652 | }
653 |
654 | public struct Texture: Decodable, Hashable, Sendable, Resolver {
| |- error: type 'Texture' does not conform to protocol 'Resolver'
| `- note: add stubs for conformance
655 | public static let documentKeyPath = \Document.textures
656 |
:
719 |
720 | public protocol Resolver: Sendable {
721 | associatedtype C: RandomAccessCollection where C.Index == Int
| `- note: protocol requires nested type 'C'
722 | static var documentKeyPath: KeyPath<Document, C> { get }
723 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:23:9: error: type 'Scene' does not conform to protocol 'Resolver'
21 | public func generateSCNScene() throws -> SCNScene {
22 | let scnScene = SCNScene()
23 | let scene = try document.scene.map { try $0.resolve(in: document) } ?? document.scenes.first!
| `- error: type 'Scene' does not conform to protocol 'Resolver'
24 | try scene.nodes
25 | .map { try $0.resolve(in: document) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:34:9: error: type 'Mesh' does not conform to protocol 'Resolver'
32 |
33 | func generateSCNNode(from node: Node) throws -> SCNNode {
34 | let geometry = try node.mesh.map { try generateSCNGeometry(from: $0.resolve(in: document)) }
| `- error: type 'Mesh' does not conform to protocol 'Resolver'
35 | let scnNode = SCNNode(geometry: geometry)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:33:10: error: type 'Node' does not conform to protocol 'Resolver'
31 | }
32 |
33 | func generateSCNNode(from node: Node) throws -> SCNNode {
| `- error: type 'Node' does not conform to protocol 'Resolver'
34 | let geometry = try node.mesh.map { try generateSCNGeometry(from: $0.resolve(in: document)) }
35 | let scnNode = SCNNode(geometry: geometry)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:78:13: error: type 'Buffer' does not conform to protocol 'Resolver'
76 | }
77 | else {
78 | let buffer = try bufferIndex.resolve(in: document)
| `- error: type 'Buffer' does not conform to protocol 'Resolver'
79 | guard let uri = buffer.uri else {
80 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:92:9: error: type 'BufferView' does not conform to protocol 'Resolver'
90 |
91 | func generateSCNGeometrySource(semantic: SCNGeometrySource.Semantic, from accessor: Accessor) throws -> SCNGeometrySource {
92 | let bufferView = try accessor.bufferView!.resolve(in: document)
| `- error: type 'BufferView' does not conform to protocol 'Resolver'
93 | let bufferData = try data(for: bufferView.buffer)
94 | .subdata(in: bufferView.byteOffset ..< (bufferView.byteOffset + bufferView.byteLength))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:125:10: error: type 'Accessor' does not conform to protocol 'Resolver'
123 | }
124 |
125 | func generateSCNGeometry(from mesh: Mesh) throws -> SCNGeometry {
| `- error: type 'Accessor' does not conform to protocol 'Resolver'
126 | let sourcesAndElements: [([SCNGeometrySource], SCNGeometryElement?, [SCNMaterial])] = try mesh.primitives.map { primitive in
127 | let semantics: [(Mesh.Primitive.Semantic, SCNGeometrySource.Semantic?)] = [
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:125:10: error: type 'Material' does not conform to protocol 'Resolver'
123 | }
124 |
125 | func generateSCNGeometry(from mesh: Mesh) throws -> SCNGeometry {
| `- error: type 'Material' does not conform to protocol 'Resolver'
126 | let sourcesAndElements: [([SCNGeometrySource], SCNGeometryElement?, [SCNMaterial])] = try mesh.primitives.map { primitive in
127 | let semantics: [(Mesh.Primitive.Semantic, SCNGeometrySource.Semantic?)] = [
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/CollectionScanner.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/Scratch.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/glb.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+RealityKit.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftGLTF.build/gltf+SceneKit.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftGLTF.build/gltf+SceneKit.swiftdeps -target arm64-apple-macosx14.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -Xcc -fPIC -Xcc -g -module-name SwiftGLTF -disable-clang-spi -target-sdk-version 15.4 -target-sdk-name macosx15.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftGLTF.build/gltf+SceneKit.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckSourceFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(SwiftGLTF.(file).SceneKitGenerator.generateSCNGeometry(from:)@/Users/admin/builder/spi-builder-workspace/Sources/SwiftGLTF/gltf+SceneKit.swift:125:10)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000000010ac36c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010ac34a60 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x000000010ac37264 SignalHandler(int) + 360
3 libsystem_platform.dylib 0x000000018885f624 _sigtramp + 56
4 swift-frontend 0x0000000105e5ab30 (anonymous namespace)::FindCapturedVars::walkToExprPre(swift::Expr*) + 1364
5 swift-frontend 0x0000000105e5ab30 (anonymous namespace)::FindCapturedVars::walkToExprPre(swift::Expr*) + 1364
6 swift-frontend 0x00000001062529ac (anonymous namespace)::Traversal::visitSelfApplyExpr(swift::SelfApplyExpr*) + 172
7 swift-frontend 0x000000010624fe14 (anonymous namespace)::Traversal::visit(swift::Expr*) + 120
8 swift-frontend 0x0000000106252838 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) + 88
9 swift-frontend 0x000000010624fdf0 (anonymous namespace)::Traversal::visit(swift::Expr*) + 84
10 swift-frontend 0x0000000106250580 (anonymous namespace)::Traversal::visitDynamicMemberRefExpr(swift::DynamicMemberRefExpr*) + 84
11 swift-frontend 0x0000000106250118 (anonymous namespace)::Traversal::visit(swift::Expr*) + 892
12 swift-frontend 0x00000001062550c0 (anonymous namespace)::Traversal::visit(swift::Decl*) + 2876
13 swift-frontend 0x000000010624fba8 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 344
14 swift-frontend 0x0000000106252fa8 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 772
15 swift-frontend 0x0000000105e59968 swift::TypeChecker::computeCaptures(swift::AbstractClosureExpr*) + 680
16 swift-frontend 0x0000000105f8ff3c (anonymous namespace)::ContextualizeClosuresAndMacros::walkToExprPre(swift::Expr*) + 712
17 swift-frontend 0x0000000106255c70 (anonymous namespace)::Traversal::visit(swift::ArgumentList*) + 220
18 swift-frontend 0x00000001062528a4 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) + 196
19 swift-frontend 0x000000010624fdf0 (anonymous namespace)::Traversal::visit(swift::Expr*) + 84
20 swift-frontend 0x0000000106250580 (anonymous namespace)::Traversal::visitDynamicMemberRefExpr(swift::DynamicMemberRefExpr*) + 84
21 swift-frontend 0x0000000106250118 (anonymous namespace)::Traversal::visit(swift::Expr*) + 892
22 swift-frontend 0x00000001062550c0 (anonymous namespace)::Traversal::visit(swift::Decl*) + 2876
23 swift-frontend 0x000000010624fba8 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 344
24 swift-frontend 0x0000000106252fa8 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 772
25 swift-frontend 0x0000000105f8ca00 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 1540
26 swift-frontend 0x00000001063895ec swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 640
27 swift-frontend 0x00000001062ec1a8 swift::AbstractFunctionDecl::getTypecheckedBody() const + 160
28 swift-frontend 0x0000000105fde7e0 swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 912
29 swift-frontend 0x0000000105fe4b18 swift::TypeCheckSourceFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()>(swift::TypeCheckSourceFileRequest const&, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()) + 624
30 swift-frontend 0x0000000105fde434 swift::performTypeChecking(swift::SourceFile&) + 308
31 swift-frontend 0x0000000104e48018 swift::CompilerInstance::performSema() + 248
32 swift-frontend 0x0000000104a8b274 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 772
33 swift-frontend 0x0000000104a89fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
34 swift-frontend 0x0000000104a0e0bc swift::mainEntry(int, char const**) + 5428
35 dyld 0x0000000188486b4c start + 6000
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling SwiftGLTF gltf+RealityKit.swift
[3/8] 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 | }
[4/8] Compiling SwiftGLTF CollectionScanner.swift
[5/8] 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]?
[6/8] Compiling SwiftGLTF gltf+SceneKit.swift
[7/8] Compiling SwiftGLTF glb.swift
[8/8] 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! (1.86s)
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.