Build Information
Failed to build glTFSceneKit, reference 0.0.10 (434ccf
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 08:50:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
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
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
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
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
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
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
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: add '@MainActor' to make static property 'data_associate_key' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'image_associate_key' part of global actor 'MainActor'
| `- 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+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- 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
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code
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: add '@MainActor' to make static property 'cache_nodes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'animation_duration' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'resource_loader' part of global actor 'MainActor'
| `- 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+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: add '@MainActor' to make static property 'load_canceled' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'completion_handler' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'scnview' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'nodesDispatchGroup' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'convertionProgress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'data_associate_key' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'image_associate_key' part of global actor 'MainActor'
| `- 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+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- 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
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code
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: add '@MainActor' to make static property 'cache_nodes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'animation_duration' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'resource_loader' part of global actor 'MainActor'
| `- 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+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: add '@MainActor' to make static property 'load_canceled' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'completion_handler' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'scnview' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'nodesDispatchGroup' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'convertionProgress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'data_associate_key' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'image_associate_key' part of global actor 'MainActor'
| `- 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+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- 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
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code
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: add '@MainActor' to make static property 'cache_nodes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'animation_duration' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'resource_loader' part of global actor 'MainActor'
| `- 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+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: add '@MainActor' to make static property 'load_canceled' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'completion_handler' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'scnview' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'nodesDispatchGroup' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'convertionProgress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'data_associate_key' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'image_associate_key' part of global actor 'MainActor'
| `- 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+Resources.swift:89:13: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- 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
87 | }
88 | DispatchQueue.global().async {
89 | completionHandler(error_)
| `- warning: reference to captured var 'error_' in concurrently-executing code
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: add '@MainActor' to make static property 'cache_nodes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'animation_duration' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'resource_loader' part of global actor 'MainActor'
| `- 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+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: add '@MainActor' to make static property 'load_canceled' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'completion_handler' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'scnview' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'nodesDispatchGroup' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'convertionProgress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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 GLTFCameraPerspective.swift
[40/42] Compiling glTFSceneKit GLTFImage.swift
[41/42] Compiling glTFSceneKit GLTFKHRDracoMeshCompressionExtension.swift
[42/42] Compiling glTFSceneKit GLTFMaterial.swift
warning: 'dracoswiftpackage': ignoring declared target(s) 'Draco' in the system package
warning: 'spi-builder-workspace': dependency 'dracoswiftpackage' is not used by any target
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/38] Emitting module glTFSceneKit
/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)
/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 {
[3/41] Compiling glTFSceneKit GLTFBuffer.swift
[4/41] Compiling glTFSceneKit GLTFBufferView.swift
[5/41] Compiling glTFSceneKit GLTFCamera.swift
[6/41] Compiling glTFSceneKit GLTFCameraOrthographic.swift
[7/41] Compiling glTFSceneKit GLTFAnimationChannel.swift
[8/41] Compiling glTFSceneKit GLTFAnimationChannelTarget.swift
[9/41] Compiling glTFSceneKit GLTFAnimationSampler.swift
[10/41] Compiling glTFSceneKit GLTFAsset.swift
[11/41] Compiling glTFSceneKit GLTFMaterialNormalTextureInfo.swift
[12/41] Compiling glTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[13/41] Compiling glTFSceneKit GLTFMaterialPBRMetallicRoughness.swift
[14/41] Compiling glTFSceneKit GLTFMesh.swift
[15/41] Compiling glTFSceneKit GLTFCameraPerspective.swift
[16/41] Compiling glTFSceneKit GLTFImage.swift
[17/41] Compiling glTFSceneKit GLTFKHRDracoMeshCompressionExtension.swift
[18/41] Compiling glTFSceneKit GLTFMaterial.swift
[19/41] 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)
[20/41] 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)
[21/41] 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)
[22/41] 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)
[23/41] Compiling glTFSceneKit GLTFAccessorSparse.swift
[24/41] Compiling glTFSceneKit GLTFAccessorSparseIndices.swift
[25/41] Compiling glTFSceneKit GLTFAccessorSparseValues.swift
[26/41] Compiling glTFSceneKit GLTFAnimation.swift
[27/41] Compiling glTFSceneKit GLTF+Animation.swift
/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;
[28/41] Compiling glTFSceneKit GLTF+CompressedTexture.swift
/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/41] Compiling glTFSceneKit GLTF+Draco.swift
/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/41] Compiling glTFSceneKit GLTF+Material.swift
/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/41] 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 {
[32/41] 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 {
[33/41] 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 {
[34/41] Compiling glTFSceneKit GLTFMeshPrimitive.swift
[35/41] Compiling glTFSceneKit GLTFNode.swift
[36/41] Compiling glTFSceneKit GLTFSampler.swift
[37/41] Compiling glTFSceneKit GLTFScene.swift
[38/41] Compiling glTFSceneKit GLTF+Resources.swift
/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 |
[39/41] Compiling glTFSceneKit GLTF+SceneKit.swift
/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 |
[40/41] Compiling glTFSceneKit GLTF.swift
/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 |
[41/41] Compiling glTFSceneKit GLTFAccessor.swift
/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 |
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.1 macosSpm