Build Information
Successful build of Model3DView, reference main (de7995
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 01:43:47 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frzi/swiftui-model3dview.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frzi/swiftui-model3dview
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at de79951 Update Math.swift
Cloned https://github.com/frzi/swiftui-model3dview.git
Revision (git rev-parse @):
de79951f2ee1ad888a7c61fcce57e13e5a6581f2
SUCCESS checkout https://github.com/frzi/swiftui-model3dview.git at main
Fetching https://github.com/timdonnelly/DisplayLink
Fetching https://github.com/frzi/GLTFSceneKit
[1/39] Fetching displaylink
[40/1127] Fetching displaylink, gltfscenekit
Fetched https://github.com/timdonnelly/DisplayLink from cache (1.10s)
Fetched https://github.com/frzi/GLTFSceneKit from cache (1.10s)
Computing version for https://github.com/timdonnelly/DisplayLink
Computed https://github.com/timdonnelly/DisplayLink at 0.2.0 (1.68s)
Computing version for https://github.com/frzi/GLTFSceneKit
Computed https://github.com/frzi/GLTFSceneKit at 0.3.1 (0.55s)
Creating working copy for https://github.com/timdonnelly/DisplayLink
Working copy of https://github.com/timdonnelly/DisplayLink resolved at 0.2.0
Creating working copy for https://github.com/frzi/GLTFSceneKit
Working copy of https://github.com/frzi/GLTFSceneKit resolved at 0.3.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftui-model3dview",
"name": "Model3DView",
"url": "https://github.com/frzi/swiftui-model3dview.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-model3dview",
"dependencies": [
{
"identity": "gltfscenekit",
"name": "GLTFSceneKit",
"url": "https://github.com/frzi/GLTFSceneKit",
"version": "0.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GLTFSceneKit",
"dependencies": [
]
},
{
"identity": "displaylink",
"name": "DisplayLink",
"url": "https://github.com/timdonnelly/DisplayLink",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DisplayLink",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/frzi/swiftui-model3dview.git
[1/540] Fetching swiftui-model3dview
Fetched https://github.com/frzi/swiftui-model3dview.git from cache (1.10s)
Fetching https://github.com/timdonnelly/DisplayLink from cache
Fetching https://github.com/frzi/GLTFSceneKit from cache
Fetched https://github.com/frzi/GLTFSceneKit from cache (0.44s)
Fetched https://github.com/timdonnelly/DisplayLink from cache (0.44s)
Computing version for https://github.com/timdonnelly/DisplayLink
Computed https://github.com/timdonnelly/DisplayLink at 0.2.0 (0.50s)
Computing version for https://github.com/frzi/GLTFSceneKit
Computed https://github.com/frzi/GLTFSceneKit at 0.4.1 (0.53s)
Creating working copy for https://github.com/timdonnelly/DisplayLink
Working copy of https://github.com/timdonnelly/DisplayLink resolved at 0.2.0
Creating working copy for https://github.com/frzi/swiftui-model3dview.git
Working copy of https://github.com/frzi/swiftui-model3dview.git resolved at main (de79951)
Creating working copy for https://github.com/frzi/GLTFSceneKit
Working copy of https://github.com/frzi/GLTFSceneKit resolved at 0.4.1
warning: '.resolve-product-dependencies': dependency 'swiftui-model3dview' is not used by any target
Found 2 product dependencies
- GLTFSceneKit
- DisplayLink
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/frzi/swiftui-model3dview.git
https://github.com/frzi/swiftui-model3dview.git
{
"dependencies" : [
{
"identity" : "gltfscenekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/frzi/GLTFSceneKit"
},
{
"identity" : "displaylink",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/timdonnelly/DisplayLink"
}
],
"manifest_display_name" : "Model3DView",
"name" : "Model3DView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Model3DView",
"targets" : [
"Model3DView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Model3DViewTests",
"module_type" : "SwiftTarget",
"name" : "Model3DViewTests",
"path" : "Tests/Model3DViewTests",
"sources" : [
"Model3DViewTests.swift"
],
"target_dependencies" : [
"Model3DView"
],
"type" : "test"
},
{
"c99name" : "Model3DView",
"module_type" : "SwiftTarget",
"name" : "Model3DView",
"path" : "Sources/Model3DView",
"product_dependencies" : [
"GLTFSceneKit",
"DisplayLink"
],
"product_memberships" : [
"Model3DView"
],
"sources" : [
"Camera/CameraControls.swift",
"Camera/Cameras.swift",
"EnvironmentValues.swift",
"Model3DView.swift",
"Transform3D.swift",
"Types.swift",
"Utils/Euler.swift",
"Utils/Math.swift",
"Utils/ResourcesCache.swift",
"View+Modifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[1/11] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_doubleSidedWorkaround.shader
[2/11] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness_texture_doubleSidedWorkaround.shader
[2/11] Write sources
[4/11] Copying GLTFShaderModifierSurface.shader
[4/11] Write sources
[4/11] Copying GLTFShaderModifierFragment_alphaCutoff.shader
[7/11] Copying GLTFShaderModifierSurface_doubleSidedWorkaround.shader
[7/11] Copying GLTFShaderModifierSurface_pbrSpecularGlossiness.shader
[7/11] Copying GLTFShaderModifierSurface_alphaModeBlend.shader
[10/11] Write swift-version-2F0A5646E1D333AE.txt
[12/55] Emitting module GLTFSceneKit
[13/59] Compiling GLTFSceneKit GLTFAnimationChannel.swift
[14/59] Compiling GLTFSceneKit GLTFAnimationChannelTarget.swift
[15/59] Compiling GLTFSceneKit GLTFAnimationSampler.swift
[16/59] Compiling GLTFSceneKit GLTFAsset.swift
[17/59] Compiling GLTFSceneKit GLTFBuffer.swift
[18/59] Compiling GLTFSceneKit GLTFSkin.swift
[19/59] Compiling GLTFSceneKit GLTFTexture.swift
[20/59] Compiling GLTFSceneKit GLTFTextureInfo.swift
[21/59] Compiling GLTFSceneKit ExtensionList.swift
[22/59] Compiling GLTFSceneKit GLTFMaterialNormalTextureInfo.swift
[23/59] Compiling GLTFSceneKit GLTFMaterialOcclusionTextureInfo.swift
[24/59] Compiling GLTFSceneKit GLTFMaterialPbrMetallicRoughness.swift
[25/59] Compiling GLTFSceneKit GLTFMesh.swift
[26/59] Compiling GLTFSceneKit GLTFExtras.swift
[27/59] Compiling GLTFSceneKit GLTFExtrasTargetNames.swift
[28/59] Compiling GLTFSceneKit GLTFGlTF.swift
[29/59] Compiling GLTFSceneKit GLTFGlTFChildOfRootProperty.swift
[30/59] Compiling GLTFSceneKit GLTFBufferView.swift
[31/59] Compiling GLTFSceneKit GLTFCamera.swift
[32/59] Compiling GLTFSceneKit GLTFCameraOrthographic.swift
[33/59] Compiling GLTFSceneKit GLTFCameraPerspective.swift
[34/59] Compiling GLTFSceneKit GLTFExtension.swift
[35/59] Compiling GLTFSceneKit GLTFGlTFProperty.swift
[36/59] Compiling GLTFSceneKit GLTFGlTFid.swift
[37/59] Compiling GLTFSceneKit GLTFImage.swift
[38/59] Compiling GLTFSceneKit GLTFMaterial.swift
[39/59] Compiling GLTFSceneKit GLTFAccessor.swift
[40/59] Compiling GLTFSceneKit GLTFAccessorSparse.swift
[41/59] Compiling GLTFSceneKit GLTFAccessorSparseIndices.swift
[42/59] Compiling GLTFSceneKit GLTFAccessorSparseValues.swift
[43/59] Compiling GLTFSceneKit GLTFAnimation.swift
[44/59] Compiling GLTFSceneKit GLTFMeshPrimitive.swift
[45/59] Compiling GLTFSceneKit GLTFNode.swift
[46/59] Compiling GLTFSceneKit GLTFSampler.swift
[47/59] Compiling GLTFSceneKit GLTFScene.swift
[48/59] Compiling GLTFSceneKit GLTFKHRMaterialsCommon_GLTFKHRMaterialsCommon.swift
[49/59] Compiling GLTFSceneKit GLTFKHRMaterialsPbrSpecularGlossiness_GLTFKHRMaterialsPbrSpecularGlossiness.swift
[50/59] Compiling GLTFSceneKit GLTFKHRMaterialsUnlit.swift
[51/59] Compiling GLTFSceneKit resource_bundle_accessor.swift
[52/59] Compiling GLTFSceneKit GLTFErrors.swift
[53/59] Compiling GLTFSceneKit GLTFFunctions.swift
[54/59] Compiling GLTFSceneKit GLTFSceneSource.swift
[55/59] Compiling GLTFSceneKit GLTFTypes.swift
[56/59] Compiling GLTFSceneKit GLTFUnarchiver.swift
[57/59] Compiling DisplayLink DisplayLink.swift
[58/59] Emitting module DisplayLink
[59/59] Compiling DisplayLink OnFrame.swift
[60/69] Compiling Model3DView Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:45:1: warning: extension declares a conformance of imported type 'simd_quatf' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
43 | }
44 |
45 | extension Quaternion: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'simd_quatf' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 | public init(arrayLiteral elements: Float...) {
47 | precondition(elements.count == 4)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:133:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
131 |
132 | // MARK: - Vector2 utilities
133 | extension Vector2: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
134 | public init(floatLiteral value: Float) {
135 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:144:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
142 |
143 | // MARK: - Vector3 utilities
144 | extension Vector3: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
145 | public init(floatLiteral value: Float) {
146 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:155:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
153 |
154 | // MARK: - Vector4 utilities
155 | extension Vector4: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
156 | public init(floatLiteral value: Float) {
157 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:166:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
164 |
165 | // MARK: - Additive / vector arithemtic
166 | extension SIMD2: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
167 |
168 | extension Vector2: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:168:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | extension SIMD2: AdditiveArithmetic where Scalar: FloatingPoint {}
167 |
168 | extension Vector2: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public mutating func scale(by rhs: Double) {
170 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:178:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
176 | }
177 |
178 | extension SIMD3: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
179 |
180 | extension Vector3: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:180:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | extension SIMD3: AdditiveArithmetic where Scalar: FloatingPoint {}
179 |
180 | extension Vector3: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public mutating func scale(by rhs: Double) {
182 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:190:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
188 | }
189 |
190 | extension SIMD4: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
191 |
192 | extension Vector4: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:192:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
190 | extension SIMD4: AdditiveArithmetic where Scalar: FloatingPoint {}
191 |
192 | extension Vector4: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
193 | public mutating func scale(by rhs: Double) {
194 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:202:1: warning: extension declares a conformance of imported type 'simd_quatf' to imported protocols 'VectorArithmetic', 'AdditiveArithmetic'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
200 | }
201 |
202 | extension Quaternion: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'simd_quatf' to imported protocols 'VectorArithmetic', 'AdditiveArithmetic'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
203 | public mutating func scale(by rhs: Double) {
204 | self *= Float(rhs)
[61/70] Compiling Model3DView ResourcesCache.swift
[62/70] Compiling Model3DView Types.swift
[63/70] Compiling Model3DView Cameras.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Camera/Cameras.swift:42:6: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
40 | var camera: C
41 |
42 | var animatableData: AnimatablePair<Vector3, Euler> {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
43 | get {
44 | .init(camera.position, camera.rotation)
[64/70] Compiling Model3DView EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:10:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // MARK: - Environment keys.
9 | struct CameraEnvironmentKey: EnvironmentKey {
10 | static var defaultValue: Camera = PerspectiveCamera()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IBLEnvironmentKey: EnvironmentKey {
14 | static var defaultValue: IBLValues?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:18:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct SkyboxEnvironmentKey: EnvironmentKey {
18 | static var defaultValue: URL?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:22:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | struct Transform3DEnvironmentKey: EnvironmentKey {
22 | static var defaultValue = Transform3DProperties()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[65/70] Compiling Model3DView Transform3D.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Transform3D.swift:27:6: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
25 | var properties: Transform3DProperties
26 |
27 | var animatableData: AnimatablePair<Euler, AnimatablePair<Vector3, Vector3>> {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
28 | get {
29 | .init(properties.rotation, .init(properties.scale, properties.translation))
[66/70] Compiling Model3DView Model3DView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:124:21: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
121 |
122 | // MARK: - Equatable
123 | extension Model3DView: Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
124 | public static func == (lhs: Model3DView, rhs: Model3DView) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
125 | lhs.sceneFile == rhs.sceneFile
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:164:22: warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'ResourcesCache<URL, PlatformImage>' (aka 'ResourcesCache<URL, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | // Keeping track of already loaded resources.
164 | private static let imageCache = ResourcesCache<URL, PlatformImage>()
| |- warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'ResourcesCache<URL, PlatformImage>' (aka 'ResourcesCache<URL, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'imageCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | private static let sceneCache = AsyncResourcesCache<URL, SCNScene>()
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/ResourcesCache.swift:13:13: note: generic class 'ResourcesCache' does not conform to the 'Sendable' protocol
11 | ///
12 | /// Resources are loaded via a given action and kept in memory as long as there's at least one reference.
13 | final class ResourcesCache<K: Hashable, T: AnyObject> {
| `- note: generic class 'ResourcesCache' does not conform to the 'Sendable' protocol
14 | private var table: [K : WeakValue] = [:]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:165:22: warning: static property 'sceneCache' is not concurrency-safe because non-'Sendable' type 'AsyncResourcesCache<URL, SCNScene>' may have shared mutable state; this is an error in the Swift 6 language mode
163 | // Keeping track of already loaded resources.
164 | private static let imageCache = ResourcesCache<URL, PlatformImage>()
165 | private static let sceneCache = AsyncResourcesCache<URL, SCNScene>()
| |- warning: static property 'sceneCache' is not concurrency-safe because non-'Sendable' type 'AsyncResourcesCache<URL, SCNScene>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/ResourcesCache.swift:44:13: note: generic class 'AsyncResourcesCache' does not conform to the 'Sendable' protocol
42 | ///
43 | /// Resources are loaded asynchronously and kept in memory as long as there's at least one reference.
44 | final class AsyncResourcesCache<K: Hashable, T: AnyObject> {
| `- note: generic class 'AsyncResourcesCache' does not conform to the 'Sendable' protocol
45 | private var table: [K : WeakFutureValue] = [:]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:212:9: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |
209 | // MARK: - Setting scene properties.
210 | fileprivate func setView(_ sceneView: SCNView) {
| `- note: add '@MainActor' to make instance method 'setView' part of global actor 'MainActor'
211 | view = sceneView
212 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
213 | view.pointOfView = cameraNode
214 | view.scene = scene
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNSceneRenderer.h:101:68: note: mutation of this property is only permitted within the actor
99 | @abstract Specifies the renderer delegate.
100 | */
101 | @property(nonatomic, weak, nullable) id <SCNSceneRendererDelegate> delegate;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:213:9: warning: main actor-isolated property 'pointOfView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |
209 | // MARK: - Setting scene properties.
210 | fileprivate func setView(_ sceneView: SCNView) {
| `- note: add '@MainActor' to make instance method 'setView' part of global actor 'MainActor'
211 | view = sceneView
212 | view.delegate = self
213 | view.pointOfView = cameraNode
| `- warning: main actor-isolated property 'pointOfView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
214 | view.scene = scene
215 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNSceneRenderer.h:162:49: note: mutation of this property is only permitted within the actor
160 | @discussion A point of view must have either a camera or a spot light attached.
161 | */
162 | @property(nonatomic, retain, nullable) SCNNode *pointOfView;
| `- note: mutation of this property is only permitted within the actor
163 |
164 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:214:9: warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |
209 | // MARK: - Setting scene properties.
210 | fileprivate func setView(_ sceneView: SCNView) {
| `- note: add '@MainActor' to make instance method 'setView' part of global actor 'MainActor'
211 | view = sceneView
212 | view.delegate = self
213 | view.pointOfView = cameraNode
214 | view.scene = scene
| `- warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
215 | }
216 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:72:50: note: mutation of this property is only permitted within the actor
70 | @abstract Specifies the scene of the receiver
71 | */
72 | @property(nonatomic, retain, nullable) SCNScene *scene;
| `- note: mutation of this property is only permitted within the actor
73 |
74 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:368:59: warning: main actor-isolated property 'currentViewport' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
361 | */
362 | extension Model3DView.SceneCoordinator: SCNSceneRendererDelegate {
363 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval) {
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
364 | // Update the content node.
365 | contentNode.simdTransform = Matrix4x4(scale: Vector3(repeating: contentScale)) * transform
366 |
367 | // Update the camera.
368 | let projection = camera.projectionMatrix(viewport: view.currentViewport.size)
| `- warning: main actor-isolated property 'currentViewport' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
369 | cameraNode.camera?.projectionTransform = SCNMatrix4(projection)
370 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNSceneRenderer.h:315:39: note: property declared here
313 | @abstract Returns the current viewport for this renderer, can be used to get the actual viewport from within the delegate callback during a live resize.
314 | */
315 | @property(nonatomic, readonly) CGRect currentViewport API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
| `- note: property declared here
316 |
317 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:414:15: warning: call to main actor-isolated initializer 'init(named:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | // MARK: - Initializers
31 | /// Load a 3D asset from the app's bundle.
32 | public init(named: String) {
| |- note: calls to initializer 'init(named:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'NSViewRepresentable'
33 | sceneFile = .url(Bundle.main.url(forResource: named, withExtension: nil))
34 | }
:
412 | @LibraryContentBuilder
413 | var views: [LibraryItem] {
414 | LibraryItem(Model3DView(named: "model.gltf"), visible: true, title: "Model3D View")
| `- warning: call to main actor-isolated initializer 'init(named:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 | }
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:251:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
249 | if case .failure(_) = completion {
250 | Task { @MainActor in
251 | for onLoad in self.onLoadHandlers {
| |- 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
252 | onLoad(.failure)
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:304:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
302 |
303 | Task { @MainActor in
304 | for onLoad in self.onLoadHandlers {
| |- 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
305 | onLoad(.success)
306 | }
[67/70] Compiling Model3DView Euler.swift
[68/70] Compiling Model3DView View+Modifiers.swift
[69/70] Emitting module Model3DView
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Camera/Cameras.swift:42:6: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
40 | var camera: C
41 |
42 | var animatableData: AnimatablePair<Vector3, Euler> {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
43 | get {
44 | .init(camera.position, camera.rotation)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:10:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // MARK: - Environment keys.
9 | struct CameraEnvironmentKey: EnvironmentKey {
10 | static var defaultValue: Camera = PerspectiveCamera()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IBLEnvironmentKey: EnvironmentKey {
14 | static var defaultValue: IBLValues?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:18:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct SkyboxEnvironmentKey: EnvironmentKey {
18 | static var defaultValue: URL?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/EnvironmentValues.swift:22:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | struct Transform3DEnvironmentKey: EnvironmentKey {
22 | static var defaultValue = Transform3DProperties()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:124:21: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
121 |
122 | // MARK: - Equatable
123 | extension Model3DView: Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
124 | public static func == (lhs: Model3DView, rhs: Model3DView) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
125 | lhs.sceneFile == rhs.sceneFile
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:164:22: warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'ResourcesCache<URL, PlatformImage>' (aka 'ResourcesCache<URL, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | // Keeping track of already loaded resources.
164 | private static let imageCache = ResourcesCache<URL, PlatformImage>()
| |- warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'ResourcesCache<URL, PlatformImage>' (aka 'ResourcesCache<URL, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'imageCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | private static let sceneCache = AsyncResourcesCache<URL, SCNScene>()
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/ResourcesCache.swift:13:13: note: generic class 'ResourcesCache' does not conform to the 'Sendable' protocol
11 | ///
12 | /// Resources are loaded via a given action and kept in memory as long as there's at least one reference.
13 | final class ResourcesCache<K: Hashable, T: AnyObject> {
| `- note: generic class 'ResourcesCache' does not conform to the 'Sendable' protocol
14 | private var table: [K : WeakValue] = [:]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Model3DView.swift:165:22: warning: static property 'sceneCache' is not concurrency-safe because non-'Sendable' type 'AsyncResourcesCache<URL, SCNScene>' may have shared mutable state; this is an error in the Swift 6 language mode
163 | // Keeping track of already loaded resources.
164 | private static let imageCache = ResourcesCache<URL, PlatformImage>()
165 | private static let sceneCache = AsyncResourcesCache<URL, SCNScene>()
| |- warning: static property 'sceneCache' is not concurrency-safe because non-'Sendable' type 'AsyncResourcesCache<URL, SCNScene>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/ResourcesCache.swift:44:13: note: generic class 'AsyncResourcesCache' does not conform to the 'Sendable' protocol
42 | ///
43 | /// Resources are loaded asynchronously and kept in memory as long as there's at least one reference.
44 | final class AsyncResourcesCache<K: Hashable, T: AnyObject> {
| `- note: generic class 'AsyncResourcesCache' does not conform to the 'Sendable' protocol
45 | private var table: [K : WeakFutureValue] = [:]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Transform3D.swift:27:6: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
25 | var properties: Transform3DProperties
26 |
27 | var animatableData: AnimatablePair<Euler, AnimatablePair<Vector3, Vector3>> {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
28 | get {
29 | .init(properties.rotation, .init(properties.scale, properties.translation))
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:45:1: warning: extension declares a conformance of imported type 'simd_quatf' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
43 | }
44 |
45 | extension Quaternion: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'simd_quatf' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 | public init(arrayLiteral elements: Float...) {
47 | precondition(elements.count == 4)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:133:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
131 |
132 | // MARK: - Vector2 utilities
133 | extension Vector2: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
134 | public init(floatLiteral value: Float) {
135 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:144:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
142 |
143 | // MARK: - Vector3 utilities
144 | extension Vector3: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
145 | public init(floatLiteral value: Float) {
146 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:155:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
153 |
154 | // MARK: - Vector4 utilities
155 | extension Vector4: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
156 | public init(floatLiteral value: Float) {
157 | self.init(repeating: value)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:166:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
164 |
165 | // MARK: - Additive / vector arithemtic
166 | extension SIMD2: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
167 |
168 | extension Vector2: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:168:1: warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | extension SIMD2: AdditiveArithmetic where Scalar: FloatingPoint {}
167 |
168 | extension Vector2: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD2' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public mutating func scale(by rhs: Double) {
170 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:178:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
176 | }
177 |
178 | extension SIMD3: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
179 |
180 | extension Vector3: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:180:1: warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | extension SIMD3: AdditiveArithmetic where Scalar: FloatingPoint {}
179 |
180 | extension Vector3: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD3' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public mutating func scale(by rhs: Double) {
182 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:190:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
188 | }
189 |
190 | extension SIMD4: AdditiveArithmetic where Scalar: FloatingPoint {}
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
191 |
192 | extension Vector4: VectorArithmetic {
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:192:1: warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
190 | extension SIMD4: AdditiveArithmetic where Scalar: FloatingPoint {}
191 |
192 | extension Vector4: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'SIMD4' to imported protocol 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
193 | public mutating func scale(by rhs: Double) {
194 | self *= Float(rhs)
/Users/admin/builder/spi-builder-workspace/Sources/Model3DView/Utils/Math.swift:202:1: warning: extension declares a conformance of imported type 'simd_quatf' to imported protocols 'VectorArithmetic', 'AdditiveArithmetic'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
200 | }
201 |
202 | extension Quaternion: VectorArithmetic {
| |- warning: extension declares a conformance of imported type 'simd_quatf' to imported protocols 'VectorArithmetic', 'AdditiveArithmetic'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
203 | public mutating func scale(by rhs: Double) {
204 | self *= Float(rhs)
[70/70] Compiling Model3DView CameraControls.swift
Build complete! (16.05s)
Build complete.
{
"dependencies" : [
{
"identity" : "gltfscenekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/frzi/GLTFSceneKit"
},
{
"identity" : "displaylink",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/timdonnelly/DisplayLink"
}
],
"manifest_display_name" : "Model3DView",
"name" : "Model3DView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Model3DView",
"targets" : [
"Model3DView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Model3DViewTests",
"module_type" : "SwiftTarget",
"name" : "Model3DViewTests",
"path" : "Tests/Model3DViewTests",
"sources" : [
"Model3DViewTests.swift"
],
"target_dependencies" : [
"Model3DView"
],
"type" : "test"
},
{
"c99name" : "Model3DView",
"module_type" : "SwiftTarget",
"name" : "Model3DView",
"path" : "Sources/Model3DView",
"product_dependencies" : [
"GLTFSceneKit",
"DisplayLink"
],
"product_memberships" : [
"Model3DView"
],
"sources" : [
"Camera/CameraControls.swift",
"Camera/Cameras.swift",
"EnvironmentValues.swift",
"Model3DView.swift",
"Transform3D.swift",
"Types.swift",
"Utils/Euler.swift",
"Utils/Math.swift",
"Utils/ResourcesCache.swift",
"View+Modifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.