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 Baby, reference 0.32.0 (45a30b), with Swift 6.1 for Linux on 25 Apr 2025 15:21:23 UTC.

Swift 6 data race errors: 13

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/nixzhu/baby.git
Reference: 0.32.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nixzhu/baby
 * tag               0.32.0     -> FETCH_HEAD
HEAD is now at 45a30b6 0.32.0
Cloned https://github.com/nixzhu/baby.git
Revision (git rev-parse @):
45a30b67fbca78735cd46e254a1045ba03bb2995
SUCCESS checkout https://github.com/nixzhu/baby.git at 0.32.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nixzhu/baby.git
https://github.com/nixzhu/baby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Baby",
  "name" : "Baby",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BabyBrain",
      "targets" : [
        "BabyBrain"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "baby",
      "targets" : [
        "Baby"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BabyBrain",
      "module_type" : "SwiftTarget",
      "name" : "BabyBrain",
      "path" : "Sources/BabyBrain",
      "product_memberships" : [
        "BabyBrain",
        "baby"
      ],
      "sources" : [
        "Code.swift",
        "Indentation.swift",
        "Meta.swift",
        "Parser.swift",
        "Value+Code.swift",
        "Value.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Baby",
      "module_type" : "SwiftTarget",
      "name" : "Baby",
      "path" : "Sources/Baby",
      "product_memberships" : [
        "baby"
      ],
      "sources" : [
        "Arguments.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BabyBrain"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling BabyBrain Indentation.swift
[5/14] Compiling BabyBrain Value+Code.swift
[6/14] Compiling BabyBrain Parser.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:139:13: warning: let 'spaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
137 | // Helpers
138 |
139 | private let spaces: Parser<String> = {
    |             |- warning: let 'spaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'spaces' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |     let space = one(of: [
141 |         character(" "),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:154:13: warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
152 | // Parsers
153 |
154 | private let null: Parser<Value> = {
    |             |- warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'null' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |     return map(eatRight(word("null"), spaces)) { _ in Value.null(optionalValue: nil) }
156 | }()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:158:13: warning: let 'bool' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
156 | }()
157 |
158 | private let bool: Parser<Value> = {
    |             |- warning: let 'bool' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'bool' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     let `true` = map(eatRight(word("true"), spaces)) { _ in true }
160 |     let `false` = map(eatRight(word("false"), spaces)) { _ in false }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:164:13: warning: let 'number' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
162 | }()
163 |
164 | private let number: Parser<Value> = {
    |             |- warning: let 'number' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'number' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     let optionalSign = optional(character("-"))
166 |     let zero = word("0")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:195:13: warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
193 | }()
194 |
195 | private let quotedString: Parser<String> = {
    |             |- warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'quotedString' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |     let unescapedCharacter = satisfy({ $0 != "\\" && $0 != "\"" })
197 |     let escapedCharacter = one(of: [
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:225:13: warning: let 'string' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
223 | }()
224 |
225 | private let string: Parser<Value> = {
    |             |- warning: let 'string' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'string' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |     return map(eatRight(quotedString, spaces)) { Value.string(value: $0) }
227 | }()
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:229:13: warning: var '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
227 | }()
228 |
229 | private var _value: Parser<Value>?
    |             |- warning: var '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var '_value' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | private let value: Parser<Value> = { stream in
231 |     if let parser = _value {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:230:13: warning: let 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | private var _value: Parser<Value>?
230 | private let value: Parser<Value> = { stream in
    |             |- warning: let 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'value' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |     if let parser = _value {
232 |         return eatLeft(spaces, parser)(stream)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:237:13: warning: let 'object' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
235 | }
236 |
237 | private let object: Parser<Value> = {
    |             |- warning: let 'object' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'object' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |     let beginObject = eatRight(character("{"), spaces)
239 |     let endObject = eatRight(character("}"), spaces)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:254:13: warning: let 'array' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
252 | }()
253 |
254 | private let array: Parser<Value> = {
    |             |- warning: let 'array' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'array' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |     let beginArray = eatRight(character("["), spaces)
256 |     let endArray = eatRight(character("]"), spaces)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:278:13: warning: let 'pair' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' (aka '(Substring) -> Optional<((String, String), Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
276 | // Map
277 |
278 | private let pair: Parser<(String, String)> = {
    |             |- warning: let 'pair' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' (aka '(Substring) -> Optional<((String, String), Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'pair' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |     let letter = satisfy({ $0 != " " && $0 != "," && $0 != ":" })
280 |     let colon = character(":")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:286:13: warning: let 'pairs' is not concurrency-safe because non-'Sendable' type 'Parser<[(String, String)]>' (aka '(Substring) -> Optional<(Array<(String, String)>, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
284 | }()
285 |
286 | private let pairs: Parser<[(String, String)]> = {
    |             |- warning: let 'pairs' is not concurrency-safe because non-'Sendable' type 'Parser<[(String, String)]>' (aka '(Substring) -> Optional<(Array<(String, String)>, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'pairs' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     return list(pair, character(","))
288 | }()
[7/14] Emitting module BabyBrain
/host/spi-builder-workspace/Sources/BabyBrain/Meta.swift:173:23: warning: static property 'enumRawValueSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | extension Meta {
173 |     public static var enumRawValueSeparator: String = "<@_@>"
    |                       |- warning: static property 'enumRawValueSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enumRawValueSeparator' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enumRawValueSeparator' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:139:13: warning: let 'spaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
137 | // Helpers
138 |
139 | private let spaces: Parser<String> = {
    |             |- warning: let 'spaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'spaces' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |     let space = one(of: [
141 |         character(" "),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:154:13: warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
152 | // Parsers
153 |
154 | private let null: Parser<Value> = {
    |             |- warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'null' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |     return map(eatRight(word("null"), spaces)) { _ in Value.null(optionalValue: nil) }
156 | }()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:158:13: warning: let 'bool' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
156 | }()
157 |
158 | private let bool: Parser<Value> = {
    |             |- warning: let 'bool' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'bool' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     let `true` = map(eatRight(word("true"), spaces)) { _ in true }
160 |     let `false` = map(eatRight(word("false"), spaces)) { _ in false }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:164:13: warning: let 'number' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
162 | }()
163 |
164 | private let number: Parser<Value> = {
    |             |- warning: let 'number' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'number' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     let optionalSign = optional(character("-"))
166 |     let zero = word("0")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:195:13: warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
193 | }()
194 |
195 | private let quotedString: Parser<String> = {
    |             |- warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<String>' (aka '(Substring) -> Optional<(String, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'quotedString' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |     let unescapedCharacter = satisfy({ $0 != "\\" && $0 != "\"" })
197 |     let escapedCharacter = one(of: [
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:225:13: warning: let 'string' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
223 | }()
224 |
225 | private let string: Parser<Value> = {
    |             |- warning: let 'string' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'string' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |     return map(eatRight(quotedString, spaces)) { Value.string(value: $0) }
227 | }()
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:229:13: warning: var '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
227 | }()
228 |
229 | private var _value: Parser<Value>?
    |             |- warning: var '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var '_value' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | private let value: Parser<Value> = { stream in
231 |     if let parser = _value {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:230:13: warning: let 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | private var _value: Parser<Value>?
230 | private let value: Parser<Value> = { stream in
    |             |- warning: let 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'value' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |     if let parser = _value {
232 |         return eatLeft(spaces, parser)(stream)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:237:13: warning: let 'object' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
235 | }
236 |
237 | private let object: Parser<Value> = {
    |             |- warning: let 'object' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'object' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |     let beginObject = eatRight(character("{"), spaces)
239 |     let endObject = eatRight(character("}"), spaces)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:254:13: warning: let 'array' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
252 | }()
253 |
254 | private let array: Parser<Value> = {
    |             |- warning: let 'array' is not concurrency-safe because non-'Sendable' type 'Parser<Value>' (aka '(Substring) -> Optional<(Value, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'array' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |     let beginArray = eatRight(character("["), spaces)
256 |     let endArray = eatRight(character("]"), spaces)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:278:13: warning: let 'pair' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' (aka '(Substring) -> Optional<((String, String), Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
276 | // Map
277 |
278 | private let pair: Parser<(String, String)> = {
    |             |- warning: let 'pair' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' (aka '(Substring) -> Optional<((String, String), Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'pair' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |     let letter = satisfy({ $0 != " " && $0 != "," && $0 != ":" })
280 |     let colon = character(":")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BabyBrain/Parser.swift:286:13: warning: let 'pairs' is not concurrency-safe because non-'Sendable' type 'Parser<[(String, String)]>' (aka '(Substring) -> Optional<(Array<(String, String)>, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
284 | }()
285 |
286 | private let pairs: Parser<[(String, String)]> = {
    |             |- warning: let 'pairs' is not concurrency-safe because non-'Sendable' type 'Parser<[(String, String)]>' (aka '(Substring) -> Optional<(Array<(String, String)>, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'pairs' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     return list(pair, character(","))
288 | }()
[8/14] Compiling BabyBrain Code.swift
[9/14] Compiling BabyBrain Meta.swift
/host/spi-builder-workspace/Sources/BabyBrain/Meta.swift:173:23: warning: static property 'enumRawValueSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | extension Meta {
173 |     public static var enumRawValueSeparator: String = "<@_@>"
    |                       |- warning: static property 'enumRawValueSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enumRawValueSeparator' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enumRawValueSeparator' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
[10/14] Compiling BabyBrain Value.swift
[11/15] Wrapping AST for BabyBrain for debugging
[13/18] Emitting module Baby
[14/18] Compiling Baby main.swift
[15/18] Compiling Baby Arguments.swift
[16/19] Wrapping AST for Baby for debugging
[17/19] Write Objects.LinkFileList
[18/19] Linking baby
Build complete! (8.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Baby",
  "name" : "Baby",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BabyBrain",
      "targets" : [
        "BabyBrain"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "baby",
      "targets" : [
        "Baby"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BabyBrain",
      "module_type" : "SwiftTarget",
      "name" : "BabyBrain",
      "path" : "Sources/BabyBrain",
      "product_memberships" : [
        "BabyBrain",
        "baby"
      ],
      "sources" : [
        "Code.swift",
        "Indentation.swift",
        "Meta.swift",
        "Parser.swift",
        "Value+Code.swift",
        "Value.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Baby",
      "module_type" : "SwiftTarget",
      "name" : "Baby",
      "path" : "Sources/Baby",
      "product_memberships" : [
        "baby"
      ],
      "sources" : [
        "Arguments.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BabyBrain"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.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
Done.