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 BoolBuilder, reference main (38d5f6), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 22:56:43 UTC.

Swift 6 data race errors: 4

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/ApolloZhu/BoolBuilder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ApolloZhu/BoolBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 38d5f66 Bool Builder
Cloned https://github.com/ApolloZhu/BoolBuilder.git
Revision (git rev-parse @):
38d5f6662cccaecb07a03c3ae488457036b5a878
SUCCESS checkout https://github.com/ApolloZhu/BoolBuilder.git at main
========================================
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": "boolbuilder",
      "name": "BoolBuilder",
      "url": "https://github.com/ApolloZhu/BoolBuilder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BoolBuilder",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ApolloZhu/BoolBuilder.git
[1/15] Fetching boolbuilder
Fetched https://github.com/ApolloZhu/BoolBuilder.git from cache (0.61s)
Creating working copy for https://github.com/ApolloZhu/BoolBuilder.git
Working copy of https://github.com/ApolloZhu/BoolBuilder.git resolved at main (38d5f66)
warning: '.resolve-product-dependencies': dependency 'boolbuilder' 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/ApolloZhu/BoolBuilder.git
https://github.com/ApolloZhu/BoolBuilder.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BoolBuilder",
  "name" : "BoolBuilder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BoolBuilder",
      "targets" : [
        "BoolBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BoolBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BoolBuilderTests",
      "path" : "Tests/BoolBuilderTests",
      "sources" : [
        "BoolBuilderTests.swift"
      ],
      "target_dependencies" : [
        "BoolBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BoolBuilder",
      "module_type" : "SwiftTarget",
      "name" : "BoolBuilder",
      "path" : "Sources/BoolBuilder",
      "product_memberships" : [
        "BoolBuilder"
      ],
      "sources" : [
        "BoolBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module BoolBuilder
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:56:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
 54 | @resultBuilder
 55 | public enum AndBuilder: _BoolBuilder {
 56 |     public static let combinePartialResult: Operator = { $0 && $1() }
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:79:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
 77 | @resultBuilder
 78 | public enum OrBuilder: _BoolBuilder {
 79 |     public static let combinePartialResult: Operator = { $0 || $1() }
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:166:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
164 | @resultBuilder
165 | public enum ThrowingAndBuilder: _ThrowingBoolBuilder {
166 |     public static let combinePartialResult: Operator = (&&)
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     @available(*, unavailable, message: """
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:178:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
176 | @resultBuilder
177 | public enum ThrowingOrBuilder: _ThrowingBoolBuilder {
178 |     public static let combinePartialResult: Operator = (||)
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: """
[4/4] Compiling BoolBuilder BoolBuilder.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:56:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
 54 | @resultBuilder
 55 | public enum AndBuilder: _BoolBuilder {
 56 |     public static let combinePartialResult: Operator = { $0 && $1() }
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:79:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
 77 | @resultBuilder
 78 | public enum OrBuilder: _BoolBuilder {
 79 |     public static let combinePartialResult: Operator = { $0 || $1() }
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:166:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
164 | @resultBuilder
165 | public enum ThrowingAndBuilder: _ThrowingBoolBuilder {
166 |     public static let combinePartialResult: Operator = (&&)
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     @available(*, unavailable, message: """
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:178:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
176 | @resultBuilder
177 | public enum ThrowingOrBuilder: _ThrowingBoolBuilder {
178 |     public static let combinePartialResult: Operator = (||)
    |                       |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'combinePartialResult' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: """
Build complete! (0.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BoolBuilder",
  "name" : "BoolBuilder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BoolBuilder",
      "targets" : [
        "BoolBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BoolBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BoolBuilderTests",
      "path" : "Tests/BoolBuilderTests",
      "sources" : [
        "BoolBuilderTests.swift"
      ],
      "target_dependencies" : [
        "BoolBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BoolBuilder",
      "module_type" : "SwiftTarget",
      "name" : "BoolBuilder",
      "path" : "Sources/BoolBuilder",
      "product_memberships" : [
        "BoolBuilder"
      ],
      "sources" : [
        "BoolBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.