Build Information
Successful build of VectorMath, reference master (2de258
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:23:45 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/VectorMath.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicklockwood/VectorMath
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2de2585 Updated for 0.4.1 release
Cloned https://github.com/nicklockwood/VectorMath.git
Revision (git rev-parse @):
2de2585f455dc8e15d642ca51b29b1917e68fd1e
SUCCESS checkout https://github.com/nicklockwood/VectorMath.git at master
========================================
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": "vectormath",
"name": "VectorMath",
"url": "https://github.com/nicklockwood/VectorMath.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VectorMath",
"dependencies": [
]
}
]
}
Fetching https://github.com/nicklockwood/VectorMath.git
[1/294] Fetching vectormath
Fetched https://github.com/nicklockwood/VectorMath.git from cache (0.74s)
Creating working copy for https://github.com/nicklockwood/VectorMath.git
Working copy of https://github.com/nicklockwood/VectorMath.git resolved at master (2de2585)
warning: '.resolve-product-dependencies': dependency 'vectormath' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nicklockwood/VectorMath.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling VectorMath VectorMath+Quartz.swift
[4/7] Compiling VectorMath VectorMath.swift
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:118:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
116 |
117 | public extension Vector2 {
118 | static let zero = Vector2(0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | static let x = Vector2(1, 0)
120 | static let y = Vector2(0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:119:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
117 | public extension Vector2 {
118 | static let zero = Vector2(0, 0)
119 | static let x = Vector2(1, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | static let y = Vector2(0, 1)
121 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:120:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
118 | static let zero = Vector2(0, 0)
119 | static let x = Vector2(1, 0)
120 | static let y = Vector2(0, 1)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:233:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
231 |
232 | public extension Vector3 {
233 | static let zero = Vector3(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:234:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
232 | public extension Vector3 {
233 | static let zero = Vector3(0, 0, 0)
234 | static let x = Vector3(1, 0, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | static let y = Vector3(0, 1, 0)
236 | static let z = Vector3(0, 0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:235:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
233 | static let zero = Vector3(0, 0, 0)
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | static let z = Vector3(0, 0, 1)
237 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:236:16: warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
236 | static let z = Vector3(0, 0, 1)
| |- warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'z' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:372:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
370 |
371 | public extension Vector4 {
372 | static let zero = Vector4(0, 0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:373:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
371 | public extension Vector4 {
372 | static let zero = Vector4(0, 0, 0, 0)
373 | static let x = Vector4(1, 0, 0, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:374:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
372 | static let zero = Vector4(0, 0, 0, 0)
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
375 | static let z = Vector4(0, 0, 1, 0)
376 | static let w = Vector4(0, 0, 0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:375:16: warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
| |- warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'z' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | static let w = Vector4(0, 0, 0, 1)
377 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:376:16: warning: static property 'w' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
376 | static let w = Vector4(0, 0, 0, 1)
| |- warning: static property 'w' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'w' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 |
378 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:517:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix3' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Matrix3: Hashable {
| `- note: consider making struct 'Matrix3' conform to the 'Sendable' protocol
59 | public var m11: Scalar
60 | public var m12: Scalar
:
515 |
516 | public extension Matrix3 {
517 | static let identity = Matrix3(1, 0, 0, 0, 1, 0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
518 |
519 | init(_ m11: Scalar, _ m12: Scalar, _ m13: Scalar,
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:660:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4' may have shared mutable state; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public struct Matrix4: Hashable {
| `- note: consider making struct 'Matrix4' conform to the 'Sendable' protocol
71 | public var m11: Scalar
72 | public var m12: Scalar
:
658 |
659 | public extension Matrix4 {
660 | static let identity = Matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 | init(_ m11: Scalar, _ m12: Scalar, _ m13: Scalar, _ m14: Scalar,
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:970:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Quaternion: Hashable {
| `- note: consider making struct 'Quaternion' conform to the 'Sendable' protocol
90 | public var x: Scalar
91 | public var y: Scalar
:
968 |
969 | public extension Quaternion {
970 | static let zero = Quaternion(0, 0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
971 | static let identity = Quaternion(0, 0, 0, 1)
972 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:971:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Quaternion: Hashable {
| `- note: consider making struct 'Quaternion' conform to the 'Sendable' protocol
90 | public var x: Scalar
91 | public var y: Scalar
:
969 | public extension Quaternion {
970 | static let zero = Quaternion(0, 0, 0, 0)
971 | static let identity = Quaternion(0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
972 |
973 | var lengthSquared: Scalar {
[5/7] Compiling VectorMath VectorMath+MapKit.swift
[6/7] Compiling VectorMath VectorMath+SceneKit.swift
[7/7] Emitting module VectorMath
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:118:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
116 |
117 | public extension Vector2 {
118 | static let zero = Vector2(0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | static let x = Vector2(1, 0)
120 | static let y = Vector2(0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:119:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
117 | public extension Vector2 {
118 | static let zero = Vector2(0, 0)
119 | static let x = Vector2(1, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | static let y = Vector2(0, 1)
121 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:120:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public typealias Scalar = Float
39 |
40 | public struct Vector2: Hashable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
41 | public var x: Scalar
42 | public var y: Scalar
:
118 | static let zero = Vector2(0, 0)
119 | static let x = Vector2(1, 0)
120 | static let y = Vector2(0, 1)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:233:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
231 |
232 | public extension Vector3 {
233 | static let zero = Vector3(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:234:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
232 | public extension Vector3 {
233 | static let zero = Vector3(0, 0, 0)
234 | static let x = Vector3(1, 0, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | static let y = Vector3(0, 1, 0)
236 | static let z = Vector3(0, 0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:235:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
233 | static let zero = Vector3(0, 0, 0)
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | static let z = Vector3(0, 0, 1)
237 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:236:16: warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public struct Vector3: Hashable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
46 | public var x: Scalar
47 | public var y: Scalar
:
234 | static let x = Vector3(1, 0, 0)
235 | static let y = Vector3(0, 1, 0)
236 | static let z = Vector3(0, 0, 1)
| |- warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'z' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:372:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
370 |
371 | public extension Vector4 {
372 | static let zero = Vector4(0, 0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:373:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
371 | public extension Vector4 {
372 | static let zero = Vector4(0, 0, 0, 0)
373 | static let x = Vector4(1, 0, 0, 0)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:374:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
372 | static let zero = Vector4(0, 0, 0, 0)
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
375 | static let z = Vector4(0, 0, 1, 0)
376 | static let w = Vector4(0, 0, 0, 1)
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:375:16: warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
373 | static let x = Vector4(1, 0, 0, 0)
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
| |- warning: static property 'z' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'z' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | static let w = Vector4(0, 0, 0, 1)
377 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:376:16: warning: static property 'w' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct Vector4: Hashable {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
52 | public var x: Scalar
53 | public var y: Scalar
:
374 | static let y = Vector4(0, 1, 0, 0)
375 | static let z = Vector4(0, 0, 1, 0)
376 | static let w = Vector4(0, 0, 0, 1)
| |- warning: static property 'w' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'w' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 |
378 | var lengthSquared: Scalar {
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:517:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix3' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Matrix3: Hashable {
| `- note: consider making struct 'Matrix3' conform to the 'Sendable' protocol
59 | public var m11: Scalar
60 | public var m12: Scalar
:
515 |
516 | public extension Matrix3 {
517 | static let identity = Matrix3(1, 0, 0, 0, 1, 0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
518 |
519 | init(_ m11: Scalar, _ m12: Scalar, _ m13: Scalar,
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:660:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4' may have shared mutable state; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public struct Matrix4: Hashable {
| `- note: consider making struct 'Matrix4' conform to the 'Sendable' protocol
71 | public var m11: Scalar
72 | public var m12: Scalar
:
658 |
659 | public extension Matrix4 {
660 | static let identity = Matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 | init(_ m11: Scalar, _ m12: Scalar, _ m13: Scalar, _ m14: Scalar,
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:970:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Quaternion: Hashable {
| `- note: consider making struct 'Quaternion' conform to the 'Sendable' protocol
90 | public var x: Scalar
91 | public var y: Scalar
:
968 |
969 | public extension Quaternion {
970 | static let zero = Quaternion(0, 0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
971 | static let identity = Quaternion(0, 0, 0, 1)
972 |
/Users/admin/builder/spi-builder-workspace/VectorMath/VectorMath.swift:971:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Quaternion: Hashable {
| `- note: consider making struct 'Quaternion' conform to the 'Sendable' protocol
90 | public var x: Scalar
91 | public var y: Scalar
:
969 | public extension Quaternion {
970 | static let zero = Quaternion(0, 0, 0, 0)
971 | static let identity = Quaternion(0, 0, 0, 1)
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Quaternion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
972 |
973 | var lengthSquared: Scalar {
Build complete! (10.04s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "VectorMath",
"name" : "VectorMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "VectorMath",
"targets" : [
"VectorMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VectorMathTests",
"module_type" : "SwiftTarget",
"name" : "VectorMathTests",
"path" : "Tests/VectorMathTests",
"sources" : [
"QuartzTests.swift",
"VectorMathTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"VectorMath"
],
"type" : "test"
},
{
"c99name" : "VectorMath",
"module_type" : "SwiftTarget",
"name" : "VectorMath",
"path" : "VectorMath",
"product_memberships" : [
"VectorMath"
],
"sources" : [
"VectorMath+MapKit.swift",
"VectorMath+Quartz.swift",
"VectorMath+SceneKit.swift",
"VectorMath.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.