Build Information
Successful build of SHDateFormatter, reference develop (dc863e
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 15:06:33 UTC.
Swift 6 data race errors: 2
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/blackjacx/SHDateFormatter.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/blackjacx/SHDateFormatter
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at dc863e8 Add dome more time zones
Cloned https://github.com/blackjacx/SHDateFormatter.git
Revision (git rev-parse @):
dc863e8f18deb30f51655b85411d13d6f25e1da3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHDateFormatter.git at develop
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/455] Fetching cwlcatchexception
[193/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1713/16435] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16436/35653] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/Quick/Nimble from cache (2.45s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.45s)
Fetched https://github.com/Quick/Quick from cache (2.45s)
Computing version for https://github.com/Quick/Nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.45s)
Computed https://github.com/Quick/Nimble at 10.0.0 (0.70s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.65s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.64s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 10.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 5.0.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": "shdateformatter",
"name": "SHDateFormatter",
"url": "https://github.com/blackjacx/SHDateFormatter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SHDateFormatter",
"dependencies": [
]
}
]
}
Fetching https://github.com/blackjacx/SHDateFormatter.git
[1/1634] Fetching shdateformatter
Fetched https://github.com/blackjacx/SHDateFormatter.git from cache (1.00s)
Creating working copy for https://github.com/blackjacx/SHDateFormatter.git
Working copy of https://github.com/blackjacx/SHDateFormatter.git resolved at develop (dc863e8)
warning: '.resolve-product-dependencies': dependency 'shdateformatter' 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/blackjacx/SHDateFormatter.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/7] Compiling SHDateFormatter TimeZone+Extensions.swift
[4/7] Compiling SHDateFormatter SHDateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:36:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SHDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct SHDateFormatter {
| `- note: consider making struct 'SHDateFormatter' conform to the 'Sendable' protocol
35 |
36 | public static let shared = SHDateFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SHDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
37 |
38 | public static func is12hFormat(_ locale: Locale = Locale.current) -> Bool {
/Users/admin/builder/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | static let formatter = DateFormatter()
45 | static let iso8601Formatter = ISO8601DateFormatter()
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601Formatter' 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
46 | static let serialDispatchQueue = DispatchQueue(label: "com.dateFormatter.globalSerialDispatchQueue")
47 |
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[5/7] Emitting module SHDateFormatter
/Users/admin/builder/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:36:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SHDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct SHDateFormatter {
| `- note: consider making struct 'SHDateFormatter' conform to the 'Sendable' protocol
35 |
36 | public static let shared = SHDateFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SHDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
37 |
38 | public static func is12hFormat(_ locale: Locale = Locale.current) -> Bool {
/Users/admin/builder/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | static let formatter = DateFormatter()
45 | static let iso8601Formatter = ISO8601DateFormatter()
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601Formatter' 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
46 | static let serialDispatchQueue = DispatchQueue(label: "com.dateFormatter.globalSerialDispatchQueue")
47 |
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[6/7] Compiling SHDateFormatter SHDateFormatter+Extension.swift
[7/7] Compiling SHDateFormatter Date+Utils.swift
Build complete! (9.87s)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "10.0.0",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
}
],
"manifest_display_name" : "SHDateFormatter",
"name" : "SHDateFormatter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "SHDateFormatter",
"targets" : [
"SHDateFormatter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SHDateFormatterTests",
"module_type" : "SwiftTarget",
"name" : "SHDateFormatterTests",
"path" : "Tests/SHDateFormatterTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"DateFormatterTests.swift"
],
"target_dependencies" : [
"SHDateFormatter"
],
"type" : "test"
},
{
"c99name" : "SHDateFormatter",
"module_type" : "SwiftTarget",
"name" : "SHDateFormatter",
"path" : "Source/SHDateFormatter",
"product_memberships" : [
"SHDateFormatter"
],
"sources" : [
"Classes/Date+Utils.swift",
"Classes/SHDateFormatter+Extension.swift",
"Classes/SHDateFormatter.swift",
"Classes/TimeZone+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/blackjacx/shdateformatter/develop
Repository: blackjacx/SHDateFormatter
Swift version used: 6.0
Target: SHDateFormatter
Extracting symbol information for 'SHDateFormatter'...
Finished extracting symbol information for 'SHDateFormatter'. (2.78s)
Building documentation for 'SHDateFormatter'...
Finished building documentation for 'SHDateFormatter' (0.15s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/blackjacx/shdateformatter/develop
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/Quick/Nimble
Updating https://github.com/mattgallagher/CwlPreconditionTesting.git
Updated https://github.com/mattgallagher/CwlPreconditionTesting.git (0.49s)
Updated https://github.com/Quick/Nimble (0.60s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/Quick/Quick
Updating https://github.com/mattgallagher/CwlCatchException.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.33s)
Updated https://github.com/mattgallagher/CwlCatchException.git (0.59s)
Updated https://github.com/Quick/Quick (0.59s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 10.0.0 (0.63s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.66s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.62s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit GenericConstraint.swift
[11/57] Compiling SymbolKit GenericParameter.swift
[12/57] Compiling SymbolKit Generics.swift
[13/57] Compiling SymbolKit Namespace.swift
[14/57] Compiling SymbolKit Symbol.swift
[15/57] Compiling SymbolKit SymbolKind.swift
[16/57] Compiling SymbolKit SymbolGraph.swift
[17/57] Compiling SymbolKit GraphCollector.swift
[18/57] Compiling SymbolKit SourceRange.swift
[19/57] Compiling SymbolKit Metadata.swift
[20/57] Compiling SymbolKit Module.swift
[21/57] Compiling SymbolKit OperatingSystem.swift
[22/57] Compiling SymbolKit Platform.swift
[23/57] Compiling SymbolKit DeclarationFragments.swift
[24/57] Compiling SymbolKit Fragment.swift
[25/57] Compiling SymbolKit FragmentKind.swift
[26/57] Compiling SymbolKit FunctionParameter.swift
[27/57] Compiling SymbolKit FunctionSignature.swift
[28/57] Compiling SymbolKit Identifier.swift
[29/57] Compiling SymbolKit KindIdentifier.swift
[30/57] Compiling SymbolKit Location.swift
[31/57] Compiling SymbolKit Mutability.swift
[32/57] Compiling SymbolKit SemanticVersion.swift
[33/57] Compiling SymbolKit AccessControl.swift
[34/57] Compiling SymbolKit Availability.swift
[35/57] Compiling SymbolKit AvailabilityItem.swift
[36/57] Compiling SymbolKit Domain.swift
[37/57] Compiling SymbolKit Names.swift
[38/57] Compiling SymbolKit SPI.swift
[39/57] Compiling SymbolKit Snippet.swift
[40/57] Compiling SymbolKit Extension.swift
[41/57] Compiling SymbolKit Relationship.swift
[42/57] Compiling SymbolKit RelationshipKind.swift
[43/57] Compiling SymbolKit SourceOrigin.swift
[44/57] Compiling SymbolKit GenericConstraints.swift
[45/57] Compiling SymbolKit Swift.swift
[46/57] Compiling SymbolKit Mixin+Equals.swift
[47/57] Compiling SymbolKit Mixin+Hash.swift
[48/57] Compiling SymbolKit Mixin.swift
[49/57] Compiling SymbolKit LineList.swift
[50/57] Compiling SymbolKit Position.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.79s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling SHDateFormatter TimeZone+Extensions.swift
[3/6] Compiling SHDateFormatter SHDateFormatter.swift
[4/6] Emitting module SHDateFormatter
[5/6] Compiling SHDateFormatter Date+Utils.swift
[6/6] Compiling SHDateFormatter SHDateFormatter+Extension.swift
Build of target: 'SHDateFormatter' complete! (0.60s)
138
2 /Users/admin/builder/spi-builder-workspace/.docs/blackjacx/shdateformatter/develop
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/blackjacx/shdateformatter/develop
File count: 138
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-blackjacx-shdateformatter-develop-14e07296.zip to s3://spi-docs-inbox/prod-blackjacx-shdateformatter-develop-14e07296.zip
Copying... [16%]
Copying... [32%]
Copying... [48%]
Copying... [64%]
Copying... [80%]
Copying... [96%]
Copying... [100%]
Done.