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 ParserCombinators, reference master (672588), with Swift 6.1 for Linux on 25 Apr 2025 10:52:39 UTC.

Swift 6 data race errors: 4

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/turbolent/parsercombinators.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/turbolent/parsercombinators
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6725887 also make reader members open
Cloned https://github.com/turbolent/parsercombinators.git
Revision (git rev-parse @):
672588767167a58dc43ceb9bb8e56a497798b16e
SUCCESS checkout https://github.com/turbolent/parsercombinators.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/turbolent/parsercombinators.git
https://github.com/turbolent/parsercombinators.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "trampoline",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/Trampoline.git"
    },
    {
      "identity" : "diffedassertequal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/DiffedAssertEqual.git"
    },
    {
      "identity" : "parserdescription",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/ParserDescription.git"
    }
  ],
  "manifest_display_name" : "ParserCombinators",
  "name" : "ParserCombinators",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ParserCombinators",
      "targets" : [
        "ParserCombinators"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ParserCombinatorOperators",
      "targets" : [
        "ParserCombinatorOperators"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ParserCombinatorsTests",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinatorsTests",
      "path" : "Tests/ParserCombinatorsTests",
      "product_dependencies" : [
        "DiffedAssertEqual",
        "ParserDescription",
        "ParserDescriptionOperators"
      ],
      "sources" : [
        "JSONParserTests.swift",
        "ParserCombinatorsTests.swift",
        "PatternsTests.swift",
        "PositionTests.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ParserCombinators",
        "ParserCombinatorOperators"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ParserCombinators",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinators",
      "path" : "Sources/ParserCombinators",
      "product_dependencies" : [
        "Trampoline",
        "ParserDescription"
      ],
      "product_memberships" : [
        "ParserCombinators",
        "ParserCombinatorOperators"
      ],
      "sources" : [
        "Accept.swift",
        "Capturing.swift",
        "Chain.swift",
        "CollectionReader.swift",
        "Commit.swift",
        "Either.swift",
        "End.swift",
        "FollowedBy.swift",
        "Lazy.swift",
        "Map.swift",
        "NotFollowedBy.swift",
        "Opt.swift",
        "Or.swift",
        "PackratReader.swift",
        "ParseResult.swift",
        "Parser.swift",
        "Patterns.swift",
        "Reader.swift",
        "Recursive.swift",
        "Rep.swift",
        "Seq.swift",
        "Sequenceable.swift",
        "SkipUntil.swift",
        "StringParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ParserCombinatorOperators",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinatorOperators",
      "path" : "Sources/ParserCombinatorOperators",
      "product_memberships" : [
        "ParserCombinatorOperators"
      ],
      "sources" : [
        "Map.swift",
        "Or.swift",
        "Precedence.swift",
        "Seq.swift",
        "StringParser.swift"
      ],
      "target_dependencies" : [
        "ParserCombinators"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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
Fetching https://github.com/turbolent/DiffedAssertEqual.git
Fetching https://github.com/turbolent/Trampoline.git
Fetching https://github.com/turbolent/ParserDescription.git
[1/63] Fetching diffedassertequal
[64/130] Fetching diffedassertequal, trampoline
[101/226] Fetching diffedassertequal, trampoline, parserdescription
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.23s)
Fetched https://github.com/turbolent/Trampoline.git from cache (0.24s)
Fetched https://github.com/turbolent/ParserDescription.git from cache (0.24s)
Computing version for https://github.com/turbolent/ParserDescription.git
Computed https://github.com/turbolent/ParserDescription.git at 0.6.0 (0.78s)
Computing version for https://github.com/turbolent/Trampoline.git
Computed https://github.com/turbolent/Trampoline.git at 0.4.1 (0.58s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (0.53s)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.0
Creating working copy for https://github.com/turbolent/ParserDescription.git
Working copy of https://github.com/turbolent/ParserDescription.git resolved at 0.6.0
Creating working copy for https://github.com/turbolent/Trampoline.git
Working copy of https://github.com/turbolent/Trampoline.git resolved at 0.4.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling Trampoline Either.swift
[7/13] Compiling Trampoline Trampoline.swift
[8/13] Emitting module Trampoline
[10/14] Emitting module ParserDescription
[11/14] Compiling ParserDescription Operation.swift
[12/14] Compiling ParserDescription Pattern.swift
[13/14] Compiling ParserDescription Condition.swift
[14/14] Compiling ParserDescription Token.swift
[16/37] Emitting module ParserCombinators
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  5 |
  6 | public struct UnsupportedPatternError: Error {
  7 |     public let pattern: _Pattern
    |                `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  8 | }
  9 |
/host/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
  8 | }
  9 |
 10 | public protocol _Pattern: Codable {
    |                 `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
 11 |     var type: PatternType { get }
 12 | }
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  1 |
  2 | import Foundation
  3 | import ParserDescription
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  4 |
  5 |
/host/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
   |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 |     public static let empty = Unit()
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     private init() {}
16 | }
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
   |            |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespaceCharacter' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
   |            |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespace' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |     whitespaceCharacter.map(Unit.empty).rep()
57 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
[17/40] Compiling ParserCombinators Accept.swift
[18/40] Compiling ParserCombinators Capturing.swift
[19/40] Compiling ParserCombinators Chain.swift
[20/40] Compiling ParserCombinators CollectionReader.swift
[21/40] Compiling ParserCombinators Commit.swift
[22/40] Compiling ParserCombinators Either.swift
[23/40] Compiling ParserCombinators Parser.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  5 |
  6 | public struct UnsupportedPatternError: Error {
  7 |     public let pattern: _Pattern
    |                `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  8 | }
  9 |
/host/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
  8 | }
  9 |
 10 | public protocol _Pattern: Codable {
    |                 `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
 11 |     var type: PatternType { get }
 12 | }
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  1 |
  2 | import Foundation
  3 | import ParserDescription
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  4 |
  5 |
[24/40] Compiling ParserCombinators Patterns.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  5 |
  6 | public struct UnsupportedPatternError: Error {
  7 |     public let pattern: _Pattern
    |                `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  8 | }
  9 |
/host/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
  8 | }
  9 |
 10 | public protocol _Pattern: Codable {
    |                 `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
 11 |     var type: PatternType { get }
 12 | }
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  1 |
  2 | import Foundation
  3 | import ParserDescription
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  4 |
  5 |
[25/40] Compiling ParserCombinators Reader.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  5 |
  6 | public struct UnsupportedPatternError: Error {
  7 |     public let pattern: _Pattern
    |                `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
  8 | }
  9 |
/host/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
  8 | }
  9 |
 10 | public protocol _Pattern: Codable {
    |                 `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
 11 |     var type: PatternType { get }
 12 | }
/host/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  1 |
  2 | import Foundation
  3 | import ParserDescription
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
  4 |
  5 |
[26/40] Compiling ParserCombinators End.swift
[27/40] Compiling ParserCombinators FollowedBy.swift
[28/40] Compiling ParserCombinators Lazy.swift
[29/40] Compiling ParserCombinators Recursive.swift
[30/40] Compiling ParserCombinators Rep.swift
[31/40] Compiling ParserCombinators Seq.swift
[32/40] Compiling ParserCombinators Map.swift
[33/40] Compiling ParserCombinators NotFollowedBy.swift
[34/40] Compiling ParserCombinators Opt.swift
[35/40] Compiling ParserCombinators Or.swift
[36/40] Compiling ParserCombinators PackratReader.swift
[37/40] Compiling ParserCombinators ParseResult.swift
[38/40] Compiling ParserCombinators Sequenceable.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
   |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 |     public static let empty = Unit()
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     private init() {}
16 | }
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
   |            |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespaceCharacter' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
   |            |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespace' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |     whitespaceCharacter.map(Unit.empty).rep()
57 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
[39/40] Compiling ParserCombinators SkipUntil.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
   |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 |     public static let empty = Unit()
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     private init() {}
16 | }
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
   |            |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespaceCharacter' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
   |            |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespace' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |     whitespaceCharacter.map(Unit.empty).rep()
57 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
[40/40] Compiling ParserCombinators StringParser.swift
/host/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
   |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 |     public static let empty = Unit()
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     private init() {}
16 | }
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
   |            |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespaceCharacter' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
