The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ContentfulPersistence, reference master (20bc48), with Swift 6.1 for macOS (SPM) on 13 Jun 2025 16:34:54 UTC.

Swift 6 data race errors: 1

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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentful/contentful-persistence.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/contentful/contentful-persistence.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 20bc48e chore: version update (#173)
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 @):
20bc48ec0e0f959d69239e09a2a61f68b8841e4d
SUCCESS checkout https://github.com/contentful/contentful-persistence.swift.git at master
Fetching https://github.com/contentful/contentful.swift
[1/11128] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift from cache (1.96s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.13 (4.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
========================================
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/12831] Fetching contentful-persistence.swift
Fetched https://github.com/contentful/contentful-persistence.swift.git from cache (2.25s)
Fetching https://github.com/contentful/contentful.swift from cache
Fetched https://github.com/contentful/contentful.swift from cache (0.49s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.13 (0.55s)
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 master (20bc48e)
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.1
Building package at path:  $PWD
https://github.com/contentful/contentful-persistence.swift.git
https://github.com/contentful/contentful-persistence.swift.git
{
  "dependencies" : [
    {
      "identity" : "contentful.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.5.13",
            "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",
        "Seeding/BundledDatabase/CoreDataStore+Preseeding.swift",
        "Seeding/BundledDatabase/FileManaging.swift",
        "Seeding/BundledDatabase/FilePreseedManager.swift",
        "Seeding/BundledDatabase/PersistenceStore+Preseeding.swift",
        "Seeding/BundledDatabase/PreseedConfiguration.swift",
        "Seeding/BundledDatabase/PreseedStrategy.swift",
        "Seeding/JSON/SynchronizationManager+SeedDB.swift",
        "SynchronizationManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/37] Emitting module Contentful
[5/40] Compiling Contentful TypedQuery.swift
[6/40] Compiling Contentful Client+UIKit.swift
[7/40] Compiling Contentful Util.swift
[8/40] Compiling Contentful Space.swift
[9/40] Compiling Contentful SyncSpace.swift
[10/40] Compiling Contentful Sys.swift
[11/40] Compiling Contentful Decodable.swift
[12/40] Compiling Contentful Endpoints.swift
[13/40] Compiling Contentful Entry.swift
[14/40] Compiling Contentful Error.swift
[15/40] Compiling Contentful Client+Sync.swift
[16/40] Compiling Contentful Client.swift
[17/40] Compiling Contentful ClientConfiguration.swift
[18/40] Compiling Contentful ContentType.swift
[19/40] Compiling Contentful ContentfulLogger.swift
[20/40] Compiling Contentful DataCache.swift
[21/40] Compiling Contentful Date.swift
[22/40] Compiling Contentful DateFormatterCache.swift
[23/40] Compiling Contentful Metadata.swift
[24/40] Compiling Contentful Persistence.swift
[25/40] Compiling Contentful Query.swift
[26/40] Compiling Contentful Link.swift
[27/40] Compiling Contentful LinkResolver.swift
[28/40] Compiling Contentful Locale.swift
[29/40] Compiling Contentful Location.swift
[30/40] Compiling Contentful QueryOperation.swift
[31/40] Compiling Contentful Resource.swift
[32/40] Compiling Contentful RichText.swift
[33/40] Compiling Contentful Field.swift
[34/40] Compiling Contentful FieldType.swift
[35/40] Compiling Contentful ImageOptions.swift
[36/40] Compiling Contentful JSONDecoderBuilder.swift
[37/40] Compiling Contentful Client+AppKit.swift
[38/40] Compiling Contentful ArrayResponse.swift
[39/40] Compiling Contentful Asset.swift
[40/40] Compiling Contentful Client+Fetch.swift
[41/58] Compiling ContentfulPersistence PersistenceStore.swift
[42/58] Compiling ContentfulPersistence Relationship.swift
[43/59] Compiling ContentfulPersistence RelationshipCache.swift
[44/59] Compiling ContentfulPersistence RelationshipChildId.swift
[45/59] Compiling ContentfulPersistence RelationshipData.swift
[46/59] Compiling ContentfulPersistence RelationshipsManager.swift
[47/59] Compiling ContentfulPersistence FilePreseedManager.swift
[48/59] Compiling ContentfulPersistence PersistenceStore+Preseeding.swift
[49/59] Compiling ContentfulPersistence PreseedConfiguration.swift
[50/59] Compiling ContentfulPersistence PreseedStrategy.swift
[51/59] Compiling ContentfulPersistence SynchronizationManager+SeedDB.swift
[52/59] Compiling ContentfulPersistence CoreDataStore+Preseeding.swift
[53/59] Compiling ContentfulPersistence FileManaging.swift
[54/59] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- 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")
[55/59] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- 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")
[56/59] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- 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")
[57/59] Compiling ContentfulPersistence CoreDataStore.swift
[58/59] Compiling ContentfulPersistence DataCache.swift
[59/59] Compiling ContentfulPersistence SynchronizationManager.swift
Build complete! (12.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "contentful.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.5.13",
            "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",
        "Seeding/BundledDatabase/CoreDataStore+Preseeding.swift",
        "Seeding/BundledDatabase/FileManaging.swift",
        "Seeding/BundledDatabase/FilePreseedManager.swift",
        "Seeding/BundledDatabase/PersistenceStore+Preseeding.swift",
        "Seeding/BundledDatabase/PreseedConfiguration.swift",
        "Seeding/BundledDatabase/PreseedStrategy.swift",
        "Seeding/JSON/SynchronizationManager+SeedDB.swift",
        "SynchronizationManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.