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 Primer, reference master (b8cd64), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:41:14 UTC.

Swift 6 data race errors: 0

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/alexdrone/Primer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexdrone/Primer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b8cd645 Remove store related files.
Cloned https://github.com/alexdrone/Primer.git
Revision (git rev-parse @):
b8cd645f29470270bcedde7b03a596b83579831b
SUCCESS checkout https://github.com/alexdrone/Primer.git at master
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (1.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.60s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
========================================
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": "primer",
      "name": "Primer",
      "url": "https://github.com/alexdrone/Primer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Primer",
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics.git",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alexdrone/Primer.git
[1/324] Fetching primer
Fetched https://github.com/alexdrone/Primer.git from cache (0.98s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/alexdrone/Primer.git
Working copy of https://github.com/alexdrone/Primer.git resolved at master (b8cd645)
warning: '.resolve-product-dependencies': dependency 'primer' is not used by any target
Found 2 product dependencies
  - swift-atomics
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexdrone/Primer.git
https://github.com/alexdrone/Primer.git
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Primer",
  "name" : "Primer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Primer",
      "targets" : [
        "Primer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrimerTests",
      "module_type" : "SwiftTarget",
      "name" : "PrimerTests",
      "path" : "Tests/PrimerTests",
      "sources" : [
        "BasicTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Primer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Primer",
      "module_type" : "SwiftTarget",
      "name" : "Primer",
      "path" : "Sources/Primer",
      "product_dependencies" : [
        "Atomics",
        "Logging"
      ],
      "product_memberships" : [
        "Primer"
      ],
      "sources" : [
        "Assign.swift",
        "Concurrency/Atomics.swift",
        "Concurrency/Locking.swift",
        "Concurrency/PropertyWrappers.swift",
        "Extensions/Binding.swift",
        "Extensions/KeyPath+ReadableFormat.swift",
        "Partial.swift",
        "ReadOnly.swift",
        "Serialization/DictionaryCodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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
[3/5] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling _AtomicsShims.c
[6/21] Compiling Atomics DoubleWord.swift
[7/21] Compiling Atomics AtomicOptional.swift
[8/21] Compiling Atomics AtomicRawRepresentable.swift
[9/22] Compiling Atomics AtomicLazyReference.swift
[10/22] Compiling Atomics AtomicStrongReference.swift
[11/22] Compiling Atomics AtomicInteger.swift
[12/22] Compiling Atomics AtomicMemoryOrderings.swift
[13/22] Compiling Atomics PointerConformances.swift
[14/22] Emitting module Atomics
[15/22] Compiling Atomics HighLevelTypes.swift
[16/22] Compiling Atomics AtomicBool.swift
[17/22] Compiling Atomics AtomicValue.swift
[18/22] Compiling Atomics IntegerConformances.swift
[19/22] Compiling Logging Logging.swift
[20/22] Compiling Logging LogHandler.swift
[21/22] Compiling Logging Locks.swift
[22/22] Emitting module Logging
[23/32] Compiling Primer Partial.swift
[24/32] Compiling Primer ReadOnly.swift
[25/32] Compiling Primer Locking.swift
[26/32] Compiling Primer KeyPath+ReadableFormat.swift
[27/32] Compiling Primer DictionaryCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Serialization/DictionaryCodable.swift:484:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
482 |
483 | extension DictionaryDecoder {
484 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
485 |     storage.push(container: container)
486 |     return try unbox(container, as: T.self)
[28/32] Compiling Primer PropertyWrappers.swift
[29/32] Emitting module Primer
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Concurrency/Atomics.swift:4:1: warning: extension declares a conformance of imported type 'ManagedAtomic' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Atomics' introduce this conformance in the future
2 | import Atomics
3 |
4 | extension ManagedAtomic: @unchecked Sendable { }
  | |- warning: extension declares a conformance of imported type 'ManagedAtomic' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Atomics' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Serialization/DictionaryCodable.swift:484:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
482 |
483 | extension DictionaryDecoder {
484 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
485 |     storage.push(container: container)
486 |     return try unbox(container, as: T.self)
[30/32] Compiling Primer Atomics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Concurrency/Atomics.swift:4:1: warning: extension declares a conformance of imported type 'ManagedAtomic' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Atomics' introduce this conformance in the future
2 | import Atomics
3 |
4 | extension ManagedAtomic: @unchecked Sendable { }
  | |- warning: extension declares a conformance of imported type 'ManagedAtomic' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Atomics' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |
[31/32] Compiling Primer Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:8:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
 4 |
 5 | /// Optional Coalescing for `Binding`.
 6 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 |   Binding(
 8 |     get: { lhs.wrappedValue ?? rhs },
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
 9 |     set: { lhs.wrappedValue = $0 }
10 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:8:32: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
 4 |
 5 | /// Optional Coalescing for `Binding`.
 6 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 |   Binding(
 8 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
 9 |     set: { lhs.wrappedValue = $0 }
10 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:8:32: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 | /// Optional Coalescing for `Binding`.
 6 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 |   Binding(
 8 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 9 |     set: { lhs.wrappedValue = $0 }
10 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:9:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
 4 |
 5 | /// Optional Coalescing for `Binding`.
 6 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 |   Binding(
 8 |     get: { lhs.wrappedValue ?? rhs },
 9 |     set: { lhs.wrappedValue = $0 }
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
10 |   )
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:17:14: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
15 |   func onUpdate(_ closure: @escaping () -> Void) -> Binding<Value> {
16 |     Binding(
17 |       get: { wrappedValue },
   |              `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
18 |       set: {
19 |         wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:19:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
17 |       get: { wrappedValue },
18 |       set: {
19 |         wrappedValue = $0
   |         `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
20 |         closure()
21 |       })
/Users/admin/builder/spi-builder-workspace/Sources/Primer/Extensions/Binding.swift:20:9: warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
18 |       set: {
19 |         wrappedValue = $0
20 |         closure()
   |         |- warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |       })
22 |   }
[32/32] Compiling Primer Assign.swift
Build complete! (11.32s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Primer",
  "name" : "Primer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Primer",
      "targets" : [
        "Primer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrimerTests",
      "module_type" : "SwiftTarget",
      "name" : "PrimerTests",
      "path" : "Tests/PrimerTests",
      "sources" : [
        "BasicTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Primer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Primer",
      "module_type" : "SwiftTarget",
      "name" : "Primer",
      "path" : "Sources/Primer",
      "product_dependencies" : [
        "Atomics",
        "Logging"
      ],
      "product_memberships" : [
        "Primer"
      ],
      "sources" : [
        "Assign.swift",
        "Concurrency/Atomics.swift",
        "Concurrency/Locking.swift",
        "Concurrency/PropertyWrappers.swift",
        "Extensions/Binding.swift",
        "Extensions/KeyPath+ReadableFormat.swift",
        "Partial.swift",
        "ReadOnly.swift",
        "Serialization/DictionaryCodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.