The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Automerge, reference 0.6.1 (cdbdce), with Swift 6.1 for macOS (SPM) on 1 May 2025 10:00:43 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.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/automerge/automerge-swift.git
Reference: 0.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/automerge/automerge-swift
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at cdbdce0 updates to package for 0.6.1 release
Cloned https://github.com/automerge/automerge-swift.git
Revision (git rev-parse @):
cdbdce07bb3e21809cbb801402ef45114a5dd584
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/automerge/automerge-swift.git at 0.6.1
Downloading binary artifact https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
[16375/46544488] Downloading https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
Downloaded https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip (2.99s)
========================================
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": "automerge-swift",
      "name": "Automerge",
      "url": "https://github.com/automerge/automerge-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/automerge-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/automerge/automerge-swift.git
[1/5939] Fetching automerge-swift
Fetched https://github.com/automerge/automerge-swift.git from cache (2.29s)
Creating working copy for https://github.com/automerge/automerge-swift.git
Working copy of https://github.com/automerge/automerge-swift.git resolved at 0.6.1 (cdbdce0)
Fetching binary artifact https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip from cache
Fetched https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip from cache (1.84s)
warning: '.resolve-product-dependencies': dependency 'automerge-swift' 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/automerge/automerge-swift.git
https://github.com/automerge/automerge-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Automerge",
  "name" : "Automerge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Automerge",
      "targets" : [
        "Automerge",
        "AutomergeUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "automergeFFI",
      "module_type" : "BinaryTarget",
      "name" : "automergeFFI",
      "path" : "remote/archive/automergeFFI.xcframework.zip",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "_CAutomergeUniffi",
      "module_type" : "SystemLibraryTarget",
      "name" : "_CAutomergeUniffi",
      "path" : "Sources/_CAutomergeUniffi",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "AutomergeUtilities",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeUtilities",
      "path" : "Sources/AutomergeUtilities",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "Document+equivalentContents.swift",
        "Document+isEmpty.swift",
        "Document+schema.swift",
        "Document+walk.swift"
      ],
      "target_dependencies" : [
        "Automerge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutomergeUniffi",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeUniffi",
      "path" : "AutomergeUniffi",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "automerge.swift"
      ],
      "target_dependencies" : [
        "automergeFFI",
        "_CAutomergeUniffi"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutomergeTests",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeTests",
      "path" : "Tests/AutomergeTests",
      "sources" : [
        "ActorIdTests.swift",
        "BoundTypeTests/BoundTypeChangeTests.swift",
        "BoundTypeTests/TestAutomergeText.swift",
        "BoundTypeTests/TestCounter.swift",
        "CodableTests/AnyCodingKeyTests.swift",
        "CodableTests/AutomergeArrayEncodeDecodeTests.swift",
        "CodableTests/AutomergeDecoderTests.swift",
        "CodableTests/AutomergeDictionaryEncodeDecodeTests.swift",
        "CodableTests/AutomergeEncoderTests.swift",
        "CodableTests/AutomergeKeyEncoderImplTests.swift",
        "CodableTests/AutomergeKeyedEncoderDecoderTests.swift",
        "CodableTests/AutomergeSingleValueEncoderImplTests.swift",
        "CodableTests/AutomergeTargettedEncodeDecodeTests.swift",
        "CodableTests/AutomergeTextEncodeDecodeTests.swift",
        "CodableTests/AutomergeUnkeyedEncoderDecoderTests.swift",
        "CodableTests/CounterEncodeDecodeTests.swift",
        "CodableTests/Document+PathElementConversionTests.swift",
        "CodableTests/Document+lookupPathTests.swift",
        "CodableTests/Document+retrieveObjectIdTests.swift",
        "CodableTests/Samples.swift",
        "DocTests/AutomergeDocTests.swift",
        "InteropTests.swift",
        "PresentationIntentsExplorationTest.swift",
        "TestChanges.swift",
        "TestCrud.swift",
        "TestEncodeAndApplyNewChanges.swift",
        "TestForkAndMerge.swift",
        "TestGetAll.swift",
        "TestGetAt.swift",
        "TestHistory.swift",
        "TestIncrement.swift",
        "TestLength.swift",
        "TestMapEntries.swift",
        "TestMapKeys.swift",
        "TestMarks.swift",
        "TestObjectType.swift",
        "TestObservableDocument.swift",
        "TestPatches.swift",
        "TestPath.swift",
        "TestScalarValueConversions.swift",
        "TestSplice.swift",
        "TestSync.swift",
        "TestText.swift",
        "TestValues.swift",
        "TestWasmIntegrity.swift",
        "Utilties/UtilityTests.swift",
        "XCTestCase+MemoryLeakTracking.swift"
      ],
      "target_dependencies" : [
        "Automerge",
        "AutomergeUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Automerge",
      "module_type" : "SwiftTarget",
      "name" : "Automerge",
      "path" : "Sources/Automerge",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "ActorId.swift",
        "BoundTypes/AutomergeText.swift",
        "BoundTypes/Counter.swift",
        "Change.swift",
        "ChangeHash.swift",
        "Codable/AnyCodingKey.swift",
        "Codable/BindingError.swift",
        "Codable/Decoding/AutomergeDecoder.swift",
        "Codable/Decoding/AutomergeDecoderImpl.swift",
        "Codable/Decoding/AutomergeKeyedDecodingContainer.swift",
        "Codable/Decoding/AutomergeSingleValueDecodingContainer.swift",
        "Codable/Decoding/AutomergeUnkeyedDecodingContainer.swift",
        "Codable/Document+lookupPath.swift",
        "Codable/Document+retrieveObjectId.swift",
        "Codable/Encoding/AutomergeEncoder.swift",
        "Codable/Encoding/AutomergeEncoderImpl.swift",
        "Codable/Encoding/AutomergeKeyedEncodingContainer.swift",
        "Codable/Encoding/AutomergeSingleValueEncodingContainer.swift",
        "Codable/Encoding/AutomergeUnkeyedEncodingContainer.swift",
        "Codable/Encoding/CodingKeyLookupError.swift",
        "Codable/EncodingContainerType.swift",
        "Codable/SchemaStrategy.swift",
        "Codable/TypeOfAutomergeValue.swift",
        "Cursor.swift",
        "Document+Transferable.swift",
        "Document.swift",
        "Errors.swift",
        "LogVerbosity.swift",
        "Marks.swift",
        "ObjId.swift",
        "ObjType.swift",
        "Patch.swift",
        "PathElement.swift",
        "ScalarValue.swift",
        "ScalarValueRepresentable.swift",
        "SyncState.swift",
        "TextEncoding.swift",
        "Value.swift",
        "_AutomergeLinux.swift"
      ],
      "target_dependencies" : [
        "AutomergeUniffi"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Write sources
[0/5] Copying libuniffi_automerge.a
[1/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/7] Emitting module AutomergeUniffi
/Users/admin/builder/spi-builder-workspace/AutomergeUniffi/automerge.swift:3410:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3408 | // Use a global variable to perform the versioning checks. Swift ensures that
3409 | // the code inside is only computed once.
3410 | private var initializationResult: InitializationResult = {
     |             |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3411 |     // Get the bindings contract version from our ComponentInterface
3412 |     let bindings_contract_version = 26
[7/7] Compiling AutomergeUniffi automerge.swift
/Users/admin/builder/spi-builder-workspace/AutomergeUniffi/automerge.swift:3410:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3408 | // Use a global variable to perform the versioning checks. Swift ensures that
3409 | // the code inside is only computed once.
3410 | private var initializationResult: InitializationResult = {
     |             |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3411 |     // Get the bindings contract version from our ComponentInterface
3412 |     let bindings_contract_version = 26
[8/44] Compiling Automerge EncodingContainerType.swift
[9/44] Compiling Automerge SchemaStrategy.swift
[10/44] Compiling Automerge TypeOfAutomergeValue.swift
[11/44] Compiling Automerge Cursor.swift
[12/47] Compiling Automerge Marks.swift
[13/47] Compiling Automerge ObjId.swift
[14/47] Compiling Automerge ObjType.swift
[15/47] Compiling Automerge Patch.swift
[16/47] Compiling Automerge ChangeHash.swift
[17/47] Compiling Automerge AnyCodingKey.swift
[18/47] Compiling Automerge BindingError.swift
[19/47] Compiling Automerge AutomergeDecoder.swift
[20/47] Compiling Automerge PathElement.swift
[21/47] Compiling Automerge ScalarValue.swift
[22/47] Compiling Automerge ScalarValueRepresentable.swift
[23/47] Compiling Automerge SyncState.swift
[24/47] Emitting module Automerge
[25/47] Compiling Automerge TextEncoding.swift
[26/47] Compiling Automerge Value.swift
[27/47] Compiling Automerge _AutomergeLinux.swift
[28/47] Compiling Automerge AutomergeDecoderImpl.swift
[29/47] Compiling Automerge AutomergeKeyedDecodingContainer.swift
[30/47] Compiling Automerge AutomergeSingleValueDecodingContainer.swift
[31/47] Compiling Automerge AutomergeUnkeyedDecodingContainer.swift
[32/47] Compiling Automerge Document+Transferable.swift
[33/47] Compiling Automerge Document.swift
[34/47] Compiling Automerge Errors.swift
[35/47] Compiling Automerge LogVerbosity.swift
[36/47] Compiling Automerge AutomergeKeyedEncodingContainer.swift
[37/47] Compiling Automerge AutomergeSingleValueEncodingContainer.swift
[38/47] Compiling Automerge AutomergeUnkeyedEncodingContainer.swift
[39/47] Compiling Automerge CodingKeyLookupError.swift
[40/47] Compiling Automerge Document+lookupPath.swift
[41/47] Compiling Automerge Document+retrieveObjectId.swift
[42/47] Compiling Automerge AutomergeEncoder.swift
[43/47] Compiling Automerge AutomergeEncoderImpl.swift
[44/47] Compiling Automerge ActorId.swift
[45/47] Compiling Automerge AutomergeText.swift
[46/47] Compiling Automerge Counter.swift
[47/47] Compiling Automerge Change.swift
[48/52] Compiling AutomergeUtilities Document+walk.swift
[49/52] Compiling AutomergeUtilities Document+schema.swift
[50/52] Compiling AutomergeUtilities Document+equivalentContents.swift
[51/52] Compiling AutomergeUtilities Document+isEmpty.swift
[52/52] Emitting module AutomergeUtilities
Build complete! (11.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Automerge",
  "name" : "Automerge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Automerge",
      "targets" : [
        "Automerge",
        "AutomergeUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "automergeFFI",
      "module_type" : "BinaryTarget",
      "name" : "automergeFFI",
      "path" : "remote/archive/automergeFFI.xcframework.zip",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "_CAutomergeUniffi",
      "module_type" : "SystemLibraryTarget",
      "name" : "_CAutomergeUniffi",
      "path" : "Sources/_CAutomergeUniffi",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "AutomergeUtilities",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeUtilities",
      "path" : "Sources/AutomergeUtilities",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "Document+equivalentContents.swift",
        "Document+isEmpty.swift",
        "Document+schema.swift",
        "Document+walk.swift"
      ],
      "target_dependencies" : [
        "Automerge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutomergeUniffi",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeUniffi",
      "path" : "AutomergeUniffi",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "automerge.swift"
      ],
      "target_dependencies" : [
        "automergeFFI",
        "_CAutomergeUniffi"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutomergeTests",
      "module_type" : "SwiftTarget",
      "name" : "AutomergeTests",
      "path" : "Tests/AutomergeTests",
      "sources" : [
        "ActorIdTests.swift",
        "BoundTypeTests/BoundTypeChangeTests.swift",
        "BoundTypeTests/TestAutomergeText.swift",
        "BoundTypeTests/TestCounter.swift",
        "CodableTests/AnyCodingKeyTests.swift",
        "CodableTests/AutomergeArrayEncodeDecodeTests.swift",
        "CodableTests/AutomergeDecoderTests.swift",
        "CodableTests/AutomergeDictionaryEncodeDecodeTests.swift",
        "CodableTests/AutomergeEncoderTests.swift",
        "CodableTests/AutomergeKeyEncoderImplTests.swift",
        "CodableTests/AutomergeKeyedEncoderDecoderTests.swift",
        "CodableTests/AutomergeSingleValueEncoderImplTests.swift",
        "CodableTests/AutomergeTargettedEncodeDecodeTests.swift",
        "CodableTests/AutomergeTextEncodeDecodeTests.swift",
        "CodableTests/AutomergeUnkeyedEncoderDecoderTests.swift",
        "CodableTests/CounterEncodeDecodeTests.swift",
        "CodableTests/Document+PathElementConversionTests.swift",
        "CodableTests/Document+lookupPathTests.swift",
        "CodableTests/Document+retrieveObjectIdTests.swift",
        "CodableTests/Samples.swift",
        "DocTests/AutomergeDocTests.swift",
        "InteropTests.swift",
        "PresentationIntentsExplorationTest.swift",
        "TestChanges.swift",
        "TestCrud.swift",
        "TestEncodeAndApplyNewChanges.swift",
        "TestForkAndMerge.swift",
        "TestGetAll.swift",
        "TestGetAt.swift",
        "TestHistory.swift",
        "TestIncrement.swift",
        "TestLength.swift",
        "TestMapEntries.swift",
        "TestMapKeys.swift",
        "TestMarks.swift",
        "TestObjectType.swift",
        "TestObservableDocument.swift",
        "TestPatches.swift",
        "TestPath.swift",
        "TestScalarValueConversions.swift",
        "TestSplice.swift",
        "TestSync.swift",
        "TestText.swift",
        "TestValues.swift",
        "TestWasmIntegrity.swift",
        "Utilties/UtilityTests.swift",
        "XCTestCase+MemoryLeakTracking.swift"
      ],
      "target_dependencies" : [
        "Automerge",
        "AutomergeUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Automerge",
      "module_type" : "SwiftTarget",
      "name" : "Automerge",
      "path" : "Sources/Automerge",
      "product_memberships" : [
        "Automerge"
      ],
      "sources" : [
        "ActorId.swift",
        "BoundTypes/AutomergeText.swift",
        "BoundTypes/Counter.swift",
        "Change.swift",
        "ChangeHash.swift",
        "Codable/AnyCodingKey.swift",
        "Codable/BindingError.swift",
        "Codable/Decoding/AutomergeDecoder.swift",
        "Codable/Decoding/AutomergeDecoderImpl.swift",
        "Codable/Decoding/AutomergeKeyedDecodingContainer.swift",
        "Codable/Decoding/AutomergeSingleValueDecodingContainer.swift",
        "Codable/Decoding/AutomergeUnkeyedDecodingContainer.swift",
        "Codable/Document+lookupPath.swift",
        "Codable/Document+retrieveObjectId.swift",
        "Codable/Encoding/AutomergeEncoder.swift",
        "Codable/Encoding/AutomergeEncoderImpl.swift",
        "Codable/Encoding/AutomergeKeyedEncodingContainer.swift",
        "Codable/Encoding/AutomergeSingleValueEncodingContainer.swift",
        "Codable/Encoding/AutomergeUnkeyedEncodingContainer.swift",
        "Codable/Encoding/CodingKeyLookupError.swift",
        "Codable/EncodingContainerType.swift",
        "Codable/SchemaStrategy.swift",
        "Codable/TypeOfAutomergeValue.swift",
        "Cursor.swift",
        "Document+Transferable.swift",
        "Document.swift",
        "Errors.swift",
        "LogVerbosity.swift",
        "Marks.swift",
        "ObjId.swift",
        "ObjType.swift",
        "Patch.swift",
        "PathElement.swift",
        "ScalarValue.swift",
        "ScalarValueRepresentable.swift",
        "SyncState.swift",
        "TextEncoding.swift",
        "Value.swift",
        "_AutomergeLinux.swift"
      ],
      "target_dependencies" : [
        "AutomergeUniffi"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.