The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MotoSwift, reference 0.6.0 (9a1541), with Swift 6.1 for Wasm on 27 May 2025 07:20:02 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/Igor-Palaguta/MotoSwift.git
Reference: 0.6.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/Igor-Palaguta/MotoSwift
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 9a15413 Merge pull request #6 from Igor-Palaguta/ArgumentParser
Cloned https://github.com/Igor-Palaguta/MotoSwift.git
Revision (git rev-parse @):
9a1541313503b090bcf7aeab572d2d20f213283a
SUCCESS checkout https://github.com/Igor-Palaguta/MotoSwift.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Igor-Palaguta/MotoSwift.git
https://github.com/Igor-Palaguta/MotoSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.7.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "MotoSwift",
  "name" : "MotoSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "motoswift",
      "targets" : [
        "motoswift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MotoSwiftFramework",
      "targets" : [
        "MotoSwiftFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "motoswift",
      "module_type" : "SwiftTarget",
      "name" : "motoswift",
      "path" : "Sources/motoswift",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "motoswift"
      ],
      "sources" : [
        "EntityCommand.swift",
        "ModelCommand.swift",
        "Output.swift",
        "Path+ArgumentConvertible.swift",
        "VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MotoSwiftFramework"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MotoSwiftFrameworkTests",
      "module_type" : "SwiftTarget",
      "name" : "MotoSwiftFrameworkTests",
      "path" : "Tests/MotoSwiftFrameworkTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "GeneratedClassesTests.swift",
        "ModelParserTests.swift",
        "RendererTests.swift",
        "Utils/Expectation.swift",
        "Utils/Resource.swift",
        "XCTest.swift"
      ],
      "target_dependencies" : [
        "MotoSwiftFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MotoSwiftFramework",
      "module_type" : "SwiftTarget",
      "name" : "MotoSwiftFramework",
      "path" : "Sources/MotoSwiftFramework",
      "product_dependencies" : [
        "StencilSwiftKit",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "motoswift",
        "MotoSwiftFramework"
      ],
      "sources" : [
        "CoreData/Attribute.swift",
        "CoreData/Entity.swift",
        "CoreData/FetchedProperty.swift",
        "CoreData/Model.swift",
        "CoreData/Parser/Attribute+XMLParser.swift",
        "CoreData/Parser/Entity+XMLParser.swift",
        "CoreData/Parser/FetchedProperty+XMLParser.swift",
        "CoreData/Parser/ModelParser.swift",
        "CoreData/Parser/Relationship+XMLParser.swift",
        "CoreData/Parser/UserInfo+XMLParser.swift",
        "CoreData/Relationship.swift",
        "Generator/Language.swift",
        "Generator/Model+TemplateVariables.swift",
        "Generator/Renderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/kylef/Spectre
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
[1/1021] Fetching spectre
[165/3841] Fetching spectre, swxmlhash
[3166/7849] Fetching spectre, swxmlhash, stencilswiftkit
Fetched https://github.com/kylef/Spectre from cache (0.47s)
[3423/22179] Fetching swxmlhash, stencilswiftkit, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.56s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (3.44s)
Computing version for https://github.com/kylef/Spectre
Computed https://github.com/kylef/Spectre at 0.10.1 (1.04s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.65s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[510/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.27s)
[4500/5293] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (0.36s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.60s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
[961/1540] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.28s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.28s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.93s)
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (1.04s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.58s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.79s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (1.08s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (3.49s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kylef/Spectre
Working copy of https://github.com/kylef/Spectre resolved at 0.10.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/51] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[10/54] Compiling ArgumentParser NameSpecification.swift
[11/54] Compiling ArgumentParser Option.swift
[12/54] Compiling ArgumentParser OptionGroup.swift
[13/54] Compiling ArgumentParser CommandConfiguration.swift
[14/54] Compiling SWXMLHash shim.swift
[15/54] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[16/54] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[17/54] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[18/54] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[19/54] Compiling ArgumentParser ParsableCommand.swift
[20/54] Compiling ArgumentParser ArgumentDecoder.swift
[21/54] Compiling ArgumentParser ArgumentDefinition.swift
[22/54] Compiling ArgumentParser ArgumentSet.swift
[23/54] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[24/54] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[25/54] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[26/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[27/54] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/54] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[29/54] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 292 |
 293 |         self.ops = ops
 294 |         let parser = Foundation.XMLParser(data: data!)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 295 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 296 |         parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 381 |         parentStack.push(root)
 382 |
 383 |         let parser = Foundation.XMLParser(data: data)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 384 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 385 |         parser.delegate = self
[30/54] Compiling ArgumentParser UsageGenerator.swift
[31/54] Compiling ArgumentParser StringExtensions.swift
[32/54] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/54] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[34/54] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[35/54] Compiling ArgumentParser Parsed.swift
[36/54] Compiling ArgumentParser ParsedValues.swift
[37/54] Compiling ArgumentParser ParserError.swift
[38/54] Compiling ArgumentParser SplitArguments.swift
[39/54] Compiling ArgumentParser ArgumentSetSequence.swift
[40/54] Compiling ArgumentParser CommandParser.swift
[41/54] Compiling ArgumentParser InputOrigin.swift
[42/54] Compiling ArgumentParser Name.swift
[43/54] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[44/54] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[45/54] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling SWXMLHash shim.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/44] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[4/44] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[5/44] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[6/44] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[7/44] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[8/44] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 62 |   }
 63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
 59 | struct StandardError: TextOutputStream {
 60 |   mutating func write(_ string: String) {
 61 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 62 |   }
 63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 |   ) -> Never {
164 |     guard let error = error else {
165 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 |       }
175 |     }
176 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
177 |   }
178 |
[9/47] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[10/47] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[11/47] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:279:11: error: cannot find 'winsize' in scope
277 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
278 | #else
279 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
281 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:13: error: cannot find 'ioctl' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:19: error: cannot find 'STDOUT_FILENO' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:280:34: error: cannot find 'TIOCGWINSZ' in scope
278 | #else
279 |   var w = winsize()
280 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
281 |   let width = Int(w.ws_col)
282 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/47] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/47] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
BUILD FAILURE 6.1 wasm