Build Information
Successful build of ContentfulPersistence, reference 0.18.0 (863aaf
), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 01:06:12 UTC.
Swift 6 data race errors: 1
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 -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.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentful/contentful-persistence.swift.git
Reference: 0.18.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/contentful/contentful-persistence.swift
* tag 0.18.0 -> FETCH_HEAD
HEAD is now at 863aaf7 chore: up version (#167)
Submodule path 'Carthage/Checkouts/OHHTTPStubs': checked out 'e9b4beccfca092edaabf2082c0c12535950e005f'
Submodule path 'Carthage/Checkouts/contentful.swift': checked out '8977d5d6a780b322183214f408b82066b6381b2b'
Submodule 'Carthage/Checkouts/OHHTTPStubs' (https://github.com/mariuskatcontentful/OHHTTPStubs.git) registered for path 'Carthage/Checkouts/OHHTTPStubs'
Submodule 'Carthage/Checkouts/contentful.swift' (https://github.com/contentful/contentful.swift.git) registered for path 'Carthage/Checkouts/contentful.swift'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/OHHTTPStubs'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/contentful.swift'...
Cloned https://github.com/contentful/contentful-persistence.swift.git
Revision (git rev-parse @):
863aaf7f7083166a1fdac94d90388a697619c0ae
SUCCESS checkout https://github.com/contentful/contentful-persistence.swift.git at 0.18.0
Fetching https://github.com/contentful/contentful.swift
[1/11108] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift from cache (2.18s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.1 (0.67s)
Creating working copy for https://github.com/contentful/contentful.swift
Working copy of https://github.com/contentful/contentful.swift resolved at 5.5.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": "contentful-persistence.swift",
"name": "ContentfulPersistence",
"url": "https://github.com/contentful/contentful-persistence.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/contentful-persistence.swift",
"dependencies": [
{
"identity": "contentful.swift",
"name": "Contentful",
"url": "https://github.com/contentful/contentful.swift",
"version": "5.5.13",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/contentful.swift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/contentful/contentful-persistence.swift.git
[1/12747] Fetching contentful-persistence.swift
Fetched https://github.com/contentful/contentful-persistence.swift.git from cache (2.34s)
Fetching https://github.com/contentful/contentful.swift from cache
Fetched https://github.com/contentful/contentful.swift from cache (0.59s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.13 (2.49s)
Creating working copy for https://github.com/contentful/contentful.swift
Working copy of https://github.com/contentful/contentful.swift resolved at 5.5.13
Creating working copy for https://github.com/contentful/contentful-persistence.swift.git
Working copy of https://github.com/contentful/contentful-persistence.swift.git resolved at 0.18.0 (863aaf7)
warning: '.resolve-product-dependencies': dependency 'contentful-persistence.swift' is not used by any target
Found 1 product dependencies
- Contentful
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/contentful/contentful-persistence.swift.git
{
"dependencies" : [
{
"identity" : "contentful.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.5.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/contentful/contentful.swift"
}
],
"manifest_display_name" : "ContentfulPersistence",
"name" : "ContentfulPersistence",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ContentfulPersistence",
"targets" : [
"ContentfulPersistence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ContentfulPersistence",
"module_type" : "SwiftTarget",
"name" : "ContentfulPersistence",
"path" : "Sources/ContentfulPersistence",
"product_dependencies" : [
"Contentful"
],
"product_memberships" : [
"ContentfulPersistence"
],
"sources" : [
"CoreDataStore.swift",
"DataCache.swift",
"DateFormatterCache.swift",
"Persistable.swift",
"PersistenceStore.swift",
"Relationships/Relationship.swift",
"Relationships/RelationshipCache.swift",
"Relationships/RelationshipChildId.swift",
"Relationships/RelationshipData.swift",
"Relationships/RelationshipsManager.swift",
"SynchronizationManager+SeedDB.swift",
"SynchronizationManager.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/36] Emitting module Contentful
[5/39] Compiling Contentful TypedQuery.swift
[6/39] Compiling Contentful Client+UIKit.swift
[7/39] Compiling Contentful Util.swift
[8/39] Compiling Contentful LinkResolver.swift
[9/39] Compiling Contentful Locale.swift
[10/39] Compiling Contentful Location.swift
[11/39] Compiling Contentful ContentfulLogger.swift
[12/39] Compiling Contentful DataCache.swift
[13/39] Compiling Contentful Date.swift
[14/39] Compiling Contentful Decodable.swift
[15/39] Compiling Contentful QueryOperation.swift
[16/39] Compiling Contentful Resource.swift
[17/39] Compiling Contentful RichText.swift
[18/39] Compiling Contentful Space.swift
[19/39] Compiling Contentful SyncSpace.swift
[20/39] Compiling Contentful Sys.swift
[21/39] Compiling Contentful Metadata.swift
[22/39] Compiling Contentful Persistence.swift
[23/39] Compiling Contentful Query.swift
[24/39] Compiling Contentful FieldType.swift
[25/39] Compiling Contentful ImageOptions.swift
[26/39] Compiling Contentful JSONDecoderBuilder.swift
[27/39] Compiling Contentful Link.swift
[28/39] Compiling Contentful Endpoints.swift
[29/39] Compiling Contentful Entry.swift
[30/39] Compiling Contentful Error.swift
[31/39] Compiling Contentful Field.swift
[32/39] Compiling Contentful Client+Sync.swift
[33/39] Compiling Contentful Client.swift
[34/39] Compiling Contentful ClientConfiguration.swift
[35/39] Compiling Contentful ContentType.swift
[36/39] Compiling Contentful Client+AppKit.swift
[37/39] Compiling Contentful ArrayResponse.swift
[38/39] Compiling Contentful Asset.swift
[39/39] Compiling Contentful Client+Fetch.swift
[40/51] Compiling ContentfulPersistence DateFormatterCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentfulPersistence/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 | private let queue = DispatchQueue(label: "com.contentful-persistence.formattercache")
[41/51] Compiling ContentfulPersistence Persistable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentfulPersistence/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 | private let queue = DispatchQueue(label: "com.contentful-persistence.formattercache")
[42/51] Compiling ContentfulPersistence Relationship.swift
[43/51] Compiling ContentfulPersistence RelationshipCache.swift
[44/52] Emitting module ContentfulPersistence
/Users/admin/builder/spi-builder-workspace/Sources/ContentfulPersistence/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 | private let queue = DispatchQueue(label: "com.contentful-persistence.formattercache")
[45/52] Compiling ContentfulPersistence CoreDataStore.swift
[46/52] Compiling ContentfulPersistence DataCache.swift
[47/52] Compiling ContentfulPersistence RelationshipChildId.swift
[48/52] Compiling ContentfulPersistence PersistenceStore.swift
[49/52] Compiling ContentfulPersistence RelationshipsManager.swift
[50/52] Compiling ContentfulPersistence RelationshipData.swift
[51/52] Compiling ContentfulPersistence SynchronizationManager+SeedDB.swift
[52/52] Compiling ContentfulPersistence SynchronizationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentfulPersistence/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 | private let queue = DispatchQueue(label: "com.contentful-persistence.formattercache")
Build complete! (25.78s)
Build complete.
{
"dependencies" : [
{
"identity" : "contentful.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.5.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/contentful/contentful.swift"
}
],
"manifest_display_name" : "ContentfulPersistence",
"name" : "ContentfulPersistence",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ContentfulPersistence",
"targets" : [
"ContentfulPersistence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ContentfulPersistence",
"module_type" : "SwiftTarget",
"name" : "ContentfulPersistence",
"path" : "Sources/ContentfulPersistence",
"product_dependencies" : [
"Contentful"
],
"product_memberships" : [
"ContentfulPersistence"
],
"sources" : [
"CoreDataStore.swift",
"DataCache.swift",
"DateFormatterCache.swift",
"Persistable.swift",
"PersistenceStore.swift",
"Relationships/Relationship.swift",
"Relationships/RelationshipCache.swift",
"Relationships/RelationshipChildId.swift",
"Relationships/RelationshipData.swift",
"Relationships/RelationshipsManager.swift",
"SynchronizationManager+SeedDB.swift",
"SynchronizationManager.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.