The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftiePod, reference 1.1.3 (9dd4fb), with Swift 6.1 for Linux on 31 Mar 2026 20:57:22 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/robert-northmind/SwiftiePod.git
Reference: 1.1.3
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/robert-northmind/SwiftiePod
 * tag               1.1.3      -> FETCH_HEAD
HEAD is now at 9dd4fba Merge pull request #7 from robert-northmind/fix/reentrant-self-cycle-detection
Cloned https://github.com/robert-northmind/SwiftiePod.git
Revision (git rev-parse @):
9dd4fba6775e592741761493c212ddf13e0334b8
SUCCESS checkout https://github.com/robert-northmind/SwiftiePod.git at 1.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/robert-northmind/SwiftiePod.git
https://github.com/robert-northmind/SwiftiePod.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftiePod",
  "name" : "SwiftiePod",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftiePod",
      "targets" : [
        "SwiftiePod"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftiePodTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftiePodTests",
      "path" : "Tests/SwiftiePodTests",
      "sources" : [
        "AnyProviderTests.swift",
        "ProcessingAnyProvidersTest.swift",
        "ProviderScopeTests.swift",
        "ProviderTests.swift",
        "ReentrantResolveTests.swift",
        "SwiftiePodTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "SwiftiePod"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftiePod",
      "module_type" : "SwiftTarget",
      "name" : "SwiftiePod",
      "path" : "Sources/SwiftiePod",
      "product_memberships" : [
        "SwiftiePod"
      ],
      "sources" : [
        "AnyProvider.swift",
        "CyclicDependencyHandler.swift",
        "InternalProviderResolver.swift",
        "ProcessingAnyProvider.swift",
        "Provider.swift",
        "ProviderInstanceContainer.swift",
        "ProviderOverrider.swift",
        "ProviderResolver.swift",
        "ProviderScope.swift",
        "SwiftiePod.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Emitting module SwiftiePod
/host/spi-builder-workspace/Sources/SwiftiePod/CyclicDependencyHandler.swift:12:5: warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Internal handler for cyclic dependency errors.
11 | /// Replaceable to allow testing code paths that trigger cycle detection.
12 | var cyclicDependencyHandler: (String) -> Never = { message in
   |     |- warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'cyclicDependencyHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'cyclicDependencyHandler' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     Swift.fatalError(message)
14 | }
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:28:17: warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
26 |     private let processingAnyProviders: ProcessingAnyProviders
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
30 |
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:29:17: warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 |
31 |     func resolve<T>(_ originalProvider: Provider<T>) -> T {
[4/13] Compiling SwiftiePod ProviderResolver.swift
[5/13] Compiling SwiftiePod ProviderScope.swift
[6/13] Compiling SwiftiePod SwiftiePod.swift
[7/13] Compiling SwiftiePod InternalProviderResolver.swift
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:28:17: warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
26 |     private let processingAnyProviders: ProcessingAnyProviders
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
30 |
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:29:17: warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 |
31 |     func resolve<T>(_ originalProvider: Provider<T>) -> T {
[8/13] Compiling SwiftiePod ProcessingAnyProvider.swift
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:28:17: warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
26 |     private let processingAnyProviders: ProcessingAnyProviders
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildStart' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
30 |
/host/spi-builder-workspace/Sources/SwiftiePod/InternalProviderResolver.swift:29:17: warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
27 |     private let providerOverrider: ProviderOverrider
28 |     private let onBuildStart: ((ObjectIdentifier) -> Void)?
29 |     private let onBuildEnd: ((ObjectIdentifier) -> Void)?
   |                 |- warning: stored property 'onBuildEnd' of 'Sendable'-conforming struct 'InternalProviderResolver' has non-sendable type '((ObjectIdentifier) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 |
31 |     func resolve<T>(_ originalProvider: Provider<T>) -> T {
[9/13] Compiling SwiftiePod AnyProvider.swift
/host/spi-builder-workspace/Sources/SwiftiePod/CyclicDependencyHandler.swift:12:5: warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Internal handler for cyclic dependency errors.
11 | /// Replaceable to allow testing code paths that trigger cycle detection.
12 | var cyclicDependencyHandler: (String) -> Never = { message in
   |     |- warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'cyclicDependencyHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'cyclicDependencyHandler' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     Swift.fatalError(message)
14 | }
[10/13] Compiling SwiftiePod CyclicDependencyHandler.swift
/host/spi-builder-workspace/Sources/SwiftiePod/CyclicDependencyHandler.swift:12:5: warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Internal handler for cyclic dependency errors.
11 | /// Replaceable to allow testing code paths that trigger cycle detection.
12 | var cyclicDependencyHandler: (String) -> Never = { message in
   |     |- warning: var 'cyclicDependencyHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'cyclicDependencyHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'cyclicDependencyHandler' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     Swift.fatalError(message)
14 | }
[11/13] Compiling SwiftiePod Provider.swift
[12/13] Compiling SwiftiePod ProviderInstanceContainer.swift
[13/13] Compiling SwiftiePod ProviderOverrider.swift
Build complete! (17.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftiePod",
  "name" : "SwiftiePod",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftiePod",
      "targets" : [
        "SwiftiePod"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftiePodTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftiePodTests",
      "path" : "Tests/SwiftiePodTests",
      "sources" : [
        "AnyProviderTests.swift",
        "ProcessingAnyProvidersTest.swift",
        "ProviderScopeTests.swift",
        "ProviderTests.swift",
        "ReentrantResolveTests.swift",
        "SwiftiePodTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "SwiftiePod"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftiePod",
      "module_type" : "SwiftTarget",
      "name" : "SwiftiePod",
      "path" : "Sources/SwiftiePod",
      "product_memberships" : [
        "SwiftiePod"
      ],
      "sources" : [
        "AnyProvider.swift",
        "CyclicDependencyHandler.swift",
        "InternalProviderResolver.swift",
        "ProcessingAnyProvider.swift",
        "Provider.swift",
        "ProviderInstanceContainer.swift",
        "ProviderOverrider.swift",
        "ProviderResolver.swift",
        "ProviderScope.swift",
        "SwiftiePod.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.