Build Information
Successful build of bytes with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tbointeractive/bytes.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tbointeractive/bytes
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 9444dab update changelog (#57)
Cloned https://github.com/tbointeractive/bytes.git
Revision (git rev-parse @):
9444dab5f7e3c40c099ea34beb0fa4761dfb908a
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/tbointeractive/bytes.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/tbointeractive/bytes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/32] Emitting module bytes
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Application.swift:14:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The Application struct holds important information about an Application.
12 | public struct Application {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
13 | /// The main Application.
14 | static public let main = Application(bundle: Bundle.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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 |
16 | /// The bundle name of your app (CFBundleName)
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:14:16: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// A ByteCountFormatter with countStyle decimal.
14 | static let decimal: ByteCountFormatter = {
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' 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 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:21:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// A ByteCountFormatter with countStyle binary.
21 | static let binary: ByteCountFormatter = {
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
[6/35] Compiling bytes UIColor+Components.swift
[7/35] Compiling bytes UIColor+Hex.swift
[8/35] Compiling bytes UIImage+Color.swift
[9/35] Compiling bytes UserDefaults+Sets.swift
[10/35] Compiling bytes IconFont.swift
[11/35] Compiling bytes SemanticVersion.swift
[12/35] Compiling bytes UIView+Rendering.swift
[13/35] Compiling bytes UIViewController+Hierarchie.swift
[14/35] Compiling bytes URL+QueryItems.swift
[15/35] Compiling bytes DiscardTouchView.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:14:16: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// A ByteCountFormatter with countStyle decimal.
14 | static let decimal: ByteCountFormatter = {
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' 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 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:21:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// A ByteCountFormatter with countStyle binary.
21 | static let binary: ByteCountFormatter = {
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
[16/35] Compiling bytes Bool+Random.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:14:16: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// A ByteCountFormatter with countStyle decimal.
14 | static let decimal: ByteCountFormatter = {
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' 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 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:21:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// A ByteCountFormatter with countStyle binary.
21 | static let binary: ByteCountFormatter = {
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
[17/35] Compiling bytes ByteCountFormatter+Preconfigured.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:14:16: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// A ByteCountFormatter with countStyle decimal.
14 | static let decimal: ByteCountFormatter = {
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' 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 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Extensions/ByteCountFormatter+Preconfigured.swift:21:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// A ByteCountFormatter with countStyle binary.
21 | static let binary: ByteCountFormatter = {
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
[18/35] Compiling bytes UIImage+Transformations.swift
[19/35] Compiling bytes UIView+Constraints.swift
[20/35] Compiling bytes UIView+Nib.swift
[21/35] Compiling bytes DateFormatter+Preconfigured.swift
[22/35] Compiling bytes Dictionary+Diff.swift
[23/35] Compiling bytes Dictionary+Merge.swift
[24/35] Compiling bytes String+Hashes.swift
[25/35] Compiling bytes String+Localizable.swift
[26/35] Compiling bytes String+Random.swift
[27/35] Compiling bytes Collection+JoinNSAttributedString.swift
[28/35] Compiling bytes Collection+Randomizing.swift
[29/35] Compiling bytes DateComponentsFormatter+Preconfigured.swift
[30/35] Compiling bytes Double+TimeInterval.swift
[31/35] Compiling bytes Int+Random.swift
[32/35] Compiling bytes NumberFormatter+Preconfigured.swift
[33/35] Compiling bytes Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Application.swift:14:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The Application struct holds important information about an Application.
12 | public struct Application {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
13 | /// The main Application.
14 | static public let main = Application(bundle: Bundle.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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 |
16 | /// The bundle name of your app (CFBundleName)
[34/35] Compiling bytes AsyncViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Application.swift:14:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The Application struct holds important information about an Application.
12 | public struct Application {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
13 | /// The main Application.
14 | static public let main = Application(bundle: Bundle.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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 |
16 | /// The bundle name of your app (CFBundleName)
[35/35] Compiling bytes Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/bytes/Application.swift:14:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The Application struct holds important information about an Application.
12 | public struct Application {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
13 | /// The main Application.
14 | static public let main = Application(bundle: Bundle.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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 |
16 | /// The bundle name of your app (CFBundleName)
Build complete! (40.79s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1458] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.65s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2856] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.71s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "bytes",
"name" : "bytes",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "bytes",
"targets" : [
"bytes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "bytesTests",
"module_type" : "SwiftTarget",
"name" : "bytesTests",
"path" : "Tests/bytesTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/bytesTests/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/bytesTests/Resources/en.lproj/More.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Dictionary+DiffTests.swift",
"Strings+LocalizableTests.swift",
"UserDefault+SetsTests.swift"
],
"target_dependencies" : [
"bytes"
],
"type" : "test"
},
{
"c99name" : "bytes",
"module_type" : "SwiftTarget",
"name" : "bytes",
"path" : "Sources",
"product_memberships" : [
"bytes"
],
"sources" : [
"bytes/Application.swift",
"bytes/AsyncViewController.swift",
"bytes/Device.swift",
"bytes/DiscardTouchView.swift",
"bytes/Extensions/Bool+Random.swift",
"bytes/Extensions/ByteCountFormatter+Preconfigured.swift",
"bytes/Extensions/Collection+JoinNSAttributedString.swift",
"bytes/Extensions/Collection+Randomizing.swift",
"bytes/Extensions/DateComponentsFormatter+Preconfigured.swift",
"bytes/Extensions/DateFormatter+Preconfigured.swift",
"bytes/Extensions/Dictionary+Diff.swift",
"bytes/Extensions/Dictionary+Merge.swift",
"bytes/Extensions/Double+TimeInterval.swift",
"bytes/Extensions/Int+Random.swift",
"bytes/Extensions/NumberFormatter+Preconfigured.swift",
"bytes/Extensions/String+Hashes.swift",
"bytes/Extensions/String+Localizable.swift",
"bytes/Extensions/String+Random.swift",
"bytes/Extensions/UIColor+Components.swift",
"bytes/Extensions/UIColor+Hex.swift",
"bytes/Extensions/UIImage+Color.swift",
"bytes/Extensions/UIImage+Transformations.swift",
"bytes/Extensions/UIView+Constraints.swift",
"bytes/Extensions/UIView+Nib.swift",
"bytes/Extensions/UIView+Rendering.swift",
"bytes/Extensions/UIViewController+Hierarchie.swift",
"bytes/Extensions/URL+QueryItems.swift",
"bytes/Extensions/UserDefaults+Sets.swift",
"bytes/IconFont.swift",
"bytes/SemanticVersion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.