Build Information
Successful build of GLTFSceneKit, reference 0.4.1 (a9587e
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 05:05:41 UTC.
Swift 6 data race errors: 3
Build Command
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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frzi/GLTFSceneKit.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frzi/GLTFSceneKit
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at a9587ec Ignore glTF colors in VRM (#61)
Cloned https://github.com/frzi/GLTFSceneKit.git
Revision (git rev-parse @):
a9587ec5c6515ee7d036533fdd909815a9a718ef
SUCCESS checkout https://github.com/frzi/GLTFSceneKit.git at 0.4.1
========================================
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.22s)
Creating working copy for https://github.com/frzi/GLTFSceneKit.git
Working copy of https://github.com/frzi/GLTFSceneKit.git resolved at 0.4.1 (a9587ec)
warning: '.resolve-product-dependencies': dependency 'gltfscenekit' 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/frzi/GLTFSceneKit.git
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"
}
],
"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/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.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/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness.shader
[0/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture_Cutoff.shader
[0/12] Copying GLTFShaderModifierSurface.shader
[0/12] Copying GLTFShaderModifierSurface_doubleSidedWorkaround.shader
[4/12] Copying GLTFShaderModifierSurface_VRMMToon.shader
[4/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader
[4/12] Copying GLTFShaderModifierSurface_alphaModeBlend.shader
[5/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader
[5/12] Copying GLTFShaderModifierFragment_alphaCutoff.shader
[5/12] Write sources
[6/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture.shader
[11/12] Write swift-version-2F0A5646E1D333AE.txt
[13/58] 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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsSceneSettings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsUpdatedAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[14/62] Compiling GLTFSceneKit GLTFAnimation.swift
[15/62] Compiling GLTFSceneKit GLTFAnimationChannel.swift
[16/62] Compiling GLTFSceneKit GLTFAnimationChannelTarget.swift
[17/62] Compiling GLTFSceneKit GLTFAnimationSampler.swift
[18/62] Compiling GLTFSceneKit GLTFAsset.swift
[19/62] Compiling GLTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[20/62] Compiling GLTFSceneKit GLTFMaterialPbrMetallicRoughness.swift
[21/62] Compiling GLTFSceneKit GLTFMesh.swift
[22/62] Compiling GLTFSceneKit GLTFMeshPrimitive.swift
[23/62] Compiling GLTFSceneKit GLTFNode.swift
[24/62] Compiling GLTFSceneKit GLTFGlTFProperty.swift
[25/62] Compiling GLTFSceneKit GLTFGlTFid.swift
[26/62] Compiling GLTFSceneKit GLTFImage.swift
[27/62] Compiling GLTFSceneKit GLTFMaterial.swift
[28/62] Compiling GLTFSceneKit GLTFMaterialNormalTextureInfo.swift
[29/62] Compiling GLTFSceneKit GLTFBuffer.swift
[30/62] Compiling GLTFSceneKit GLTFBufferView.swift
[31/62] Compiling GLTFSceneKit GLTFCamera.swift
[32/62] Compiling GLTFSceneKit GLTFCameraOrthographic.swift
[33/62] Compiling GLTFSceneKit GLTFCameraPerspective.swift
[34/62] Compiling GLTFSceneKit GLTFExtension.swift
[35/62] Compiling GLTFSceneKit GLTFExtras.swift
[36/62] Compiling GLTFSceneKit GLTFExtrasTargetNames.swift
[37/62] Compiling GLTFSceneKit GLTFGlTF.swift
[38/62] Compiling GLTFSceneKit GLTFGlTFChildOfRootProperty.swift
[39/62] 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: add '@MainActor' to make static property 'physicsSceneSettings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsUpdatedAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[40/62] 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: add '@MainActor' to make static property 'physicsSceneSettings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsUpdatedAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[41/62] 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: add '@MainActor' to make static property 'physicsSceneSettings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsUpdatedAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[42/62] 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: add '@MainActor' to make static property 'physicsSceneSettings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'physicsUpdatedAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func getSceneSettings(key: String) -> GLTFVRM_VRMPhysicsSettings? {
[43/62] Compiling GLTFSceneKit GLTFSampler.swift
[44/62] Compiling GLTFSceneKit GLTFScene.swift
[45/62] Compiling GLTFSceneKit GLTFSkin.swift
[46/62] Compiling GLTFSceneKit GLTFTexture.swift
[47/62] Compiling GLTFSceneKit GLTFTextureInfo.swift
[48/62] Compiling GLTFSceneKit ExtensionList.swift
/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/62] Compiling GLTFSceneKit GLTFKHRMaterialsCommon_GLTFKHRMaterialsCommon.swift
/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
[50/62] Compiling GLTFSceneKit GLTFKHRMaterialsPbrSpecularGlossiness_GLTFKHRMaterialsPbrSpecularGlossiness.swift
/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
[51/62] Compiling GLTFSceneKit GLTFVRM_VRM.swift
/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
[52/62] Compiling GLTFSceneKit GLTFVRM_VRMSpringBone.swift
/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
[53/62] Compiling GLTFSceneKit GLTFErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:68:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
66 | var vertices = [SCNVector3](repeating: dummy, count: source.vectorCount)
67 |
68 | source.data.withUnsafeBytes { (p: UnsafePointer<Float32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
69 | var index = source.dataOffset / 4
70 | let step = source.dataStride / 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:88:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | indices.reserveCapacity(indexCount)
87 | if element.bytesPerIndex == 2 {
88 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt16>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | //var index = 0
90 | //let step = 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | }
97 | } else if element.bytesPerIndex == 4 {
98 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | //var index = 0
100 | //let step = 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:108:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
106 | }
107 | } else if element.bytesPerIndex == 8 {
108 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt64>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
109 | //var index = 0
110 | //let step = 8
/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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- 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/62] Compiling GLTFSceneKit GLTFFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:68:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
66 | var vertices = [SCNVector3](repeating: dummy, count: source.vectorCount)
67 |
68 | source.data.withUnsafeBytes { (p: UnsafePointer<Float32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
69 | var index = source.dataOffset / 4
70 | let step = source.dataStride / 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:88:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | indices.reserveCapacity(indexCount)
87 | if element.bytesPerIndex == 2 {
88 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt16>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | //var index = 0
90 | //let step = 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | }
97 | } else if element.bytesPerIndex == 4 {
98 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | //var index = 0
100 | //let step = 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:108:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
106 | }
107 | } else if element.bytesPerIndex == 8 {
108 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt64>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
109 | //var index = 0
110 | //let step = 8
/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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[55/62] Compiling GLTFSceneKit GLTFSceneKit+BundleFinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:68:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
66 | var vertices = [SCNVector3](repeating: dummy, count: source.vectorCount)
67 |
68 | source.data.withUnsafeBytes { (p: UnsafePointer<Float32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
69 | var index = source.dataOffset / 4
70 | let step = source.dataStride / 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:88:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | indices.reserveCapacity(indexCount)
87 | if element.bytesPerIndex == 2 {
88 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt16>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | //var index = 0
90 | //let step = 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | }
97 | } else if element.bytesPerIndex == 4 {
98 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | //var index = 0
100 | //let step = 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:108:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
106 | }
107 | } else if element.bytesPerIndex == 8 {
108 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt64>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
109 | //var index = 0
110 | //let step = 8
/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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[56/62] Compiling GLTFSceneKit GLTFSceneSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:68:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
66 | var vertices = [SCNVector3](repeating: dummy, count: source.vectorCount)
67 |
68 | source.data.withUnsafeBytes { (p: UnsafePointer<Float32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
69 | var index = source.dataOffset / 4
70 | let step = source.dataStride / 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:88:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | indices.reserveCapacity(indexCount)
87 | if element.bytesPerIndex == 2 {
88 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt16>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | //var index = 0
90 | //let step = 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | }
97 | } else if element.bytesPerIndex == 4 {
98 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | //var index = 0
100 | //let step = 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:108:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
106 | }
107 | } else if element.bytesPerIndex == 8 {
108 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt64>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
109 | //var index = 0
110 | //let step = 8
/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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[57/62] Compiling GLTFSceneKit GLTFTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:68:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
66 | var vertices = [SCNVector3](repeating: dummy, count: source.vectorCount)
67 |
68 | source.data.withUnsafeBytes { (p: UnsafePointer<Float32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
69 | var index = source.dataOffset / 4
70 | let step = source.dataStride / 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:88:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
86 | indices.reserveCapacity(indexCount)
87 | if element.bytesPerIndex == 2 {
88 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt16>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
89 | //var index = 0
90 | //let step = 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 | }
97 | } else if element.bytesPerIndex == 4 {
98 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt32>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | //var index = 0
100 | //let step = 4
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFFunctions.swift:108:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
106 | }
107 | } else if element.bytesPerIndex == 8 {
108 | element.data.withUnsafeBytes { (p: UnsafePointer<UInt64>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
109 | //var index = 0
110 | //let step = 8
/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: add '@MainActor' to make static property 'module_workaround' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if !SWIFT_PACKAGE
28 | return Bundle(for: GLTFUnarchiver.self)
[58/62] Compiling GLTFSceneKit GLTFUnarchiver.swift
/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:186:9: warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
184 |
185 | private func calcPrimitiveCount(ofCount count: Int, primitiveType: SCNGeometryPrimitiveType) -> Int {
186 | switch primitiveType {
| |- warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
187 | case .line:
188 | return count / 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:341:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
342 | var p = pointer.advanced(by: offset)
343 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:375:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | var indexData = Data(capacity: dataSize)
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
377 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:376:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
377 | let srcStep = stride - size
378 | var srcPos = offset
[59/62] Compiling GLTFSceneKit GLTFAccessor.swift
/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:186:9: warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
184 |
185 | private func calcPrimitiveCount(ofCount count: Int, primitiveType: SCNGeometryPrimitiveType) -> Int {
186 | switch primitiveType {
| |- warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
187 | case .line:
188 | return count / 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:341:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
342 | var p = pointer.advanced(by: offset)
343 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:375:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | var indexData = Data(capacity: dataSize)
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
377 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:376:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
377 | let srcStep = stride - size
378 | var srcPos = offset
[60/62] Compiling GLTFSceneKit GLTFAccessorSparse.swift
/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:186:9: warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
184 |
185 | private func calcPrimitiveCount(ofCount count: Int, primitiveType: SCNGeometryPrimitiveType) -> Int {
186 | switch primitiveType {
| |- warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
187 | case .line:
188 | return count / 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:341:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
342 | var p = pointer.advanced(by: offset)
343 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:375:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | var indexData = Data(capacity: dataSize)
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
377 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:376:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
377 | let srcStep = stride - size
378 | var srcPos = offset
[61/62] Compiling GLTFSceneKit GLTFAccessorSparseIndices.swift
/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:186:9: warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
184 |
185 | private func calcPrimitiveCount(ofCount count: Int, primitiveType: SCNGeometryPrimitiveType) -> Int {
186 | switch primitiveType {
| |- warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
187 | case .line:
188 | return count / 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:341:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
342 | var p = pointer.advanced(by: offset)
343 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:375:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | var indexData = Data(capacity: dataSize)
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
377 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:376:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
377 | let srcStep = stride - size
378 | var srcPos = offset
[62/62] Compiling GLTFSceneKit GLTFAccessorSparseValues.swift
/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:186:9: warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
184 |
185 | private func calcPrimitiveCount(ofCount count: Int, primitiveType: SCNGeometryPrimitiveType) -> Int {
186 | switch primitiveType {
| |- warning: switch covers known cases, but 'SCNGeometryPrimitiveType' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
187 | case .line:
188 | return count / 2
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:341:20: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
342 | var p = pointer.advanced(by: offset)
343 | for _ in 0..<count {
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:375:14: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | var indexData = Data(capacity: dataSize)
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
377 | let srcStep = stride - size
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:376:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
374 |
375 | data.withUnsafeBytes { (s: UnsafePointer<UInt8>) in
376 | indexData.withUnsafeMutableBytes { (d: UnsafeMutablePointer<UInt8>) in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
377 | let srcStep = stride - size
378 | var srcPos = offset
Build complete! (8.75s)
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"
}
],
"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/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.