Build Information
Successful build of GLTFSceneKit, reference master (cfa032
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 10:49:08 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frzi/GLTFSceneKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frzi/GLTFSceneKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cfa032e Merge remote-tracking branch 'upstream/master'
Cloned https://github.com/frzi/GLTFSceneKit.git
Revision (git rev-parse @):
cfa032e8239f1bd9829ad297b3e835f94444e219
SUCCESS checkout https://github.com/frzi/GLTFSceneKit.git at master
========================================
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": "gltfscenekit",
"name": "GLTFSceneKit",
"url": "https://github.com/frzi/GLTFSceneKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GLTFSceneKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/frzi/GLTFSceneKit.git
[11/1088] Fetching gltfscenekit
Fetched https://github.com/frzi/GLTFSceneKit.git from cache (1.23s)
Creating working copy for https://github.com/frzi/GLTFSceneKit.git
Working copy of https://github.com/frzi/GLTFSceneKit.git resolved at master (cfa032e)
warning: '.resolve-product-dependencies': dependency 'gltfscenekit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/frzi/GLTFSceneKit.git
{
"dependencies" : [
],
"manifest_display_name" : "GLTFSceneKit",
"name" : "GLTFSceneKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "GLTFSceneKit",
"targets" : [
"GLTFSceneKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GLTFSceneKit",
"module_type" : "SwiftTarget",
"name" : "GLTFSceneKit",
"path" : "Sources/GLTFSceneKit",
"product_memberships" : [
"GLTFSceneKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierFragment_alphaCutoff.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface_alphaModeBlend.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierFragment_VRMUnlitTexture.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierFragment_VRMUnlitTexture_Cutoff.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierSurface_VRMMToon.shader",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GLTFErrors.swift",
"GLTFFunctions.swift",
"GLTFSceneKit+BundleFinder.swift",
"GLTFSceneSource.swift",
"GLTFTypes.swift",
"GLTFUnarchiver.swift",
"schema/GLTFAccessor.swift",
"schema/GLTFAccessorSparse.swift",
"schema/GLTFAccessorSparseIndices.swift",
"schema/GLTFAccessorSparseValues.swift",
"schema/GLTFAnimation.swift",
"schema/GLTFAnimationChannel.swift",
"schema/GLTFAnimationChannelTarget.swift",
"schema/GLTFAnimationSampler.swift",
"schema/GLTFAsset.swift",
"schema/GLTFBuffer.swift",
"schema/GLTFBufferView.swift",
"schema/GLTFCamera.swift",
"schema/GLTFCameraOrthographic.swift",
"schema/GLTFCameraPerspective.swift",
"schema/GLTFExtension.swift",
"schema/GLTFExtras.swift",
"schema/GLTFExtrasTargetNames.swift",
"schema/GLTFGlTF.swift",
"schema/GLTFGlTFChildOfRootProperty.swift",
"schema/GLTFGlTFProperty.swift",
"schema/GLTFGlTFid.swift",
"schema/GLTFImage.swift",
"schema/GLTFMaterial.swift",
"schema/GLTFMaterialNormalTextureInfo.swift",
"schema/GLTFMaterialOcclusionTextureInfo.swift",
"schema/GLTFMaterialPbrMetallicRoughness.swift",
"schema/GLTFMesh.swift",
"schema/GLTFMeshPrimitive.swift",
"schema/GLTFNode.swift",
"schema/GLTFSampler.swift",
"schema/GLTFScene.swift",
"schema/GLTFSkin.swift",
"schema/GLTFTexture.swift",
"schema/GLTFTextureInfo.swift",
"schema/extensions/ExtensionList.swift",
"schema/extensions/KHR_materials_common/GLTFKHRMaterialsCommon_GLTFKHRMaterialsCommon.swift",
"schema/extensions/KHR_materials_pbrSpecularGlossiness/GLTFKHRMaterialsPbrSpecularGlossiness_GLTFKHRMaterialsPbrSpecularGlossiness.swift",
"schema/extensions/KHR_materials_unlit/GLTFKHRMaterialsUnlit.swift",
"schema/extensions/VRM/GLTFVRM_VRM.swift",
"schema/extensions/VRM/GLTFVRM_VRMSpringBone.swift",
"schema/extensions/VRM/GLTFVRM_VRMSpringBoneLogic.swift",
"schema/extensions/VRM/GLTFVRM_VRMState.swift",
"schema/extensions/VRM/GLTFVRM_VRMTypes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/12] Copying GLTFShaderModifierSurface_alphaModeBlend.shader
[0/12] Copying GLTFShaderModifierSurface.shader
[2/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness.shader
[3/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture_Cutoff.shader
[4/12] Copying GLTFShaderModifierSurface_doubleSidedWorkaround.shader
[5/12] Write sources
[6/12] Copying GLTFShaderModifierSurface_VRMMToon.shader
[6/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader
[6/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture.shader
[6/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader
[10/12] Copying GLTFShaderModifierFragment_alphaCutoff.shader
[11/12] Write swift-version--7754E27361AE5C74.txt
[13/58] Compiling GLTFSceneKit GLTFGlTFProperty.swift
[14/58] Compiling GLTFSceneKit GLTFGlTFid.swift
[15/58] Compiling GLTFSceneKit GLTFImage.swift
[16/58] Compiling GLTFSceneKit GLTFMaterial.swift
[17/58] Compiling GLTFSceneKit GLTFMaterialNormalTextureInfo.swift
[18/63] Emitting module GLTFSceneKit
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[19/63] Compiling GLTFSceneKit GLTFAnimation.swift
[20/63] Compiling GLTFSceneKit GLTFAnimationChannel.swift
[21/63] Compiling GLTFSceneKit GLTFAnimationChannelTarget.swift
[22/63] Compiling GLTFSceneKit GLTFAnimationSampler.swift
[23/63] Compiling GLTFSceneKit GLTFAsset.swift
[24/63] Compiling GLTFSceneKit GLTFBuffer.swift
[25/63] Compiling GLTFSceneKit GLTFBufferView.swift
[26/63] Compiling GLTFSceneKit GLTFCamera.swift
[27/63] Compiling GLTFSceneKit GLTFCameraOrthographic.swift
[28/63] Compiling GLTFSceneKit GLTFCameraPerspective.swift
[29/63] Compiling GLTFSceneKit GLTFSampler.swift
[30/63] Compiling GLTFSceneKit GLTFScene.swift
[31/63] Compiling GLTFSceneKit GLTFSkin.swift
[32/63] Compiling GLTFSceneKit GLTFTexture.swift
[33/63] Compiling GLTFSceneKit GLTFTextureInfo.swift
[34/63] Compiling GLTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[35/63] Compiling GLTFSceneKit GLTFMaterialPbrMetallicRoughness.swift
[36/63] Compiling GLTFSceneKit GLTFMesh.swift
[37/63] Compiling GLTFSceneKit GLTFMeshPrimitive.swift
[38/63] Compiling GLTFSceneKit GLTFNode.swift
[39/63] Compiling GLTFSceneKit GLTFExtension.swift
[40/63] Compiling GLTFSceneKit GLTFExtras.swift
[41/63] Compiling GLTFSceneKit GLTFExtrasTargetNames.swift
[42/63] Compiling GLTFSceneKit GLTFGlTF.swift
[43/63] Compiling GLTFSceneKit GLTFGlTFChildOfRootProperty.swift
[44/63] Compiling GLTFSceneKit ExtensionList.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRM.swift:225:53: warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
223 |
224 | // Remove gltf color data
225 | if orgGeometry.sources(for: .color) != nil {
| `- warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
226 | let sources = orgGeometry.sources.filter {
227 | $0.semantic != .color
[45/63] Compiling GLTFSceneKit GLTFKHRMaterialsCommon_GLTFKHRMaterialsCommon.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRM.swift:225:53: warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
223 |
224 | // Remove gltf color data
225 | if orgGeometry.sources(for: .color) != nil {
| `- warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
226 | let sources = orgGeometry.sources.filter {
227 | $0.semantic != .color
[46/63] Compiling GLTFSceneKit GLTFKHRMaterialsPbrSpecularGlossiness_GLTFKHRMaterialsPbrSpecularGlossiness.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRM.swift:225:53: warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
223 |
224 | // Remove gltf color data
225 | if orgGeometry.sources(for: .color) != nil {
| `- warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
226 | let sources = orgGeometry.sources.filter {
227 | $0.semantic != .color
[47/63] Compiling GLTFSceneKit GLTFKHRMaterialsUnlit.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRM.swift:225:53: warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
223 |
224 | // Remove gltf color data
225 | if orgGeometry.sources(for: .color) != nil {
| `- warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
226 | let sources = orgGeometry.sources.filter {
227 | $0.semantic != .color
[48/63] Compiling GLTFSceneKit GLTFVRM_VRM.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRM.swift:225:53: warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
223 |
224 | // Remove gltf color data
225 | if orgGeometry.sources(for: .color) != nil {
| `- warning: comparing non-optional value of type '[SCNGeometrySource]' to 'nil' always returns true
226 | let sources = orgGeometry.sources.filter {
227 | $0.semantic != .color
[49/63] Compiling GLTFSceneKit GLTFErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[50/63] Compiling GLTFSceneKit GLTFFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[51/63] Compiling GLTFSceneKit GLTFSceneKit+BundleFinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[52/63] Compiling GLTFSceneKit GLTFSceneSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[53/63] Compiling GLTFSceneKit GLTFTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[54/63] Compiling GLTFSceneKit GLTFUnarchiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:80:53: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
78 | var jsonData = data
79 |
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:82:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
83 | if version != 2 {
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:86:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
85 | }
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:88:66: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
90 | if chunk0Type != chunkTypeJSON {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:89:64: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
90 | if chunk0Type != chunkTypeJSON {
91 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk0Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:97:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 |
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
99 | if chunk1Type != chunkTypeBIN {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:98:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | if chunk1Type != chunkTypeBIN {
100 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk1Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:343:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
341 | }
342 |
343 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
344 | var p = pointer.advanced(by: offset)
345 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:377:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
375 | var indexData = Data(capacity: dataSize)
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
379 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:378:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
379 | let srcStep = stride - size
380 | var srcPos = offset
[55/63] Compiling GLTFSceneKit GLTFAccessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:80:53: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
78 | var jsonData = data
79 |
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:82:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
83 | if version != 2 {
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:86:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
85 | }
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:88:66: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
90 | if chunk0Type != chunkTypeJSON {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:89:64: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
90 | if chunk0Type != chunkTypeJSON {
91 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk0Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:97:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 |
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
99 | if chunk1Type != chunkTypeBIN {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:98:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | if chunk1Type != chunkTypeBIN {
100 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk1Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:343:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
341 | }
342 |
343 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
344 | var p = pointer.advanced(by: offset)
345 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:377:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
375 | var indexData = Data(capacity: dataSize)
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
379 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:378:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
379 | let srcStep = stride - size
380 | var srcPos = offset
[56/63] Compiling GLTFSceneKit GLTFAccessorSparse.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:80:53: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
78 | var jsonData = data
79 |
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:82:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
83 | if version != 2 {
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:86:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
85 | }
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:88:66: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
90 | if chunk0Type != chunkTypeJSON {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:89:64: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
90 | if chunk0Type != chunkTypeJSON {
91 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk0Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:97:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 |
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
99 | if chunk1Type != chunkTypeBIN {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:98:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | if chunk1Type != chunkTypeBIN {
100 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk1Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:343:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
341 | }
342 |
343 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
344 | var p = pointer.advanced(by: offset)
345 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:377:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
375 | var indexData = Data(capacity: dataSize)
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
379 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:378:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
379 | let srcStep = stride - size
380 | var srcPos = offset
[57/63] Compiling GLTFSceneKit GLTFAccessorSparseIndices.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:80:53: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
78 | var jsonData = data
79 |
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:82:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
83 | if version != 2 {
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:86:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
85 | }
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:88:66: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
90 | if chunk0Type != chunkTypeJSON {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:89:64: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
90 | if chunk0Type != chunkTypeJSON {
91 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk0Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:97:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 |
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
99 | if chunk1Type != chunkTypeBIN {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:98:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | if chunk1Type != chunkTypeBIN {
100 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk1Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:343:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
341 | }
342 |
343 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
344 | var p = pointer.advanced(by: offset)
345 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:377:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
375 | var indexData = Data(capacity: dataSize)
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
379 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:378:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
379 | let srcStep = stride - size
380 | var srcPos = offset
[58/63] Compiling GLTFSceneKit GLTFAccessorSparseValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFSceneKit+BundleFinder.swift:26:14: warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension Foundation.Bundle {
26 | static var module_workaround: Bundle = {
| |- warning: static property 'module_workaround' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module_workaround' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module_workaround' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:80:53: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
78 | var jsonData = data
79 |
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:82:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
80 | let magic: UInt32 = data.subdata(in: 0..<4).withUnsafeBytes { $0.pointee }
81 | if magic == glbMagic {
82 | let version: UInt32 = data.subdata(in: 4..<8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
83 | if version != 2 {
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:86:59: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
84 | throw GLTFUnarchiveError.NotSupported("version \(version) is not supported")
85 | }
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:88:66: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | let length: UInt32 = data.subdata(in: 8..<12).withUnsafeBytes { $0.pointee }
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
90 | if chunk0Type != chunkTypeJSON {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:89:64: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
87 |
88 | let chunk0Length: UInt32 = data.subdata(in: 12..<16).withUnsafeBytes { $0.pointee }
89 | let chunk0Type: UInt32 = data.subdata(in: 16..<20).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
90 | if chunk0Type != chunkTypeJSON {
91 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk0Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:97:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 |
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
99 | if chunk1Type != chunkTypeBIN {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:98:92: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | if length > chunk0EndPos {
97 | let chunk1Length: UInt32 = data.subdata(in: chunk0EndPos..<chunk0EndPos+4).withUnsafeBytes { $0.pointee }
98 | let chunk1Type: UInt32 = data.subdata(in: chunk0EndPos+4..<chunk0EndPos+8).withUnsafeBytes { $0.pointee }
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | if chunk1Type != chunkTypeBIN {
100 | throw GLTFUnarchiveError.NotSupported("chunkType \(chunk1Type) is not supported")
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:343:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
341 | }
342 |
343 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
344 | var p = pointer.advanced(by: offset)
345 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:377:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
375 | var indexData = Data(capacity: dataSize)
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
379 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:378:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
376 |
377 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
378 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
379 | let srcStep = stride - size
380 | var srcPos = offset
[59/63] Compiling GLTFSceneKit GLTFVRM_VRMSpringBone.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[60/63] Compiling GLTFSceneKit GLTFVRM_VRMSpringBoneLogic.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[61/63] Compiling GLTFSceneKit GLTFVRM_VRMState.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[62/63] Compiling GLTFSceneKit GLTFVRM_VRMTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[63/63] Compiling GLTFSceneKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:10:22: warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | static private let sceneSettingsQueue = DispatchQueue(label: "GLTFVRM_sceneSettingsQueue", attributes: .concurrent)
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
| |- warning: static property 'physicsSceneSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsSceneSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsSceneSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/schema/extensions/VRM/GLTFVRM_VRMState.swift:11:22: warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static private let updatedAtQueue = DispatchQueue(label: "GLTFVRM_updatedAtQueue", attributes: .concurrent)
10 | static private var physicsSceneSettings: [String: GLTFVRM_VRMPhysicsSettings] = [:]
11 | static private var physicsUpdatedAt: [String: TimeInterval] = [:]
| |- warning: static property 'physicsUpdatedAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'physicsUpdatedAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'physicsUpdatedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
Build complete! (17.34s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GLTFSceneKit",
"name" : "GLTFSceneKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "GLTFSceneKit",
"targets" : [
"GLTFSceneKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GLTFSceneKit",
"module_type" : "SwiftTarget",
"name" : "GLTFSceneKit",
"path" : "Sources/GLTFSceneKit",
"product_memberships" : [
"GLTFSceneKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierFragment_alphaCutoff.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface_alphaModeBlend.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/GLTFShaderModifierSurface_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/KHR_materials_pbrSpecularGlossiness/GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierFragment_VRMUnlitTexture.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierFragment_VRMUnlitTexture_Cutoff.shader",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/Resources/VRM/GLTFShaderModifierSurface_VRMMToon.shader",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GLTFErrors.swift",
"GLTFFunctions.swift",
"GLTFSceneKit+BundleFinder.swift",
"GLTFSceneSource.swift",
"GLTFTypes.swift",
"GLTFUnarchiver.swift",
"schema/GLTFAccessor.swift",
"schema/GLTFAccessorSparse.swift",
"schema/GLTFAccessorSparseIndices.swift",
"schema/GLTFAccessorSparseValues.swift",
"schema/GLTFAnimation.swift",
"schema/GLTFAnimationChannel.swift",
"schema/GLTFAnimationChannelTarget.swift",
"schema/GLTFAnimationSampler.swift",
"schema/GLTFAsset.swift",
"schema/GLTFBuffer.swift",
"schema/GLTFBufferView.swift",
"schema/GLTFCamera.swift",
"schema/GLTFCameraOrthographic.swift",
"schema/GLTFCameraPerspective.swift",
"schema/GLTFExtension.swift",
"schema/GLTFExtras.swift",
"schema/GLTFExtrasTargetNames.swift",
"schema/GLTFGlTF.swift",
"schema/GLTFGlTFChildOfRootProperty.swift",
"schema/GLTFGlTFProperty.swift",
"schema/GLTFGlTFid.swift",
"schema/GLTFImage.swift",
"schema/GLTFMaterial.swift",
"schema/GLTFMaterialNormalTextureInfo.swift",
"schema/GLTFMaterialOcclusionTextureInfo.swift",
"schema/GLTFMaterialPbrMetallicRoughness.swift",
"schema/GLTFMesh.swift",
"schema/GLTFMeshPrimitive.swift",
"schema/GLTFNode.swift",
"schema/GLTFSampler.swift",
"schema/GLTFScene.swift",
"schema/GLTFSkin.swift",
"schema/GLTFTexture.swift",
"schema/GLTFTextureInfo.swift",
"schema/extensions/ExtensionList.swift",
"schema/extensions/KHR_materials_common/GLTFKHRMaterialsCommon_GLTFKHRMaterialsCommon.swift",
"schema/extensions/KHR_materials_pbrSpecularGlossiness/GLTFKHRMaterialsPbrSpecularGlossiness_GLTFKHRMaterialsPbrSpecularGlossiness.swift",
"schema/extensions/KHR_materials_unlit/GLTFKHRMaterialsUnlit.swift",
"schema/extensions/VRM/GLTFVRM_VRM.swift",
"schema/extensions/VRM/GLTFVRM_VRMSpringBone.swift",
"schema/extensions/VRM/GLTFVRM_VRMSpringBoneLogic.swift",
"schema/extensions/VRM/GLTFVRM_VRMState.swift",
"schema/extensions/VRM/GLTFVRM_VRMTypes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.