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 Prex, reference 0.3.0 (d6c198), with Swift 6.1 for Linux on 25 Apr 2025 13:45:16 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marty-suzuki/Prex.git
Reference: 0.3.0
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/marty-suzuki/Prex
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at d6c198f update podspec
Cloned https://github.com/marty-suzuki/Prex.git
Revision (git rev-parse @):
d6c198fc96e0155f658be55a1798aaa287acdc1b
SUCCESS checkout https://github.com/marty-suzuki/Prex.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marty-suzuki/Prex.git
https://github.com/marty-suzuki/Prex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prex",
  "name" : "Prex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prex",
      "targets" : [
        "Prex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrexTests",
      "module_type" : "SwiftTarget",
      "name" : "PrexTests",
      "path" : "Tests/PrexTests",
      "sources" : [
        "Components.swift",
        "DispatcherTests.swift",
        "PresenterTests.swift",
        "PubSubTests.swift",
        "StoreTests.swift",
        "ValueChangeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Prex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prex",
      "module_type" : "SwiftTarget",
      "name" : "Prex",
      "path" : "Sources/Prex",
      "product_memberships" : [
        "Prex"
      ],
      "sources" : [
        "Flux/Action.swift",
        "Flux/Dispatcher.swift",
        "Flux/Flux.swift",
        "Flux/Store.swift",
        "Flux/View.swift",
        "Mutation.swift",
        "Presenter.swift",
        "State.swift",
        "StateChange.swift",
        "Subscription.swift",
        "internal/PubSub.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Prex Subscription.swift
[4/13] Compiling Prex StateChange.swift
[5/14] Compiling Prex State.swift
[6/14] Emitting module Prex
[7/14] Compiling Prex PubSub.swift
[8/14] Compiling Prex View.swift
[9/14] Compiling Prex Mutation.swift
[10/14] Compiling Prex Action.swift
[11/14] Compiling Prex Dispatcher.swift
[12/14] Compiling Prex Flux.swift
[13/14] Compiling Prex Store.swift
[14/14] Compiling Prex Presenter.swift
/host/spi-builder-workspace/Sources/Prex/Presenter.swift:46:21: warning: sending '_view' risks causing data races; this is an error in the Swift 6 language mode
44 |             } else {
45 |                 DispatchQueue.main.async {
46 |                     _view.reflect(change: change)
   |                     |- warning: sending '_view' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated '_view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 |                 }
48 |             }
/host/spi-builder-workspace/Sources/Prex/Presenter.swift:46:43: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
44 |             } else {
45 |                 DispatchQueue.main.async {
46 |                     _view.reflect(change: change)
   |                                           |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
   |                                           `- note: task-isolated 'change' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 |                 }
48 |             }
Build complete! (11.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prex",
  "name" : "Prex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prex",
      "targets" : [
        "Prex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrexTests",
      "module_type" : "SwiftTarget",
      "name" : "PrexTests",
      "path" : "Tests/PrexTests",
      "sources" : [
        "Components.swift",
        "DispatcherTests.swift",
        "PresenterTests.swift",
        "PubSubTests.swift",
        "StoreTests.swift",
        "ValueChangeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Prex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prex",
      "module_type" : "SwiftTarget",
      "name" : "Prex",
      "path" : "Sources/Prex",
      "product_memberships" : [
        "Prex"
      ],
      "sources" : [
        "Flux/Action.swift",
        "Flux/Dispatcher.swift",
        "Flux/Flux.swift",
        "Flux/Store.swift",
        "Flux/View.swift",
        "Mutation.swift",
        "Presenter.swift",
        "State.swift",
        "StateChange.swift",
        "Subscription.swift",
        "internal/PubSub.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.