/host/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 |     `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
   |            |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'whitespace' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |     whitespaceCharacter.map(Unit.empty).rep()
57 |
/host/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
 2 | import Trampoline
 3 |
 4 | public class Parser<T, Element> {
   |              `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
 5 |     public typealias Input = Reader<Element>
 6 |     public typealias Result = ParseResult<T, Element>
[42/47] Compiling ParserCombinatorOperators Or.swift
[43/47] Compiling ParserCombinatorOperators Map.swift
[44/47] Emitting module ParserCombinatorOperators
[45/47] Compiling ParserCombinatorOperators StringParser.swift
[46/47] Compiling ParserCombinatorOperators Seq.swift
[47/47] Compiling ParserCombinatorOperators Precedence.swift
Build complete! (14.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "trampoline",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/Trampoline.git"
    },
    {
      "identity" : "diffedassertequal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/DiffedAssertEqual.git"
    },
    {
      "identity" : "parserdescription",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/ParserDescription.git"
    }
  ],
  "manifest_display_name" : "ParserCombinators",
  "name" : "ParserCombinators",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ParserCombinators",
      "targets" : [
        "ParserCombinators"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ParserCombinatorOperators",
      "targets" : [
        "ParserCombinatorOperators"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ParserCombinatorsTests",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinatorsTests",
      "path" : "Tests/ParserCombinatorsTests",
      "product_dependencies" : [
        "DiffedAssertEqual",
        "ParserDescription",
        "ParserDescriptionOperators"
      ],
      "sources" : [
        "JSONParserTests.swift",
        "ParserCombinatorsTests.swift",
        "PatternsTests.swift",
        "PositionTests.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ParserCombinators",
        "ParserCombinatorOperators"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ParserCombinators",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinators",
      "path" : "Sources/ParserCombinators",
      "product_dependencies" : [
        "Trampoline",
        "ParserDescription"
      ],
      "product_memberships" : [
        "ParserCombinators",
        "ParserCombinatorOperators"
      ],
      "sources" : [
        "Accept.swift",
        "Capturing.swift",
        "Chain.swift",
        "CollectionReader.swift",
        "Commit.swift",
        "Either.swift",
        "End.swift",
        "FollowedBy.swift",
        "Lazy.swift",
        "Map.swift",
        "NotFollowedBy.swift",
        "Opt.swift",
        "Or.swift",
        "PackratReader.swift",
        "ParseResult.swift",
        "Parser.swift",
        "Patterns.swift",
        "Reader.swift",
        "Recursive.swift",
        "Rep.swift",
        "Seq.swift",
        "Sequenceable.swift",
        "SkipUntil.swift",
        "StringParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ParserCombinatorOperators",
      "module_type" : "SwiftTarget",
      "name" : "ParserCombinatorOperators",
      "path" : "Sources/ParserCombinatorOperators",
      "product_memberships" : [
        "ParserCombinatorOperators"
      ],
      "sources" : [
        "Map.swift",
        "Or.swift",
        "Precedence.swift",
        "Seq.swift",
        "StringParser.swift"
      ],
      "target_dependencies" : [
        "ParserCombinators"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.