Build Information
Successful build of bytes, reference 1.4.0 (9444da
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:56:58 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tbointeractive/bytes.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tbointeractive/bytes
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 9444dab update changelog (#57)
Cloned https://github.com/tbointeractive/bytes.git
Revision (git rev-parse @):
9444dab5f7e3c40c099ea34beb0fa4761dfb908a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tbointeractive/bytes.git at 1.4.0
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.18s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.78s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.41s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
========================================
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": "bytes",
"name": "bytes",
"url": "https://github.com/tbointeractive/bytes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bytes",
"dependencies": [
]
}
]
}
Fetching https://github.com/tbointeractive/bytes.git
[1/1501] Fetching bytes
Fetched https://github.com/tbointeractive/bytes.git from cache (0.94s)
Creating working copy for https://github.com/tbointeractive/bytes.git
Working copy of https://github.com/tbointeractive/bytes.git resolved at 1.4.0 (9444dab)
warning: '.resolve-product-dependencies': dependency 'bytes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tbointeractive/bytes.git
https://github.com/tbointeractive/bytes.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
[6/35] Compiling bytes UIImage+Transformations.swift
[7/35] Compiling bytes UIView+Constraints.swift
[8/35] Compiling bytes UIView+Nib.swift
[9/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: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
[10/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: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
[11/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: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let formatter = ByteCountFormatter()
16 | formatter.countStyle = .decimal
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let formatter = ByteCountFormatter()
23 | formatter.countStyle = .binary
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
[12/35] Compiling bytes UIColor+Components.swift
[13/35] Compiling bytes UIColor+Hex.swift
[14/35] Compiling bytes UIImage+Color.swift
[15/35] Compiling bytes Collection+JoinNSAttributedString.swift
[16/35] Compiling bytes Collection+Randomizing.swift
[17/35] Compiling bytes DateComponentsFormatter+Preconfigured.swift
[18/35] Compiling bytes String+Hashes.swift
[19/35] Compiling bytes String+Localizable.swift
[20/35] Compiling bytes String+Random.swift
[21/35] Compiling bytes UIView+Rendering.swift
[22/35] Compiling bytes UIViewController+Hierarchie.swift
[23/35] Compiling bytes URL+QueryItems.swift
[24/35] Compiling bytes Double+TimeInterval.swift
[25/35] Compiling bytes Int+Random.swift
[26/35] Compiling bytes NumberFormatter+Preconfigured.swift
[27/35] Compiling bytes DateFormatter+Preconfigured.swift
[28/35] Compiling bytes Dictionary+Diff.swift
[29/35] Compiling bytes Dictionary+Merge.swift
[30/35] Compiling bytes UserDefaults+Sets.swift
[31/35] Compiling bytes IconFont.swift
[32/35] Compiling bytes SemanticVersion.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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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! (14.73s)
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.