The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Syft, reference 0.3.0 (601240), with Swift 6.1 for Wasm on 29 May 2025 16:36:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dcutting/syft.git
Reference: 0.3.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/dcutting/syft
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 601240f Don't crash on not finding a character, just return .failure.
Cloned https://github.com/dcutting/syft.git
Revision (git rev-parse @):
601240f46d0591ab01b6071ea9739760a229e947
SUCCESS checkout https://github.com/dcutting/syft.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dcutting/syft.git
https://github.com/dcutting/syft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Syft",
  "name" : "Syft",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Syft",
      "targets" : [
        "Syft"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SyftTests",
      "module_type" : "SwiftTarget",
      "name" : "SyftTests",
      "path" : "Tests/SyftTests",
      "sources" : [
        "DeferredTests.swift",
        "EitherTests.swift",
        "Helpers.swift",
        "MatchTests.swift",
        "RemainderTests.swift",
        "RepeatTests.swift",
        "ResultTests.swift",
        "SequenceTests.swift",
        "StringAtomTests.swift",
        "TagTests.swift",
        "TransformerTests.swift"
      ],
      "target_dependencies" : [
        "Syft"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Syft",
      "module_type" : "SwiftTarget",
      "name" : "Syft",
      "path" : "Sources/Syft",
      "product_memberships" : [
        "Syft"
      ],
      "sources" : [
        "ArrayUtilities.swift",
        "DSL.swift",
        "DictionaryUtilities.swift",
        "Parser.swift",
        "Remainder.swift",
        "Result.swift",
        "ResultReporter.swift",
        "StringUtilities.swift",
        "Transformer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sample",
      "module_type" : "SwiftTarget",
      "name" : "Sample",
      "path" : "Sources/Sample",
      "sources" : [
        "AppDelegate.swift",
        "Arithmetic.swift",
        "Iota.swift",
        "Song.swift",
        "SyftFile.swift",
        "ViewController.swift"
      ],
      "target_dependencies" : [
        "Syft"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Syft StringUtilities.swift
[5/12] Compiling Syft ResultReporter.swift
[6/13] Compiling Syft Result.swift
[7/13] Compiling Syft Remainder.swift
[8/13] Compiling Syft Transformer.swift
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:7:10: warning: associated value 'inputInvalid' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Result'; this is an error in the Swift 6 language mode
  5 |
  6 | public enum TransformerError<T>: Error {
  7 |     case inputInvalid(Result)
    |          `- warning: associated value 'inputInvalid' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Result'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
/host/spi-builder-workspace/Sources/Syft/Result.swift:1:22: note: consider making enum 'Result' conform to the 'Sendable' protocol
  1 | public indirect enum Result: Equatable, CustomStringConvertible {
    |                      `- note: consider making enum 'Result' conform to the 'Sendable' protocol
  2 |
  3 |     case failure
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:8:10: warning: associated value 'unexpectedRemainder' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Remainder'; this is an error in the Swift 6 language mode
  6 | public enum TransformerError<T>: Error {
  7 |     case inputInvalid(Result)
  8 |     case unexpectedRemainder(Remainder)
    |          `- warning: associated value 'unexpectedRemainder' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Remainder'; this is an error in the Swift 6 language mode
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
/host/spi-builder-workspace/Sources/Syft/Remainder.swift:1:15: note: consider making struct 'Remainder' conform to the 'Sendable' protocol
 1 | public struct Remainder: Equatable {
   |               `- note: consider making struct 'Remainder' conform to the 'Sendable' protocol
 2 |
 3 |     public let text: String
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:9:10: warning: associated value 'transformFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  7 |     case inputInvalid(Result)
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
    |          `- warning: associated value 'transformFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
 11 |     case unknownCaptureVariable(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'TransformerPattern'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'TransformerPattern'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
102 | public typealias TransformerPatternSeries = [TransformerPattern]
103 |
104 | public indirect enum TransformerPattern {
    |                      `- note: consider making enum 'TransformerPattern' conform to the 'Sendable' protocol
105 |     case tree(TransformerPatternTree)
106 |     case series(String)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:241:5: warning: 'public' modifier is redundant for instance method declared in a public extension
239 | public extension Transformer {   // Convenience
240 |
241 |     public func rule(_ tree: TransformerPatternTree, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
242 |         let pattern = TransformerPattern.tree(tree)
243 |         rule(pattern: pattern, reducer: reducer)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:246:5: warning: 'public' modifier is redundant for instance method declared in a public extension
244 |     }
245 |
246 |     public func rule(pattern: TransformerPattern, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
247 |         let rule = TransformerRule<T>(pattern: pattern, reducer: reducer)
248 |         rules.append(rule)
[9/13] Compiling Syft ArrayUtilities.swift
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:141:12: warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public let any = Parser.any
    |            |- warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'any' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | public func str(_ str: String) -> Parser {
/host/spi-builder-workspace/Sources/Syft/Parser.swift:15:22: note: consider making enum 'Parser' conform to the 'Sendable' protocol
 13 | }
 14 |
 15 | public indirect enum Parser: ParserProtocol {
    |                      `- note: consider making enum 'Parser' conform to the 'Sendable' protocol
 16 |
 17 |     case any
[10/13] Compiling Syft DSL.swift
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:141:12: warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public let any = Parser.any
    |            |- warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'any' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | public func str(_ str: String) -> Parser {
/host/spi-builder-workspace/Sources/Syft/Parser.swift:15:22: note: consider making enum 'Parser' conform to the 'Sendable' protocol
 13 | }
 14 |
 15 | public indirect enum Parser: ParserProtocol {
    |                      `- note: consider making enum 'Parser' conform to the 'Sendable' protocol
 16 |
 17 |     case any
[11/13] Compiling Syft DictionaryUtilities.swift
[12/13] Emitting module Syft
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:141:12: warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public let any = Parser.any
    |            |- warning: let 'any' is not concurrency-safe because non-'Sendable' type 'Parser' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'any' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | public func str(_ str: String) -> Parser {
/host/spi-builder-workspace/Sources/Syft/Parser.swift:15:22: note: consider making enum 'Parser' conform to the 'Sendable' protocol
 13 | }
 14 |
 15 | public indirect enum Parser: ParserProtocol {
    |                      `- note: consider making enum 'Parser' conform to the 'Sendable' protocol
 16 |
 17 |     case any
/host/spi-builder-workspace/Sources/Syft/Parser.swift:7:12: warning: var 'parsedLastCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | // Needed by REPLs for multiline support.
  6 | // Since this is a global, it makes the parser no longer thread-safe.
  7 | public var parsedLastCharacter = false
    |            |- warning: var 'parsedLastCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'parsedLastCharacter' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'parsedLastCharacter' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 | public typealias ResultWithRemainder = (Result, Remainder)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:7:10: warning: associated value 'inputInvalid' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Result'; this is an error in the Swift 6 language mode
  5 |
  6 | public enum TransformerError<T>: Error {
  7 |     case inputInvalid(Result)
    |          `- warning: associated value 'inputInvalid' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Result'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
/host/spi-builder-workspace/Sources/Syft/Result.swift:1:22: note: consider making enum 'Result' conform to the 'Sendable' protocol
  1 | public indirect enum Result: Equatable, CustomStringConvertible {
    |                      `- note: consider making enum 'Result' conform to the 'Sendable' protocol
  2 |
  3 |     case failure
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:8:10: warning: associated value 'unexpectedRemainder' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Remainder'; this is an error in the Swift 6 language mode
  6 | public enum TransformerError<T>: Error {
  7 |     case inputInvalid(Result)
  8 |     case unexpectedRemainder(Remainder)
    |          `- warning: associated value 'unexpectedRemainder' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Remainder'; this is an error in the Swift 6 language mode
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
/host/spi-builder-workspace/Sources/Syft/Remainder.swift:1:15: note: consider making struct 'Remainder' conform to the 'Sendable' protocol
 1 | public struct Remainder: Equatable {
   |               `- note: consider making struct 'Remainder' conform to the 'Sendable' protocol
 2 |
 3 |     public let text: String
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:9:10: warning: associated value 'transformFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  7 |     case inputInvalid(Result)
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
    |          `- warning: associated value 'transformFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
 11 |     case unknownCaptureVariable(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'TransformerPattern'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'TransformerPattern'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
102 | public typealias TransformerPatternSeries = [TransformerPattern]
103 |
104 | public indirect enum TransformerPattern {
    |                      `- note: consider making enum 'TransformerPattern' conform to the 'Sendable' protocol
105 |     case tree(TransformerPatternTree)
106 |     case series(String)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:10:10: warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
  8 |     case unexpectedRemainder(Remainder)
  9 |     case transformFailed(Transformable<T>)
 10 |     case reducerFailed(Transformable<T>, TransformerPattern, TransformerCaptures<T>)
    |          `- warning: associated value 'reducerFailed' of 'Sendable'-conforming generic enum 'TransformerError' has non-sendable type 'Transformable<T>'; this is an error in the Swift 6 language mode
 11 |     case unknownCaptureVariable(TransformerCaptureName)
 12 |     case captureVariableUnexpectedlyRaw(TransformerCaptureName)
    :
 28 | public typealias TransformableSeries<T> = [Transformable<T>]
 29 |
 30 | public indirect enum Transformable<T> {
    |                      `- note: consider making generic enum 'Transformable' conform to the 'Sendable' protocol
 31 |     case tree(TransformableTree<T>)
 32 |     case series(TransformableSeries<T>)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:241:5: warning: 'public' modifier is redundant for instance method declared in a public extension
239 | public extension Transformer {   // Convenience
240 |
241 |     public func rule(_ tree: TransformerPatternTree, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
242 |         let pattern = TransformerPattern.tree(tree)
243 |         rule(pattern: pattern, reducer: reducer)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:246:5: warning: 'public' modifier is redundant for instance method declared in a public extension
244 |     }
245 |
246 |     public func rule(pattern: TransformerPattern, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
247 |         let rule = TransformerRule<T>(pattern: pattern, reducer: reducer)
248 |         rules.append(rule)
[13/13] Compiling Syft Parser.swift
/host/spi-builder-workspace/Sources/Syft/Parser.swift:7:12: warning: var 'parsedLastCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | // Needed by REPLs for multiline support.
  6 | // Since this is a global, it makes the parser no longer thread-safe.
  7 | public var parsedLastCharacter = false
    |            |- warning: var 'parsedLastCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'parsedLastCharacter' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'parsedLastCharacter' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 | public typealias ResultWithRemainder = (Result, Remainder)
[15/21] Compiling Sample ViewController.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[16/21] Compiling Sample AppDelegate.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[17/21] Compiling Sample Song.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[18/21] Compiling Sample SyftFile.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module Sample
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[20/21] Compiling Sample Iota.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[21/21] Compiling Sample Arithmetic.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Syft StringUtilities.swift
[3/11] Compiling Syft Parser.swift
[4/11] Compiling Syft ArrayUtilities.swift
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
[5/11] Compiling Syft DSL.swift
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
[6/11] Compiling Syft DictionaryUtilities.swift
[7/11] Emitting module Syft
/host/spi-builder-workspace/Sources/Syft/DSL.swift:114:5: warning: 'public' modifier is redundant for property declared in a public extension
112 |
113 | public extension CountableClosedRange {
114 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
115 |         get {
116 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:122:5: warning: 'public' modifier is redundant for property declared in a public extension
120 |
121 | public extension Array {
122 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
123 |         get {
124 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/DSL.swift:130:5: warning: 'public' modifier is redundant for property declared in a public extension
128 |
129 | public extension String {
130 |     public var match: Parser {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
131 |         get {
132 |             return makeEither(map(String.init(describing:)))
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:241:5: warning: 'public' modifier is redundant for instance method declared in a public extension
239 | public extension Transformer {   // Convenience
240 |
241 |     public func rule(_ tree: TransformerPatternTree, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
242 |         let pattern = TransformerPattern.tree(tree)
243 |         rule(pattern: pattern, reducer: reducer)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:246:5: warning: 'public' modifier is redundant for instance method declared in a public extension
244 |     }
245 |
246 |     public func rule(pattern: TransformerPattern, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
247 |         let rule = TransformerRule<T>(pattern: pattern, reducer: reducer)
248 |         rules.append(rule)
[8/11] Compiling Syft Remainder.swift
[9/11] Compiling Syft Result.swift
[10/11] Compiling Syft ResultReporter.swift
[11/11] Compiling Syft Transformer.swift
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:241:5: warning: 'public' modifier is redundant for instance method declared in a public extension
239 | public extension Transformer {   // Convenience
240 |
241 |     public func rule(_ tree: TransformerPatternTree, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
242 |         let pattern = TransformerPattern.tree(tree)
243 |         rule(pattern: pattern, reducer: reducer)
/host/spi-builder-workspace/Sources/Syft/Transformer.swift:246:5: warning: 'public' modifier is redundant for instance method declared in a public extension
244 |     }
245 |
246 |     public func rule(pattern: TransformerPattern, reducer: @escaping TransformerReducer<T>) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
247 |         let rule = TransformerRule<T>(pattern: pattern, reducer: reducer)
248 |         rules.append(rule)
[13/19] Compiling Sample ViewController.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[14/19] Compiling Sample SyftFile.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[15/19] Compiling Sample Song.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[16/19] Compiling Sample Iota.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module Sample
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[18/19] Compiling Sample Arithmetic.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
[19/19] Compiling Sample AppDelegate.swift
/host/spi-builder-workspace/Sources/Sample/AppDelegate.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate {
BUILD FAILURE 6.1 wasm