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 swift-grammar, reference master (0dac97), with Swift 6.0 for Linux on 16 Jan 2025 02:12:50 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-grammar.git
Reference: master
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/tayloraswift/swift-grammar
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0dac977 remove the obsolete Testing_ module, and its transitive swift-atomics dependency
Cloned https://github.com/tayloraswift/swift-grammar.git
Revision (git rev-parse @):
0dac977b50bf677b2c3adabd7d5586a7b6e09b17
SUCCESS checkout https://github.com/tayloraswift/swift-grammar.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tayloraswift/swift-grammar.git
https://github.com/tayloraswift/swift-grammar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-grammar",
  "name" : "swift-grammar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Grammar",
      "targets" : [
        "Grammar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TraceableErrors",
      "targets" : [
        "TraceableErrors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TraceableErrors",
      "module_type" : "SwiftTarget",
      "name" : "TraceableErrors",
      "path" : "Sources/TraceableErrors",
      "product_memberships" : [
        "Grammar",
        "TraceableErrors"
      ],
      "sources" : [
        "NamedError.swift",
        "TraceableError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Grammar",
      "module_type" : "SwiftTarget",
      "name" : "Grammar",
      "path" : "Sources/Grammar",
      "product_memberships" : [
        "Grammar"
      ],
      "sources" : [
        "Diagnostics/DefaultDiagnostics.swift",
        "Diagnostics/NoDiagnostics.swift",
        "Diagnostics/ParsingDiagnostics.swift",
        "Digit/DigitRule.swift",
        "Digit/UnicodeDigit.swift",
        "Parsing/ASCIITerminal.swift",
        "Parsing/CharacterTerminal.swift",
        "Parsing/Grammar.swift",
        "Parsing/ParsingError.Frame.swift",
        "Parsing/ParsingError.swift",
        "Parsing/ParsingInput.swift",
        "Parsing/UTF16Terminal.swift",
        "Parsing/UTF8Terminal.swift",
        "Parsing/UnicodeTerminal.swift",
        "Patterns/Pattern.IntegerOverflowError.swift",
        "Patterns/Pattern.UnexpectedEndOfInputError.swift",
        "Patterns/Pattern.UnexpectedValueError.swift",
        "Patterns/Pattern.swift",
        "Rule/AtomicRule.swift",
        "Rule/LiteralRule.swift",
        "Rule/ParsingRule.swift",
        "Rule/TerminalRule.swift",
        "Rule/UnicodeEncoding.Newline.swift",
        "Rule/UnicodeEncoding.swift"
      ],
      "target_dependencies" : [
        "TraceableErrors"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling TraceableErrors NamedError.swift
[5/6] Emitting module TraceableErrors
[6/6] Compiling TraceableErrors TraceableError.swift
[8/29] Compiling Grammar CharacterTerminal.swift
[9/29] Compiling Grammar Grammar.swift
[10/29] Compiling Grammar ParsingError.Frame.swift
[11/32] Compiling Grammar UTF8Terminal.swift
[12/32] Compiling Grammar UnicodeTerminal.swift
[13/32] Compiling Grammar Pattern.IntegerOverflowError.swift
[14/32] Compiling Grammar AtomicRule.swift
[15/32] Compiling Grammar LiteralRule.swift
[16/32] Compiling Grammar ParsingRule.swift
[17/32] Compiling Grammar Pattern.UnexpectedEndOfInputError.swift
[18/32] Compiling Grammar Pattern.UnexpectedValueError.swift
[19/32] Compiling Grammar Pattern.swift
[20/32] Compiling Grammar DigitRule.swift
[21/32] Compiling Grammar UnicodeDigit.swift
[22/32] Compiling Grammar ASCIITerminal.swift
[23/32] Compiling Grammar ParsingError.swift
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
 12 | @frozen public
 13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
    |                     `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
 14 | {
 15 |     /// The underlying parsing error.
    :
 22 |     /// index comes from the longest successful parse.
 23 |     public
 24 |     let index:Index
    |         `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 25 |     public
 26 |     let trace:[Frame]
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 24 |     let index:Index
 25 |     public
 26 |     let trace:[Frame]
    |         `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 27 |
 28 |     @inlinable public
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
 5 |     /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
 6 |     @frozen public
 7 |     struct Frame
   |            `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
 8 |     {
 9 |         /// Indicates the position in the ``ParsingInput.source`` where
[24/32] Compiling Grammar ParsingInput.swift
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
 12 | @frozen public
 13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
    |                     `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
 14 | {
 15 |     /// The underlying parsing error.
    :
 22 |     /// index comes from the longest successful parse.
 23 |     public
 24 |     let index:Index
    |         `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 25 |     public
 26 |     let trace:[Frame]
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 24 |     let index:Index
 25 |     public
 26 |     let trace:[Frame]
    |         `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 27 |
 28 |     @inlinable public
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
 5 |     /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
 6 |     @frozen public
 7 |     struct Frame
   |            `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
 8 |     {
 9 |         /// Indicates the position in the ``ParsingInput.source`` where
[25/32] Compiling Grammar UTF16Terminal.swift
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
 12 | @frozen public
 13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
    |                     `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
 14 | {
 15 |     /// The underlying parsing error.
    :
 22 |     /// index comes from the longest successful parse.
 23 |     public
 24 |     let index:Index
    |         `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 25 |     public
 26 |     let trace:[Frame]
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 24 |     let index:Index
 25 |     public
 26 |     let trace:[Frame]
    |         `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 27 |
 28 |     @inlinable public
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
 5 |     /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
 6 |     @frozen public
 7 |     struct Frame
   |            `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
 8 |     {
 9 |         /// Indicates the position in the ``ParsingInput.source`` where
[26/32] Compiling Grammar DefaultDiagnostics.swift
[27/32] Compiling Grammar NoDiagnostics.swift
[28/32] Compiling Grammar ParsingDiagnostics.swift
[29/32] Emitting module Grammar
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
 12 | @frozen public
 13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
    |                     `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
 14 | {
 15 |     /// The underlying parsing error.
    :
 22 |     /// index comes from the longest successful parse.
 23 |     public
 24 |     let index:Index
    |         `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
 25 |     public
 26 |     let trace:[Frame]
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 24 |     let index:Index
 25 |     public
 26 |     let trace:[Frame]
    |         `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
 27 |
 28 |     @inlinable public
/host/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
 5 |     /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
 6 |     @frozen public
 7 |     struct Frame
   |            `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
 8 |     {
 9 |         /// Indicates the position in the ``ParsingInput.source`` where
[30/32] Compiling Grammar TerminalRule.swift
[31/32] Compiling Grammar UnicodeEncoding.Newline.swift
[32/32] Compiling Grammar UnicodeEncoding.swift
Build complete! (7.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-grammar",
  "name" : "swift-grammar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Grammar",
      "targets" : [
        "Grammar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TraceableErrors",
      "targets" : [
        "TraceableErrors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TraceableErrors",
      "module_type" : "SwiftTarget",
      "name" : "TraceableErrors",
      "path" : "Sources/TraceableErrors",
      "product_memberships" : [
        "Grammar",
        "TraceableErrors"
      ],
      "sources" : [
        "NamedError.swift",
        "TraceableError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Grammar",
      "module_type" : "SwiftTarget",
      "name" : "Grammar",
      "path" : "Sources/Grammar",
      "product_memberships" : [
        "Grammar"
      ],
      "sources" : [
        "Diagnostics/DefaultDiagnostics.swift",
        "Diagnostics/NoDiagnostics.swift",
        "Diagnostics/ParsingDiagnostics.swift",
        "Digit/DigitRule.swift",
        "Digit/UnicodeDigit.swift",
        "Parsing/ASCIITerminal.swift",
        "Parsing/CharacterTerminal.swift",
        "Parsing/Grammar.swift",
        "Parsing/ParsingError.Frame.swift",
        "Parsing/ParsingError.swift",
        "Parsing/ParsingInput.swift",
        "Parsing/UTF16Terminal.swift",
        "Parsing/UTF8Terminal.swift",
        "Parsing/UnicodeTerminal.swift",
        "Patterns/Pattern.IntegerOverflowError.swift",
        "Patterns/Pattern.UnexpectedEndOfInputError.swift",
        "Patterns/Pattern.UnexpectedValueError.swift",
        "Patterns/Pattern.swift",
        "Rule/AtomicRule.swift",
        "Rule/LiteralRule.swift",
        "Rule/ParsingRule.swift",
        "Rule/TerminalRule.swift",
        "Rule/UnicodeEncoding.Newline.swift",
        "Rule/UnicodeEncoding.swift"
      ],
      "target_dependencies" : [
        "TraceableErrors"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.