Build Information
Successful build of Chalk, reference master (a8faed
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:04:13 UTC.
Swift 6 data race errors: 8
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/mxcl/chalk.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mxcl/chalk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a8faed6 participate in tea protocol
Cloned https://github.com/mxcl/chalk.git
Revision (git rev-parse @):
a8faed684d73ece2aa224a491164838f90e9938d
SUCCESS checkout https://github.com/mxcl/chalk.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": "chalk",
"name": "Chalk",
"url": "https://github.com/mxcl/chalk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chalk",
"dependencies": [
]
}
]
}
Fetching https://github.com/mxcl/chalk.git
[3/81] Fetching chalk
Fetched https://github.com/mxcl/chalk.git from cache (1.09s)
Creating working copy for https://github.com/mxcl/chalk.git
Working copy of https://github.com/mxcl/chalk.git resolved at master (a8faed6)
warning: '.resolve-product-dependencies': dependency 'chalk' 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/mxcl/chalk.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/4] Compiling Chalk Chalk.swift
/Users/admin/builder/spi-builder-workspace/Chalk.swift:59:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:60:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' 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
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:61:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:62:23: warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
| |- warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlined' 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
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:63:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' 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
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
/Users/admin/builder/spi-builder-workspace/Chalk.swift:64:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inverse' 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
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
/Users/admin/builder/spi-builder-workspace/Chalk.swift:65:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hidden' 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
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
67 |
/Users/admin/builder/spi-builder-workspace/Chalk.swift:66:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' 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
67 |
68 | public let rawValue: Int
[4/4] Emitting module Chalk
/Users/admin/builder/spi-builder-workspace/Chalk.swift:59:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:60:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' 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
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:61:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:62:23: warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
| |- warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlined' 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
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Chalk.swift:63:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' 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
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
/Users/admin/builder/spi-builder-workspace/Chalk.swift:64:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
62 | public static let underlined = Style(rawValue: 1 << 3)
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inverse' 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
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
/Users/admin/builder/spi-builder-workspace/Chalk.swift:65:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
63 | public static let blink = Style(rawValue: 1 << 4)
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hidden' 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
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
67 |
/Users/admin/builder/spi-builder-workspace/Chalk.swift:66:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
60 | public static let dim = Style(rawValue: 1 << 1)
:
64 | public static let inverse = Style(rawValue: 1 << 5)
65 | public static let hidden = Style(rawValue: 1 << 6) // for eg. passwords
66 | public static let strikethrough = Style(rawValue: 1 << 7) // not implemented in Terminal.app
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' 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
67 |
68 | public let rawValue: Int
Build complete! (5.62s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Chalk",
"name" : "Chalk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Chalk",
"targets" : [
"Chalk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Chalk",
"module_type" : "SwiftTarget",
"name" : "Chalk",
"path" : ".",
"product_memberships" : [
"Chalk"
],
"sources" : [
"Chalk.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.