Build Information
Failed to build glTFSceneKit, reference 0.0.10 (434ccf
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 18:24:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
120 | }
121 |
122 | public mutating func encode(_ value: Array<Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
123 | if value != nil {
124 | var container = self.nestedUnkeyedContainer(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:131:5: warning: 'public' modifier is redundant for instance method declared in a public extension
129 |
130 | public extension UnkeyedEncodingContainer {
131 | public mutating func encode(_ value: Array<Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
132 | try value.enumerated().forEach({ (index, value) in
133 | switch value {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:157:5: warning: 'public' modifier is redundant for instance method declared in a public extension
155 | }
156 |
157 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
158 | var nestedContainer = self.nestedContainer(keyedBy: JSONCodingKeys.self)
159 | try nestedContainer.encode(value)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/Helper.swift:37:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 |
36 |
37 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 |
39 | extension SCNMatrix4 {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
[4/42] Compiling glTFSceneKit GLTFMeshPrimitive.swift
[5/42] Compiling glTFSceneKit GLTFNode.swift
[6/42] Compiling glTFSceneKit GLTFSampler.swift
[7/42] Compiling glTFSceneKit GLTFScene.swift
[8/42] Compiling glTFSceneKit GLTFCameraPerspective.swift
[9/42] Compiling glTFSceneKit GLTFImage.swift
[10/42] Compiling glTFSceneKit GLTFKHRDracoMeshCompressionExtension.swift
[11/42] Compiling glTFSceneKit GLTFMaterial.swift
[12/42] Compiling glTFSceneKit GLTFBuffer.swift
[13/42] Compiling glTFSceneKit GLTFBufferView.swift
[14/42] Compiling glTFSceneKit GLTFCamera.swift
[15/42] Compiling glTFSceneKit GLTFCameraOrthographic.swift
[16/42] Compiling glTFSceneKit GLTFAccessorSparse.swift
[17/42] Compiling glTFSceneKit GLTFAccessorSparseIndices.swift
[18/42] Compiling glTFSceneKit GLTFAccessorSparseValues.swift
[19/42] Compiling glTFSceneKit GLTFAnimation.swift
[20/42] Compiling glTFSceneKit GLTFMaterialNormalTextureInfo.swift
[21/42] Compiling glTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[22/42] Compiling glTFSceneKit GLTFMaterialPBRMetallicRoughness.swift
[23/42] Compiling glTFSceneKit GLTFMesh.swift
[24/42] Compiling glTFSceneKit GLTFSkin.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | public extension KeyedDecodingContainer {
25 |
26 | public func decode(_ type: Dictionary<String, Any>.Type, forKey key: K) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | let container = try self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
28 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | }
30 |
31 | public func decode(_ type: Array<Any>.Type, forKey key: K) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | var container = try self.nestedUnkeyedContainer(forKey: key)
33 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 |
37 | public func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | var dictionary = Dictionary<String, Any>()
39 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:61:5: warning: 'public' modifier is redundant for instance method declared in a public extension
59 | public extension UnkeyedDecodingContainer {
60 |
61 | public mutating func decode(_ type: Array<Any>.Type) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
62 | var array: [Any] = []
63 | while isAtEnd == false {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:79:5: warning: 'public' modifier is redundant for instance method declared in a public extension
77 | }
78 |
79 | public mutating func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
80 | let nestedContainer = try self.nestedContainer(keyedBy: JSONCodingKeys.self)
81 | return try nestedContainer.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:87:5: warning: 'public' modifier is redundant for instance method declared in a public extension
85 |
86 | public extension KeyedEncodingContainerProtocol where Key == JSONCodingKeys {
87 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
88 | try value.forEach({ (key, value) in
89 | let key = JSONCodingKeys(stringValue: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 |
114 | public extension KeyedEncodingContainerProtocol {
115 | public mutating func encode(_ value: Dictionary<String, Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 | if value != nil {
117 | var container = self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
120 | }
121 |
122 | public mutating func encode(_ value: Array<Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
123 | if value != nil {
124 | var container = self.nestedUnkeyedContainer(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:131:5: warning: 'public' modifier is redundant for instance method declared in a public extension
129 |
130 | public extension UnkeyedEncodingContainer {
131 | public mutating func encode(_ value: Array<Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
132 | try value.enumerated().forEach({ (index, value) in
133 | switch value {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:157:5: warning: 'public' modifier is redundant for instance method declared in a public extension
155 | }
156 |
157 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
158 | var nestedContainer = self.nestedContainer(keyedBy: JSONCodingKeys.self)
159 | try nestedContainer.encode(value)
[25/42] Compiling glTFSceneKit GLTFTexture.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | public extension KeyedDecodingContainer {
25 |
26 | public func decode(_ type: Dictionary<String, Any>.Type, forKey key: K) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | let container = try self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
28 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | }
30 |
31 | public func decode(_ type: Array<Any>.Type, forKey key: K) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | var container = try self.nestedUnkeyedContainer(forKey: key)
33 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 |
37 | public func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | var dictionary = Dictionary<String, Any>()
39 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:61:5: warning: 'public' modifier is redundant for instance method declared in a public extension
59 | public extension UnkeyedDecodingContainer {
60 |
61 | public mutating func decode(_ type: Array<Any>.Type) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
62 | var array: [Any] = []
63 | while isAtEnd == false {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:79:5: warning: 'public' modifier is redundant for instance method declared in a public extension
77 | }
78 |
79 | public mutating func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
80 | let nestedContainer = try self.nestedContainer(keyedBy: JSONCodingKeys.self)
81 | return try nestedContainer.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:87:5: warning: 'public' modifier is redundant for instance method declared in a public extension
85 |
86 | public extension KeyedEncodingContainerProtocol where Key == JSONCodingKeys {
87 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
88 | try value.forEach({ (key, value) in
89 | let key = JSONCodingKeys(stringValue: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 |
114 | public extension KeyedEncodingContainerProtocol {
115 | public mutating func encode(_ value: Dictionary<String, Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 | if value != nil {
117 | var container = self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
120 | }
121 |
122 | public mutating func encode(_ value: Array<Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
123 | if value != nil {
124 | var container = self.nestedUnkeyedContainer(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:131:5: warning: 'public' modifier is redundant for instance method declared in a public extension
129 |
130 | public extension UnkeyedEncodingContainer {
131 | public mutating func encode(_ value: Array<Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
132 | try value.enumerated().forEach({ (index, value) in
133 | switch value {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:157:5: warning: 'public' modifier is redundant for instance method declared in a public extension
155 | }
156 |
157 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
158 | var nestedContainer = self.nestedContainer(keyedBy: JSONCodingKeys.self)
159 | try nestedContainer.encode(value)
[26/42] Compiling glTFSceneKit GLTFTextureInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | public extension KeyedDecodingContainer {
25 |
26 | public func decode(_ type: Dictionary<String, Any>.Type, forKey key: K) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | let container = try self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
28 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | }
30 |
31 | public func decode(_ type: Array<Any>.Type, forKey key: K) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | var container = try self.nestedUnkeyedContainer(forKey: key)
33 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 |
37 | public func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | var dictionary = Dictionary<String, Any>()
39 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:61:5: warning: 'public' modifier is redundant for instance method declared in a public extension
59 | public extension UnkeyedDecodingContainer {
60 |
61 | public mutating func decode(_ type: Array<Any>.Type) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
62 | var array: [Any] = []
63 | while isAtEnd == false {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:79:5: warning: 'public' modifier is redundant for instance method declared in a public extension
77 | }
78 |
79 | public mutating func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
80 | let nestedContainer = try self.nestedContainer(keyedBy: JSONCodingKeys.self)
81 | return try nestedContainer.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:87:5: warning: 'public' modifier is redundant for instance method declared in a public extension
85 |
86 | public extension KeyedEncodingContainerProtocol where Key == JSONCodingKeys {
87 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
88 | try value.forEach({ (key, value) in
89 | let key = JSONCodingKeys(stringValue: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 |
114 | public extension KeyedEncodingContainerProtocol {
115 | public mutating func encode(_ value: Dictionary<String, Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 | if value != nil {
117 | var container = self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
120 | }
121 |
122 | public mutating func encode(_ value: Array<Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
123 | if value != nil {
124 | var container = self.nestedUnkeyedContainer(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:131:5: warning: 'public' modifier is redundant for instance method declared in a public extension
129 |
130 | public extension UnkeyedEncodingContainer {
131 | public mutating func encode(_ value: Array<Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
132 | try value.enumerated().forEach({ (index, value) in
133 | switch value {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:157:5: warning: 'public' modifier is redundant for instance method declared in a public extension
155 | }
156 |
157 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
158 | var nestedContainer = self.nestedContainer(keyedBy: JSONCodingKeys.self)
159 | try nestedContainer.encode(value)
[27/42] Compiling glTFSceneKit JSONCodingKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | public extension KeyedDecodingContainer {
25 |
26 | public func decode(_ type: Dictionary<String, Any>.Type, forKey key: K) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | let container = try self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
28 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | }
30 |
31 | public func decode(_ type: Array<Any>.Type, forKey key: K) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | var container = try self.nestedUnkeyedContainer(forKey: key)
33 | return try container.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 |
37 | public func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | var dictionary = Dictionary<String, Any>()
39 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:61:5: warning: 'public' modifier is redundant for instance method declared in a public extension
59 | public extension UnkeyedDecodingContainer {
60 |
61 | public mutating func decode(_ type: Array<Any>.Type) throws -> Array<Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
62 | var array: [Any] = []
63 | while isAtEnd == false {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:79:5: warning: 'public' modifier is redundant for instance method declared in a public extension
77 | }
78 |
79 | public mutating func decode(_ type: Dictionary<String, Any>.Type) throws -> Dictionary<String, Any> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
80 | let nestedContainer = try self.nestedContainer(keyedBy: JSONCodingKeys.self)
81 | return try nestedContainer.decode(type)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:87:5: warning: 'public' modifier is redundant for instance method declared in a public extension
85 |
86 | public extension KeyedEncodingContainerProtocol where Key == JSONCodingKeys {
87 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
88 | try value.forEach({ (key, value) in
89 | let key = JSONCodingKeys(stringValue: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 |
114 | public extension KeyedEncodingContainerProtocol {
115 | public mutating func encode(_ value: Dictionary<String, Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 | if value != nil {
117 | var container = self.nestedContainer(keyedBy: JSONCodingKeys.self, forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
120 | }
121 |
122 | public mutating func encode(_ value: Array<Any>?, forKey key: Key) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
123 | if value != nil {
124 | var container = self.nestedUnkeyedContainer(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:131:5: warning: 'public' modifier is redundant for instance method declared in a public extension
129 |
130 | public extension UnkeyedEncodingContainer {
131 | public mutating func encode(_ value: Array<Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
132 | try value.enumerated().forEach({ (index, value) in
133 | switch value {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift:157:5: warning: 'public' modifier is redundant for instance method declared in a public extension
155 | }
156 |
157 | public mutating func encode(_ value: Dictionary<String, Any>) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
158 | var nestedContainer = self.nestedContainer(keyedBy: JSONCodingKeys.self)
159 | try nestedContainer.encode(value)
[28/42] Compiling glTFSceneKit GLTF+Animation.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Draco.swift:25:52: error: cannot find 'uncompressDracoData' in scope
23 | }
24 |
25 | let (indicesData, verticies, stride) = uncompressDracoData(data, triangleStrip: triangleStrip)
| `- error: cannot find 'uncompressDracoData' in scope
26 |
27 | let indexSize = MemoryLayout<UInt32>.size;
[29/42] Compiling glTFSceneKit GLTF+CompressedTexture.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Draco.swift:25:52: error: cannot find 'uncompressDracoData' in scope
23 | }
24 |
25 | let (indicesData, verticies, stride) = uncompressDracoData(data, triangleStrip: triangleStrip)
| `- error: cannot find 'uncompressDracoData' in scope
26 |
27 | let indexSize = MemoryLayout<UInt32>.size;
[30/42] Compiling glTFSceneKit GLTF+Draco.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Draco.swift:25:52: error: cannot find 'uncompressDracoData' in scope
23 | }
24 |
25 | let (indicesData, verticies, stride) = uncompressDracoData(data, triangleStrip: triangleStrip)
| `- error: cannot find 'uncompressDracoData' in scope
26 |
27 | let indexSize = MemoryLayout<UInt32>.size;
[31/42] Compiling glTFSceneKit GLTF+Material.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Draco.swift:25:52: error: cannot find 'uncompressDracoData' in scope
23 | }
24 |
25 | let (indicesData, verticies, stride) = uncompressDracoData(data, triangleStrip: triangleStrip)
| `- error: cannot find 'uncompressDracoData' in scope
26 |
27 | let indexSize = MemoryLayout<UInt32>.size;
[32/42] Compiling glTFSceneKit GLTF_3D4MCompressedTextureExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/Helper.swift:37:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 |
36 |
37 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 |
39 | extension SCNMatrix4 {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:27: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:55: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:128:45: warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | if tStatus.status == .no {
127 | tStatus.status = .loading
128 | tStatus.associate(property: property)
| `- warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
SceneKit.SCNMaterialProperty:1:12: note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
1 | open class SCNMaterialProperty : NSObject, SCNAnimatable, NSSecureCoding {
| `- note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
2 | @available(macOS 10.9, *)
3 | public convenience init(contents: Any)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
7 |
8 | import Foundation
9 | import SceneKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
10 | import os
11 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:130:42: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | tStatus.associate(property: property)
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |
132 | let device = MTLCreateSystemDefaultDevice()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:142:28: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
140 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .first) { cTexture, error in
141 |
142 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
143 | group.leave()
144 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:29: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:58: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:157:36: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
155 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .last) { (cTexture2, error) in
156 |
157 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
158 | group.leave()
159 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:37: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:66: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:184:16: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 | fileprivate func _loadImageTexture(_ gltf: GLTF, _ texture: GLTFTexture, _ tStatus: TextureAssociator) {
183 | self.worker.async {
184 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
185 | return
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:187:25: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
185 | return
186 | }
187 | let group = self.group(gltf:gltf, true)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |
189 | if let imageSourceIndex = texture.source {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:189:39: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | let group = self.group(gltf:gltf, true)
188 |
189 | if let imageSourceIndex = texture.source {
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | if let gltf_image = gltf.images?[imageSourceIndex] {
191 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:47: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
[33/42] Compiling glTFSceneKit Helper.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/Helper.swift:37:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 |
36 |
37 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 |
39 | extension SCNMatrix4 {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:27: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:55: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:128:45: warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | if tStatus.status == .no {
127 | tStatus.status = .loading
128 | tStatus.associate(property: property)
| `- warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
SceneKit.SCNMaterialProperty:1:12: note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
1 | open class SCNMaterialProperty : NSObject, SCNAnimatable, NSSecureCoding {
| `- note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
2 | @available(macOS 10.9, *)
3 | public convenience init(contents: Any)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
7 |
8 | import Foundation
9 | import SceneKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
10 | import os
11 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:130:42: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | tStatus.associate(property: property)
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |
132 | let device = MTLCreateSystemDefaultDevice()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:142:28: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
140 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .first) { cTexture, error in
141 |
142 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
143 | group.leave()
144 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:29: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:58: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:157:36: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
155 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .last) { (cTexture2, error) in
156 |
157 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
158 | group.leave()
159 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:37: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:66: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:184:16: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 | fileprivate func _loadImageTexture(_ gltf: GLTF, _ texture: GLTFTexture, _ tStatus: TextureAssociator) {
183 | self.worker.async {
184 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
185 | return
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:187:25: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
185 | return
186 | }
187 | let group = self.group(gltf:gltf, true)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |
189 | if let imageSourceIndex = texture.source {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:189:39: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | let group = self.group(gltf:gltf, true)
188 |
189 | if let imageSourceIndex = texture.source {
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | if let gltf_image = gltf.images?[imageSourceIndex] {
191 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:47: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
[34/42] Compiling glTFSceneKit TextureStorageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/Helper.swift:37:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 |
36 |
37 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 |
39 | extension SCNMatrix4 {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:27: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:124:55: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 | worker.async {
124 | let tStatus = self.textureAssociator(gltf:gltf, at:index)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |
126 | if tStatus.status == .no {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:128:45: warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | if tStatus.status == .no {
127 | tStatus.status = .loading
128 | tStatus.associate(property: property)
| `- warning: capture of 'property' with non-sendable type 'SCNMaterialProperty' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
SceneKit.SCNMaterialProperty:1:12: note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
1 | open class SCNMaterialProperty : NSObject, SCNAnimatable, NSSecureCoding {
| `- note: class 'SCNMaterialProperty' does not conform to the 'Sendable' protocol
2 | @available(macOS 10.9, *)
3 | public convenience init(contents: Any)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
7 |
8 | import Foundation
9 | import SceneKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SceneKit'
10 | import os
11 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:130:42: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | tStatus.associate(property: property)
129 |
130 | gltf.loadSampler(sampler:texture.sampler, property: property)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |
132 | let device = MTLCreateSystemDefaultDevice()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:142:28: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
140 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .first) { cTexture, error in
141 |
142 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
143 | group.leave()
144 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:29: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:149:58: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
147 | if (error != nil) {
148 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
149 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
150 | group.leave()
151 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:157:36: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
155 | gltf.loadCompressedTexture(descriptor:descriptor, loadLevel: .last) { (cTexture2, error) in
156 |
157 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
158 | group.leave()
159 | return
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:37: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:164:66: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
162 | if (error != nil) {
163 | print("Failed to load comressed texture \(error.debugDescription). Fallback on image source.")
164 | self._loadImageTexture(gltf, texture, tStatus)
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in an isolated closure; this is an error in the Swift 6 language mode
165 | } else {
166 | tStatus.content = cTexture2 as Any?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:184:16: warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 | fileprivate func _loadImageTexture(_ gltf: GLTF, _ texture: GLTFTexture, _ tStatus: TextureAssociator) {
183 | self.worker.async {
184 | if gltf.isCancelled {
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in a `@Sendable` closure; this is an error in the Swift 6 language mode
185 | return
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:187:25: warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
:
185 | return
186 | }
187 | let group = self.group(gltf:gltf, true)
| `- warning: capture of 'self' with non-sendable type 'TextureStorageManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |
189 | if let imageSourceIndex = texture.source {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:189:39: warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | let group = self.group(gltf:gltf, true)
188 |
189 | if let imageSourceIndex = texture.source {
| `- warning: capture of 'texture' with non-sendable type 'GLTFTexture' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | if let gltf_image = gltf.images?[imageSourceIndex] {
191 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTFTexture.swift:15:12: note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
13 | /// A texture and its sampler.
14 | @objcMembers
15 | open class GLTFTexture : NSObject, Codable {
| `- note: class 'GLTFTexture' does not conform to the 'Sendable' protocol
16 | /// Dictionary object with extension-specific objects.
17 | public var extensions:[String: Any]?
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:29: warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class TextureAssociator {
| `- note: class 'TextureAssociator' does not conform to the 'Sendable' protocol
20 | var status:TextureStatus = .no
21 |
:
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'tStatus' with non-sendable type 'TextureAssociator' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:194:47: warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
192 | gltf.loader.load(gltf:gltf, resource: gltf_image) { resource, error in
193 | if resource.image != nil {
194 | tStatus.content = gltf._compress(image:resource.image!)
| `- warning: capture of 'gltf' with non-sendable type 'GLTF' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF/GLTF.swift:15:12: note: class 'GLTF' does not conform to the 'Sendable' protocol
13 | /// The root object for a glTF asset.
14 | @objcMembers
15 | open class GLTF : NSObject, Codable {
| `- note: class 'GLTF' does not conform to the 'Sendable' protocol
16 | /// An array of accessors.
17 | public var accessors:[GLTFAccessor]?
[35/42] Compiling glTFSceneKit GLTF+Resources.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:151:16: warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 | extension GLTFBuffer {
150 |
151 | static var data_associate_key = "data_associate_key"
| |- warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'data_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'data_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | public var data:Data? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:161:16: warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
159 | extension GLTFImage {
160 |
161 | static var image_associate_key = "image_associate_key"
| |- warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'image_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'image_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | public var image:OSImage? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:37:20: warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
| |- warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resource_loader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resource_loader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:31: warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:35:20: warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
| |- warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache_nodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cache_nodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:38:20: warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
| |- warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'load_canceled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'load_canceled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:39:20: warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
| |- warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion_handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion_handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:40:20: warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
| |- warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'scnview' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:41:20: warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
| |- warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nodesDispatchGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nodesDispatchGroup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var convertionProgress = "convertionProgressMask"
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:42:20: warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
| |- warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertionProgress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'convertionProgress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:34:58: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
32 | public var loader:GLTFResourceLoader {
33 | get {
34 | var loader_ = objc_getAssociatedObject(self, &Keys.resource_loader) as? GLTFResourceLoader
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
35 | if loader_ != nil {
36 | return loader_!
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:42:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
40 | return loader_!
41 | }
42 | set { objc_setAssociatedObject(self, &Keys.resource_loader, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:154:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
152 |
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:155:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:164:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
162 |
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:165:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
166 | }
167 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:47:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
45 | /// Status will be true if `cancel` was call.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:48:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:52:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
50 |
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:53:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:58:52: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
56 | var convertionProgressMask:ConvertionProgressMask {
57 | get {
58 | var p = objc_getAssociatedObject(self, &Keys.convertionProgress)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:61:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
61 | objc_setAssociatedObject(self, &Keys.convertionProgress, p, .OBJC_ASSOCIATION_RETAIN)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
62 | }
63 | return p as! ConvertionProgressMask
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:65:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
63 | return p as! ConvertionProgressMask
64 | }
65 | set { objc_setAssociatedObject(self, &Keys.convertionProgress, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:69:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
67 |
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:70:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:74:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
72 |
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:75:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:80:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
78 | var nodesDispatchGroup:DispatchGroup {
79 | get {
80 | if let d = objc_getAssociatedObject(self, &Keys.nodesDispatchGroup) {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
81 | return d as! DispatchGroup
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:84:44: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
82 | }
83 | let group = DispatchGroup()
84 | objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, group, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:87:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
87 | set { objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:165:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 | DispatchQueue.main.async {
165 | self._nodesConverted()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
166 | }
167 | }
[36/42] Compiling glTFSceneKit GLTF+SceneKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:151:16: warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 | extension GLTFBuffer {
150 |
151 | static var data_associate_key = "data_associate_key"
| |- warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'data_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'data_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | public var data:Data? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:161:16: warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
159 | extension GLTFImage {
160 |
161 | static var image_associate_key = "image_associate_key"
| |- warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'image_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'image_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | public var image:OSImage? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:37:20: warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
| |- warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resource_loader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resource_loader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:31: warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:35:20: warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
| |- warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache_nodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cache_nodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:38:20: warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
| |- warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'load_canceled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'load_canceled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:39:20: warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
| |- warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion_handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion_handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:40:20: warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
| |- warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'scnview' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:41:20: warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
| |- warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nodesDispatchGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nodesDispatchGroup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var convertionProgress = "convertionProgressMask"
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:42:20: warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
| |- warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertionProgress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'convertionProgress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:34:58: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
32 | public var loader:GLTFResourceLoader {
33 | get {
34 | var loader_ = objc_getAssociatedObject(self, &Keys.resource_loader) as? GLTFResourceLoader
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
35 | if loader_ != nil {
36 | return loader_!
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:42:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
40 | return loader_!
41 | }
42 | set { objc_setAssociatedObject(self, &Keys.resource_loader, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:154:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
152 |
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:155:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:164:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
162 |
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:165:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
166 | }
167 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:47:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
45 | /// Status will be true if `cancel` was call.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:48:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:52:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
50 |
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:53:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:58:52: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
56 | var convertionProgressMask:ConvertionProgressMask {
57 | get {
58 | var p = objc_getAssociatedObject(self, &Keys.convertionProgress)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:61:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
61 | objc_setAssociatedObject(self, &Keys.convertionProgress, p, .OBJC_ASSOCIATION_RETAIN)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
62 | }
63 | return p as! ConvertionProgressMask
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:65:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
63 | return p as! ConvertionProgressMask
64 | }
65 | set { objc_setAssociatedObject(self, &Keys.convertionProgress, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:69:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
67 |
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:70:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:74:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
72 |
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:75:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:80:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
78 | var nodesDispatchGroup:DispatchGroup {
79 | get {
80 | if let d = objc_getAssociatedObject(self, &Keys.nodesDispatchGroup) {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
81 | return d as! DispatchGroup
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:84:44: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
82 | }
83 | let group = DispatchGroup()
84 | objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, group, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:87:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
87 | set { objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:165:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 | DispatchQueue.main.async {
165 | self._nodesConverted()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
166 | }
167 | }
[37/42] Compiling glTFSceneKit GLTF.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:151:16: warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 | extension GLTFBuffer {
150 |
151 | static var data_associate_key = "data_associate_key"
| |- warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'data_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'data_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | public var data:Data? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:161:16: warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
159 | extension GLTFImage {
160 |
161 | static var image_associate_key = "image_associate_key"
| |- warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'image_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'image_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | public var image:OSImage? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:37:20: warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
| |- warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resource_loader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resource_loader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:31: warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:35:20: warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
| |- warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache_nodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cache_nodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:38:20: warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
| |- warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'load_canceled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'load_canceled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:39:20: warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
| |- warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion_handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion_handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:40:20: warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
| |- warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'scnview' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:41:20: warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
| |- warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nodesDispatchGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nodesDispatchGroup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var convertionProgress = "convertionProgressMask"
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:42:20: warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
| |- warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertionProgress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'convertionProgress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:34:58: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
32 | public var loader:GLTFResourceLoader {
33 | get {
34 | var loader_ = objc_getAssociatedObject(self, &Keys.resource_loader) as? GLTFResourceLoader
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
35 | if loader_ != nil {
36 | return loader_!
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:42:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
40 | return loader_!
41 | }
42 | set { objc_setAssociatedObject(self, &Keys.resource_loader, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:154:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
152 |
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:155:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:164:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
162 |
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:165:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
166 | }
167 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:47:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
45 | /// Status will be true if `cancel` was call.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:48:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:52:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
50 |
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:53:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:58:52: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
56 | var convertionProgressMask:ConvertionProgressMask {
57 | get {
58 | var p = objc_getAssociatedObject(self, &Keys.convertionProgress)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:61:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
61 | objc_setAssociatedObject(self, &Keys.convertionProgress, p, .OBJC_ASSOCIATION_RETAIN)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
62 | }
63 | return p as! ConvertionProgressMask
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:65:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
63 | return p as! ConvertionProgressMask
64 | }
65 | set { objc_setAssociatedObject(self, &Keys.convertionProgress, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:69:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
67 |
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:70:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:74:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
72 |
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:75:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:80:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
78 | var nodesDispatchGroup:DispatchGroup {
79 | get {
80 | if let d = objc_getAssociatedObject(self, &Keys.nodesDispatchGroup) {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
81 | return d as! DispatchGroup
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:84:44: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
82 | }
83 | let group = DispatchGroup()
84 | objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, group, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:87:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
87 | set { objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:165:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 | DispatchQueue.main.async {
165 | self._nodesConverted()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
166 | }
167 | }
[38/42] Compiling glTFSceneKit GLTFAccessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:151:16: warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 | extension GLTFBuffer {
150 |
151 | static var data_associate_key = "data_associate_key"
| |- warning: static property 'data_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'data_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'data_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | public var data:Data? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:161:16: warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
159 | extension GLTFImage {
160 |
161 | static var image_associate_key = "image_associate_key"
| |- warning: static property 'image_associate_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'image_associate_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'image_associate_key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | public var image:OSImage? {
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:37:20: warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
| |- warning: static property 'resource_loader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resource_loader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resource_loader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:89:31: warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code; this is an error in the Swift 6 language mode
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:35:20: warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
| |- warning: static property 'cache_nodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache_nodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cache_nodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:36:20: warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | struct Keys {
35 | static var cache_nodes = "cache_nodes"
36 | static var animation_duration = "animation_duration"
| |- warning: static property 'animation_duration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation_duration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'animation_duration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:38:20: warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var animation_duration = "animation_duration"
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
| |- warning: static property 'load_canceled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'load_canceled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'load_canceled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:39:20: warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var resource_loader = "resource_loader"
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
| |- warning: static property 'completion_handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion_handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion_handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:40:20: warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var load_canceled = "load_canceled"
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
| |- warning: static property 'scnview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'scnview' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:41:20: warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var completion_handler = "completion_handler"
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
| |- warning: static property 'nodesDispatchGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nodesDispatchGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nodesDispatchGroup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var convertionProgress = "convertionProgressMask"
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:42:20: warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var scnview = "scnview"
41 | static var nodesDispatchGroup = "nodesDispatchGroup"
42 | static var convertionProgress = "convertionProgressMask"
| |- warning: static property 'convertionProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertionProgress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'convertionProgress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/TextureStorageManager.swift:53:16: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class TextureStorageManager {
| `- note: class 'TextureStorageManager' does not conform to the 'Sendable' protocol
52 |
53 | static let manager = TextureStorageManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TextureStorageManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | private var worker = DispatchQueue(label: "textures_loader")
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:34:58: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
32 | public var loader:GLTFResourceLoader {
33 | get {
34 | var loader_ = objc_getAssociatedObject(self, &Keys.resource_loader) as? GLTFResourceLoader
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
35 | if loader_ != nil {
36 | return loader_!
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:42:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
40 | return loader_!
41 | }
42 | set { objc_setAssociatedObject(self, &Keys.resource_loader, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:154:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
152 |
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:155:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
153 | public var data:Data? {
154 | get { return objc_getAssociatedObject(self, &GLTFBuffer.data_associate_key) as? Data }
155 | set { objc_setAssociatedObject(self, &GLTFBuffer.data_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:164:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
162 |
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+Resources.swift:165:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
163 | public var image:OSImage? {
164 | get { return objc_getAssociatedObject(self, &GLTFImage.image_associate_key) as? OSImage }
165 | set { objc_setAssociatedObject(self, &GLTFImage.image_associate_key, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
166 | }
167 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:47:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
45 | /// Status will be true if `cancel` was call.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:48:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | @objc open private(set) var isCancelled:Bool {
47 | get { return (objc_getAssociatedObject(self, &Keys.load_canceled) as? Bool) ?? false }
48 | set { objc_setAssociatedObject(self, &Keys.load_canceled, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:52:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
50 |
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:53:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
51 | var cache_nodes:[SCNNode?]? {
52 | get { return objc_getAssociatedObject(self, &Keys.cache_nodes) as? [SCNNode?] }
53 | set { objc_setAssociatedObject(self, &Keys.cache_nodes, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:58:52: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
56 | var convertionProgressMask:ConvertionProgressMask {
57 | get {
58 | var p = objc_getAssociatedObject(self, &Keys.convertionProgress)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:61:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
59 | if p == nil {
60 | p = ConvertionProgressMask.init(rawValue: 0)
61 | objc_setAssociatedObject(self, &Keys.convertionProgress, p, .OBJC_ASSOCIATION_RETAIN)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
62 | }
63 | return p as! ConvertionProgressMask
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:65:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
63 | return p as! ConvertionProgressMask
64 | }
65 | set { objc_setAssociatedObject(self, &Keys.convertionProgress, newValue, .OBJC_ASSOCIATION_RETAIN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:69:53: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
67 |
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:70:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
68 | var renderer:SCNSceneRenderer? {
69 | get { return objc_getAssociatedObject(self, &Keys.scnview) as? SCNSceneRenderer }
70 | set { objc_setAssociatedObject(self, &Keys.scnview, newValue, .OBJC_ASSOCIATION_ASSIGN) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:74:54: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
72 |
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:75:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
73 | var _completionHandler:((Error?) -> Void) {
74 | get { return (objc_getAssociatedObject(self, &Keys.completion_handler) as? ((Error?) -> Void) ?? {_ in }) }
75 | set { objc_setAssociatedObject(self, &Keys.completion_handler, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:80:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
78 | var nodesDispatchGroup:DispatchGroup {
79 | get {
80 | if let d = objc_getAssociatedObject(self, &Keys.nodesDispatchGroup) {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
81 | return d as! DispatchGroup
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:84:44: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
82 | }
83 | let group = DispatchGroup()
84 | objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, group, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:87:46: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
85 | return group
86 | }
87 | set { objc_setAssociatedObject(self, &Keys.nodesDispatchGroup, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/glTFSceneKit/GLTF+SceneKit.swift:165:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 | DispatchQueue.main.async {
165 | self._nodesConverted()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
166 | }
167 | }
[39/42] Compiling glTFSceneKit GLTFAnimationChannel.swift
[40/42] Compiling glTFSceneKit GLTFAnimationChannelTarget.swift
[41/42] Compiling glTFSceneKit GLTFAnimationSampler.swift
[42/42] Compiling glTFSceneKit GLTFAsset.swift
warning: 'dracoswiftpackage': ignoring declared target(s) 'Draco' in the system package
warning: 'spi-builder-workspace': dependency 'dracoswiftpackage' is not used by any target
BUILD FAILURE 6.0 macosSpm