Build Information
Successful build of SwiftMath, reference 3.3.1 (13a224
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 14:36:10 UTC.
Swift 6 data race errors: 1
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/SwiftGFX/SwiftMath.git
Reference: 3.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftGFX/SwiftMath
* tag 3.3.1 -> FETCH_HEAD
HEAD is now at 13a224a Exclude files from target to remove warnings (#12)
Cloned https://github.com/SwiftGFX/SwiftMath.git
Revision (git rev-parse @):
13a224a655cbef1ef0e39d7d22e31a4ff6bc9937
SUCCESS checkout https://github.com/SwiftGFX/SwiftMath.git at 3.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": "swiftmath",
"name": "SwiftMath",
"url": "https://github.com/SwiftGFX/SwiftMath.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftMath",
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftGFX/SwiftMath.git
[1/972] Fetching swiftmath
Fetched https://github.com/SwiftGFX/SwiftMath.git from cache (0.87s)
Creating working copy for https://github.com/SwiftGFX/SwiftMath.git
Working copy of https://github.com/SwiftGFX/SwiftMath.git resolved at 3.3.1 (13a224a)
warning: '.resolve-product-dependencies': dependency 'swiftmath' 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/SwiftGFX/SwiftMath.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/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[3/31] Emitting module SwiftMath
/Users/admin/builder/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // - rect intersection
53 | // - offset, scale
54 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
55 | public var origin: Point
56 | // TODO: Gracefully handle negative size case or forbid it
:
82 | }
83 |
84 | public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
85 | }
86 |
[4/33] Compiling SwiftMath random.swift
[5/33] Compiling SwiftMath utils.swift
[6/33] Compiling SwiftMath Angle.swift
[7/33] Compiling SwiftMath Matrix3x3+nosimd.swift
[8/33] Compiling SwiftMath Matrix3x3+simd.swift
[9/33] Compiling SwiftMath functions.swift
[10/33] Compiling SwiftMath platform.swift
[11/33] Compiling SwiftMath Matrix3x3.swift
[12/33] Compiling SwiftMath Matrix4x4+Extensions.swift
[13/33] Compiling SwiftMath Matrix4x4+nosimd.swift
[14/33] Compiling SwiftMath Vector3+simd.swift
[15/33] Compiling SwiftMath Vector3.swift
[16/33] Compiling SwiftMath Vector4+nosimd.swift
[17/33] Compiling SwiftMath Vector2+simd.swift
[18/33] Compiling SwiftMath Vector2.swift
[19/33] Compiling SwiftMath Vector3+nosimd.swift
[20/33] Compiling SwiftMath easing.swift
[21/33] Compiling SwiftMath float3x3+Extensions.swift
[22/33] Compiling SwiftMath float4x4+Extensions.swift
[23/33] Compiling SwiftMath Matrix4x4+simd.swift
[24/33] Compiling SwiftMath Matrix4x4.swift
[25/33] Compiling SwiftMath Point.swift
[26/33] Compiling SwiftMath Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // - rect intersection
53 | // - offset, scale
54 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
55 | public var origin: Point
56 | // TODO: Gracefully handle negative size case or forbid it
:
82 | }
83 |
84 | public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
85 | }
86 |
[27/33] Compiling SwiftMath String+Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // - rect intersection
53 | // - offset, scale
54 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
55 | public var origin: Point
56 | // TODO: Gracefully handle negative size case or forbid it
:
82 | }
83 |
84 | public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
85 | }
86 |
[28/33] Compiling SwiftMath Vector2+nosimd.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // - rect intersection
53 | // - offset, scale
54 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
55 | public var origin: Point
56 | // TODO: Gracefully handle negative size case or forbid it
:
82 | }
83 |
84 | public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
85 | }
86 |
[29/33] Compiling SwiftMath Vector4+simd.swift
[30/33] Compiling SwiftMath Vector4.swift
[31/33] Compiling SwiftMath Vectorf+Components.swift
[31/33] Write Objects.LinkFileList
[32/33] Archiving libSwiftMath.a
Build complete! (13.75s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftMath",
"name" : "SwiftMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftMath",
"targets" : [
"SwiftMath"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMathTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMathTests",
"path" : "Tests/SwiftMathTests",
"sources" : [
"AngleTests.swift",
"Matrix3x3Tests.swift",
"Matrix4x4Tests.swift",
"RectTests.swift",
"Vector2Tests.swift",
"XCTestManifests.swift",
"functionsTests.swift"
],
"target_dependencies" : [
"SwiftMath"
],
"type" : "test"
},
{
"c99name" : "SwiftMath",
"module_type" : "SwiftTarget",
"name" : "SwiftMath",
"path" : ".",
"product_memberships" : [
"SwiftMath"
],
"sources" : [
"Sources/Angle.swift",
"Sources/Matrix3x3+nosimd.swift",
"Sources/Matrix3x3+simd.swift",
"Sources/Matrix3x3.swift",
"Sources/Matrix4x4+Extensions.swift",
"Sources/Matrix4x4+nosimd.swift",
"Sources/Matrix4x4+simd.swift",
"Sources/Matrix4x4.swift",
"Sources/Point.swift",
"Sources/Rect.swift",
"Sources/String+Math.swift",
"Sources/Vector2+nosimd.swift",
"Sources/Vector2+simd.swift",
"Sources/Vector2.swift",
"Sources/Vector3+nosimd.swift",
"Sources/Vector3+simd.swift",
"Sources/Vector3.swift",
"Sources/Vector4+nosimd.swift",
"Sources/Vector4+simd.swift",
"Sources/Vector4.swift",
"Sources/Vectorf+Components.swift",
"Sources/easing.swift",
"Sources/float3x3+Extensions.swift",
"Sources/float4x4+Extensions.swift",
"Sources/functions.swift",
"Sources/platform.swift",
"Sources/random.swift",
"Sources/utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.