Build Information
Successful build of Swiplot, reference master (b79d49
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 21:19:44 UTC.
Swift 6 data race errors: 7
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/t-ae/swiplot.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/t-ae/swiplot
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b79d49c Update for Swift4
Cloned https://github.com/t-ae/swiplot.git
Revision (git rev-parse @):
b79d49c76c54637a3a4cea8e7e22d26fc5cf8bd7
SUCCESS checkout https://github.com/t-ae/swiplot.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": "swiplot",
"name": "Swiplot",
"url": "https://github.com/t-ae/swiplot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiplot",
"dependencies": [
]
}
]
}
Fetching https://github.com/t-ae/swiplot.git
[1/103] Fetching swiplot
Fetched https://github.com/t-ae/swiplot.git from cache (0.57s)
Creating working copy for https://github.com/t-ae/swiplot.git
Working copy of https://github.com/t-ae/swiplot.git resolved at master (b79d49c)
warning: '.resolve-product-dependencies': dependency 'swiplot' 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/t-ae/swiplot.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/10] Compiling Swiplot SingleLine.swift
[4/10] Compiling Swiplot Graph.swift
[5/10] Compiling Swiplot Graph3D.swift
[6/10] Compiling Swiplot Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:14:16: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
12 |
13 | extension Color {
14 | static let red = Color("red")
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' 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
15 | static let green = Color("green")
16 | static let blue = Color("blue")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:15:16: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
13 | extension Color {
14 | static let red = Color("red")
15 | static let green = Color("green")
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'green' 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
16 | static let blue = Color("blue")
17 | static let black = Color("black")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:16:16: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
14 | static let red = Color("red")
15 | static let green = Color("green")
16 | static let blue = Color("blue")
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' 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
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:17:16: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
15 | static let green = Color("green")
16 | static let blue = Color("blue")
17 | static let black = Color("black")
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:18:16: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
16 | static let blue = Color("blue")
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cyan' 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
19 | static let magenta = Color("magenta")
20 | static let yellow = Color("yellow")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:19:16: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
| |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'magenta' 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
20 | static let yellow = Color("yellow")
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:20:16: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
20 | static let yellow = Color("yellow")
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yellow' 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
21 | }
22 |
[7/10] Emitting module Swiplot
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:14:16: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
12 |
13 | extension Color {
14 | static let red = Color("red")
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' 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
15 | static let green = Color("green")
16 | static let blue = Color("blue")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:15:16: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
13 | extension Color {
14 | static let red = Color("red")
15 | static let green = Color("green")
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'green' 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
16 | static let blue = Color("blue")
17 | static let black = Color("black")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:16:16: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
14 | static let red = Color("red")
15 | static let green = Color("green")
16 | static let blue = Color("blue")
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' 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
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:17:16: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
15 | static let green = Color("green")
16 | static let blue = Color("blue")
17 | static let black = Color("black")
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:18:16: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
16 | static let blue = Color("blue")
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cyan' 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
19 | static let magenta = Color("magenta")
20 | static let yellow = Color("yellow")
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:19:16: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
17 | static let black = Color("black")
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
| |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'magenta' 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
20 | static let yellow = Color("yellow")
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Color.swift:20:16: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
2 | let str: String
3 |
:
18 | static let cyan = Color("cyan")
19 | static let magenta = Color("magenta")
20 | static let yellow = Color("yellow")
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yellow' 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
21 | }
22 |
[8/10] Compiling Swiplot LineStyle.swift
[9/10] Compiling Swiplot Plot3D.swift
[10/10] Compiling Swiplot Plot.swift
Build complete! (8.83s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swiplot",
"name" : "Swiplot",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiplot",
"targets" : [
"Swiplot"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiplotTests",
"module_type" : "SwiftTarget",
"name" : "SwiplotTests",
"path" : "Tests/SwiplotTests",
"sources" : [
"SwiplotTests.swift"
],
"target_dependencies" : [
"Swiplot"
],
"type" : "test"
},
{
"c99name" : "Swiplot",
"module_type" : "SwiftTarget",
"name" : "Swiplot",
"path" : "Sources",
"product_memberships" : [
"Swiplot"
],
"sources" : [
"Color.swift",
"Graph.swift",
"Graph3D.swift",
"LineStyle.swift",
"Plot.swift",
"Plot3D.swift",
"SingleLine.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.