Build Information
Successful build of GLTFSceneKit, reference 0.4.1 (a9587e
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 23:28:37 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/frzi/GLTFSceneKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[0/12] Copying GLTFShaderModifierSurface_alphaModeBlend.shader
[2/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture_Cutoff.shader
[2/12] Copying GLTFShaderModifierSurface.shader
[3/12] Copying GLTFShaderModifierSurface_doubleSidedWorkaround.shader
[3/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness.shader
[4/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader
[5/12] Copying GLTFShaderModifierSurface_VRMMToon.shader
[5/12] Copying GLTFShaderModifierFragment_alphaCutoff.shader
[6/12] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader
[9/12] Copying GLTFShaderModifierFragment_VRMUnlitTexture.shader
[11/12] Write swift-version-1EA4D86E10B52AF.txt
[13/58] Emitting module GLTFSceneKit
[14/62] Compiling GLTFSceneKit GLTFExtension.swift
[15/62] Compiling GLTFSceneKit GLTFExtras.swift
[16/62] Compiling GLTFSceneKit GLTFExtrasTargetNames.swift
[17/62] Compiling GLTFSceneKit GLTFGlTF.swift
[18/62] Compiling GLTFSceneKit GLTFGlTFChildOfRootProperty.swift
[19/62] Compiling GLTFSceneKit GLTFAnimation.swift
[20/62] Compiling GLTFSceneKit GLTFAnimationChannel.swift
[21/62] Compiling GLTFSceneKit GLTFAnimationChannelTarget.swift
[22/62] Compiling GLTFSceneKit GLTFAnimationSampler.swift
[23/62] Compiling GLTFSceneKit GLTFAsset.swift
[24/62] Compiling GLTFSceneKit GLTFVRM_VRMSpringBoneLogic.swift
[25/62] Compiling GLTFSceneKit GLTFVRM_VRMState.swift
[26/62] Compiling GLTFSceneKit GLTFVRM_VRMTypes.swift
[27/62] Compiling GLTFSceneKit resource_bundle_accessor.swift
[28/62] Compiling GLTFSceneKit GLTFSampler.swift
[29/62] Compiling GLTFSceneKit GLTFScene.swift
[30/62] Compiling GLTFSceneKit GLTFSkin.swift
[31/62] Compiling GLTFSceneKit GLTFTexture.swift
[32/62] Compiling GLTFSceneKit GLTFTextureInfo.swift
[33/62] Compiling GLTFSceneKit GLTFBuffer.swift
[34/62] Compiling GLTFSceneKit GLTFBufferView.swift
[35/62] Compiling GLTFSceneKit GLTFCamera.swift
[36/62] Compiling GLTFSceneKit GLTFCameraOrthographic.swift
[37/62] Compiling GLTFSceneKit GLTFCameraPerspective.swift
[38/62] Compiling GLTFSceneKit GLTFGlTFProperty.swift
[39/62] Compiling GLTFSceneKit GLTFGlTFid.swift
[40/62] Compiling GLTFSceneKit GLTFImage.swift
[41/62] Compiling GLTFSceneKit GLTFMaterial.swift
[42/62] Compiling GLTFSceneKit GLTFMaterialNormalTextureInfo.swift
[43/62] Compiling GLTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[44/62] Compiling GLTFSceneKit GLTFMaterialPbrMetallicRoughness.swift
[45/62] Compiling GLTFSceneKit GLTFMesh.swift
[46/62] Compiling GLTFSceneKit GLTFMeshPrimitive.swift
[47/62] Compiling GLTFSceneKit GLTFNode.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | //var index = 0
110 | //let step = 8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | //var index = 0
110 | //let step = 8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | //var index = 0
110 | //let step = 8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | //var index = 0
110 | //let step = 8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | //var index = 0
110 | //let step = 8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[58/62] Compiling GLTFSceneKit GLTFUnarchiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:70:60: warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | extensions?.forEach { (ext) in _extensions[ext.key] = ext.value }
69 |
70 | decoder.userInfo[GLTFExtensionCodingUserInfoKey] = _extensions
| `- warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | let _extras = [
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
377 | let srcStep = stride - size
378 | var srcPos = offset
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[59/62] Compiling GLTFSceneKit GLTFAccessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:70:60: warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | extensions?.forEach { (ext) in _extensions[ext.key] = ext.value }
69 |
70 | decoder.userInfo[GLTFExtensionCodingUserInfoKey] = _extensions
| `- warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | let _extras = [
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
377 | let srcStep = stride - size
378 | var srcPos = offset
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[60/62] Compiling GLTFSceneKit GLTFAccessorSparse.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:70:60: warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | extensions?.forEach { (ext) in _extensions[ext.key] = ext.value }
69 |
70 | decoder.userInfo[GLTFExtensionCodingUserInfoKey] = _extensions
| `- warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | let _extras = [
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
377 | let srcStep = stride - size
378 | var srcPos = offset
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[61/62] Compiling GLTFSceneKit GLTFAccessorSparseIndices.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:70:60: warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | extensions?.forEach { (ext) in _extensions[ext.key] = ext.value }
69 |
70 | decoder.userInfo[GLTFExtensionCodingUserInfoKey] = _extensions
| `- warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | let _extras = [
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
377 | let srcStep = stride - size
378 | var srcPos = offset
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[62/62] Compiling GLTFSceneKit GLTFAccessorSparseValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLTFSceneKit/GLTFUnarchiver.swift:70:60: warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | extensions?.forEach { (ext) in _extensions[ext.key] = ext.value }
69 |
70 | decoder.userInfo[GLTFExtensionCodingUserInfoKey] = _extensions
| `- warning: type 'any (Decodable & Encodable).Type' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | let _extras = [
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
339 | }
340 |
341 | bufferView.withUnsafeBytes { (pointer: UnsafePointer<UInt8>) in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
377 | let srcStep = stride - size
378 | var srcPos = offset
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (8.62s)
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.