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 FFCParserCombinator, reference 1.0.2 (e54c00), with Swift 6.1 for Linux on 26 Apr 2025 07:55:09 UTC.

Swift 6 data race errors: 10

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/fcanas/FFCParserCombinator.git
Reference: 1.0.2
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/fcanas/FFCParserCombinator
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at e54c006 Fix Double parsing
Cloned https://github.com/fcanas/FFCParserCombinator.git
Revision (git rev-parse @):
e54c0067289be524eb877bec50a9f6b301fbf808
SUCCESS checkout https://github.com/fcanas/FFCParserCombinator.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fcanas/FFCParserCombinator.git
https://github.com/fcanas/FFCParserCombinator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FFCParserCombinator",
  "name" : "FFCParserCombinator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FFCParserCombinator",
      "targets" : [
        "FFCParserCombinator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FFCParserCombinatorTests",
      "module_type" : "SwiftTarget",
      "name" : "FFCParserCombinatorTests",
      "path" : "Tests/FFCParserCombinatorTests",
      "sources" : [
        "FFCParserCombinatorTests.swift",
        "StringParsing.swift"
      ],
      "target_dependencies" : [
        "FFCParserCombinator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FFCParserCombinator",
      "module_type" : "SwiftTarget",
      "name" : "FFCParserCombinator",
      "path" : "Sources/FFCParserCombinator",
      "product_memberships" : [
        "FFCParserCombinator"
      ],
      "sources" : [
        "FFCParserCombinator.swift",
        "StringParsing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/5] Emitting module FFCParserCombinator
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:228:23: warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
226 |     /// A `Parser` that matches and returns single decimal digit, `[0-9]` as
227 |     /// a `Character` from a `Substring`.
228 |     public static let digit = CharacterSet.decimalDigits.parser()
    |                       |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'digit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 |     /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:232:23: warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
230 |     /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
231 |     /// a `Character` from a `Substring`.
232 |     public static let hexDigit = CharacterSet.decimalDigits.union(CharacterSet(charactersIn: "A"..."F")).parser()
    |                       |- warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hexDigit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 |
234 |     // Fragments
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:238:23: warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
236 |     /// A `Parser` that matches and returns "0x" or "0X" as a `String` from a
237 |     /// 'Substring'.
238 |     public static let hexPrefix = "0x".parser() <|> "0X".parser()
    |                       |- warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hexPrefix' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 |     /// A `Parser` that matches and returns single decimal dot, `.`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:242:23: warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
240 |     /// A `Parser` that matches and returns single decimal dot, `.`, as
241 |     /// a `String` from a `Substring`.
242 |     public static let decimalPoint = ".".parser()
    |                       |- warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'decimalPoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 |     /// A `Parser` that matches and returns single decimal hyphen, `-`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:246:23: warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
244 |     /// A `Parser` that matches and returns single decimal hyphen, `-`, as
245 |     /// a `String` from a `Substring`.
246 |     public static let negation = "-".parser()
    |                       |- warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'negation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 |     /// A `Parser` that matches and returns a double-quote, `"`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:250:23: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
248 |     /// A `Parser` that matches and returns a double-quote, `"`, as
249 |     /// a `String` from a `Substring`.
250 |     public static let quote = "\"".parser()
    |                       |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'quote' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 |     /// A `Parser` that matches and returns a single x, `x`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:254:23: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
252 |     /// A `Parser` that matches and returns a single x, `x`, as
253 |     /// a `String` from a `Substring`.
254 |     public static let x = character { $0 == "x" }
    |                       |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'x' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 |     /// A `Parser` that matches an abribrarily long sequence of decimal
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:263:23: warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
261 |     /// { String($0) } <^> digit.many1
262 |     /// ```
263 |     public static let numericString = { String($0) } <^> digit.many1
    |                       |- warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'numericString' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 |     /// A `Parser` that matches an abribrarily long sequence of decimal
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:273:23: warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
271 |     /// numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
272 |     /// ```
273 |     public static let floatingPointString = numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
    |                       |- warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'floatingPointString' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     /// A `Parser` matching either a line feed carriage return, `\n\r`,
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:282:23: warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
280 |     /// character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
281 |     /// ```
282 |     public static let newline = character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
    |                       |- warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'newline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 | }
284 |
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
[4/5] Compiling FFCParserCombinator FFCParserCombinator.swift
[5/5] Compiling FFCParserCombinator StringParsing.swift
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:228:23: warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
226 |     /// A `Parser` that matches and returns single decimal digit, `[0-9]` as
227 |     /// a `Character` from a `Substring`.
228 |     public static let digit = CharacterSet.decimalDigits.parser()
    |                       |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'digit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 |     /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:232:23: warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
230 |     /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
231 |     /// a `Character` from a `Substring`.
232 |     public static let hexDigit = CharacterSet.decimalDigits.union(CharacterSet(charactersIn: "A"..."F")).parser()
    |                       |- warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hexDigit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 |
234 |     // Fragments
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:238:23: warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
236 |     /// A `Parser` that matches and returns "0x" or "0X" as a `String` from a
237 |     /// 'Substring'.
238 |     public static let hexPrefix = "0x".parser() <|> "0X".parser()
    |                       |- warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hexPrefix' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 |     /// A `Parser` that matches and returns single decimal dot, `.`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:242:23: warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
240 |     /// A `Parser` that matches and returns single decimal dot, `.`, as
241 |     /// a `String` from a `Substring`.
242 |     public static let decimalPoint = ".".parser()
    |                       |- warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'decimalPoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 |     /// A `Parser` that matches and returns single decimal hyphen, `-`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:246:23: warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
244 |     /// A `Parser` that matches and returns single decimal hyphen, `-`, as
245 |     /// a `String` from a `Substring`.
246 |     public static let negation = "-".parser()
    |                       |- warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'negation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 |     /// A `Parser` that matches and returns a double-quote, `"`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:250:23: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
248 |     /// A `Parser` that matches and returns a double-quote, `"`, as
249 |     /// a `String` from a `Substring`.
250 |     public static let quote = "\"".parser()
    |                       |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'quote' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 |     /// A `Parser` that matches and returns a single x, `x`, as
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:254:23: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
252 |     /// A `Parser` that matches and returns a single x, `x`, as
253 |     /// a `String` from a `Substring`.
254 |     public static let x = character { $0 == "x" }
    |                       |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'x' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 |     /// A `Parser` that matches an abribrarily long sequence of decimal
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:263:23: warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
261 |     /// { String($0) } <^> digit.many1
262 |     /// ```
263 |     public static let numericString = { String($0) } <^> digit.many1
    |                       |- warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'numericString' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 |     /// A `Parser` that matches an abribrarily long sequence of decimal
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:273:23: warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
271 |     /// numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
272 |     /// ```
273 |     public static let floatingPointString = numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
    |                       |- warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'floatingPointString' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     /// A `Parser` matching either a line feed carriage return, `\n\r`,
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
/host/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:282:23: warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
280 |     /// character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
281 |     /// ```
282 |     public static let newline = character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
    |                       |- warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'newline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 | }
284 |
/host/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 16 | ///
 17 | /// See static parsers in `BasicParser` for simple examples.
 18 | public struct Parser<S, A> {
    |               `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
 19 |     let parse: (S) -> (A, S)?
 20 | }
Build complete! (7.59s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FFCParserCombinator",
  "name" : "FFCParserCombinator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FFCParserCombinator",
      "targets" : [
        "FFCParserCombinator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FFCParserCombinatorTests",
      "module_type" : "SwiftTarget",
      "name" : "FFCParserCombinatorTests",
      "path" : "Tests/FFCParserCombinatorTests",
      "sources" : [
        "FFCParserCombinatorTests.swift",
        "StringParsing.swift"
      ],
      "target_dependencies" : [
        "FFCParserCombinator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FFCParserCombinator",
      "module_type" : "SwiftTarget",
      "name" : "FFCParserCombinator",
      "path" : "Sources/FFCParserCombinator",
      "product_memberships" : [
        "FFCParserCombinator"
      ],
      "sources" : [
        "FFCParserCombinator.swift",
        "StringParsing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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.