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 Android on 28 May 2025 21:53:19 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApolloZhu/BoolBuilder.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ApolloZhu/BoolBuilder.git
https://github.com/ApolloZhu/BoolBuilder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BoolBuilder",
  "name" : "BoolBuilder",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module BoolBuilder
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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! (4.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BoolBuilder",
  "name" : "BoolBuilder",
  "path" : "/host/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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.