The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SION, reference main (3bc9fb), with Swift 6.1 for Linux on 26 Sep 2026 18:14:08 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-sion.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/dankogai/swift-sion
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3bc9fb8 Fix macOS 15 deprecation warning in init(jsonURL:)
Cloned https://github.com/dankogai/swift-sion.git
Revision (git rev-parse @):
3bc9fb82809bd2e7138d0ba803df8f774f2585b5
SUCCESS checkout https://github.com/dankogai/swift-sion.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-sion.git
https://github.com/dankogai/swift-sion.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling SION SION.swift
/host/spi-builder-workspace/Sources/SION/SION.swift:488:24: warning: static property 'reToken' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
 486 | extension SION {
 487 |     /// tokenizer regex — compiled once per process rather than on every parse call
 488 |     private static let reToken:Regex<AnyRegexOutput> = {
     |                        |- warning: static property 'reToken' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'reToken' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 489 |         let s_null = "nil"
 490 |         let s_bool = "true|false"
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     public typealias RegexOutput = Output
/host/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 795 | }
 796 | extension SION {
 797 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 798 |         case notASIONType
 799 |         case notIterable(SION.ContentType)
[5/11] Emitting module SION
/host/spi-builder-workspace/Sources/SION/SION.swift:488:24: warning: static property 'reToken' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
 486 | extension SION {
 487 |     /// tokenizer regex — compiled once per process rather than on every parse call
 488 |     private static let reToken:Regex<AnyRegexOutput> = {
     |                        |- warning: static property 'reToken' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'reToken' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 489 |         let s_null = "nil"
 490 |         let s_bool = "true|false"
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     public typealias RegexOutput = Output
/host/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 795 | }
 796 | extension SION {
 797 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 798 |         case notASIONType
 799 |         case notIterable(SION.ContentType)
[6/12] Wrapping AST for SION for debugging
[7/12] Write Objects.LinkFileList
[9/14] Compiling SIONRun main.swift
[10/14] Emitting module SIONRun
[10/15] Linking libSION.so
[12/15] Wrapping AST for SIONRun for debugging
[13/15] Write Objects.LinkFileList
[14/15] Linking SIONRun
Build complete! (4.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SION",
  "name" : "SION",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SION",
      "targets" : [
        "SION"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SIONRun",
      "targets" : [
        "SIONRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SIONTests",
      "module_type" : "SwiftTarget",
      "name" : "SIONTests",
      "path" : "Tests/SIONTests",
      "sources" : [
        "SIONTests.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SIONRun",
      "module_type" : "SwiftTarget",
      "name" : "SIONRun",
      "path" : "Sources/SIONRun",
      "product_memberships" : [
        "SIONRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SION",
      "module_type" : "SwiftTarget",
      "name" : "SION",
      "path" : "Sources/SION",
      "product_memberships" : [
        "SION",
        "SIONRun"
      ],
      "sources" : [
        "SION.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.