Build Information
Successful build of VectorMath, reference 0.4.1 (2de258
), with Swift 6.0 for Linux on 30 Oct 2024 20:14:49 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/VectorMath.git
Reference: 0.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nicklockwood/VectorMath
* tag 0.4.1 -> FETCH_HEAD
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 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nicklockwood/VectorMath.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling VectorMath VectorMath+MapKit.swift
[4/7] Compiling VectorMath VectorMath+SceneKit.swift
[5/7] Compiling VectorMath VectorMath+Quartz.swift
[6/7] Emitting module VectorMath
/host/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)
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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,
/host/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,
/host/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 |
/host/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 {
[7/7] Compiling VectorMath VectorMath.swift
/host/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)
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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,
/host/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,
/host/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 |
/host/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! (8.24s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "VectorMath",
"name" : "VectorMath",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.