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 locheck, reference 0.9.11 (327454), with Swift 6.1 for Wasm on 28 May 2025 15:44:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Asana/locheck.git
Reference: 0.9.11
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/Asana/locheck
 * tag               0.9.11     -> FETCH_HEAD
HEAD is now at 327454d 0.9.11
Cloned https://github.com/Asana/locheck.git
Revision (git rev-parse @):
327454d366d6938ee8664faadf37f5c86211dd4b
SUCCESS checkout https://github.com/Asana/locheck.git at 0.9.11
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Asana/locheck.git
https://github.com/Asana/locheck.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "0.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "4.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/Files.git"
    },
    {
      "identity" : "swiftyxmlparser",
      "requirement" : {
        "branch" : [
          "5.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yahoojapan/SwiftyXMLParser"
    }
  ],
  "manifest_display_name" : "locheck",
  "name" : "locheck",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "locheck",
      "targets" : [
        "LocheckCommand"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LocheckLogicTests",
      "module_type" : "SwiftTarget",
      "name" : "LocheckLogicTests",
      "path" : "Tests/LocheckLogicTests",
      "sources" : [
        "Asserts.swift",
        "FormatStringTests.swift",
        "LexedStringsdictStringsTests.swift",
        "LocalizedStringPairTests.swift",
        "StringsdictEntryTests.swift",
        "ValidateStringsTests.swift",
        "parseAndValidateAndroidStringsTests.swift",
        "parseAndValidateStringsdictTests.swift"
      ],
      "target_dependencies" : [
        "LocheckLogic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocheckLogic",
      "module_type" : "SwiftTarget",
      "name" : "LocheckLogic",
      "path" : "Sources/LocheckLogic",
      "product_dependencies" : [
        "Files",
        "SwiftyXMLParser"
      ],
      "product_memberships" : [
        "locheck"
      ],
      "sources" : [
        "Expressions.swift",
        "Extensions/File+locheck.swift",
        "Extensions/NSRegularExpression+locheck.swift",
        "Extensions/NSTextCheckingResult+locheck.swift",
        "Extensions/Sequence+locheck.swift",
        "Extensions/String+locheck.swift",
        "ProblemReporter.swift",
        "Problems.swift",
        "Types/AndroidStringsFile.swift",
        "Types/FormatArgument.swift",
        "Types/FormatString.swift",
        "Types/LexedStringsdictString.swift",
        "Types/LocalizedStringPair.swift",
        "Types/LprojFiles.swift",
        "Types/StringsdictEntry.swift",
        "Types/StringsdictFile.swift",
        "Types/StringsdictRule.swift",
        "Validators/parseAndValidateAndroidStrings.swift",
        "Validators/parseAndValidateStringsdict.swift",
        "Validators/parseAndValidateXCStrings.swift",
        "Validators/validateKeyPresence.swift",
        "Validators/validateLproj.swift",
        "parseXML.swift",
        "readPlistDict.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocheckCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "LocheckCommandTests",
      "path" : "Tests/LocheckCommandTests",
      "sources" : [
        "ExecutableTests.swift"
      ],
      "target_dependencies" : [
        "LocheckCommand"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocheckCommand",
      "module_type" : "SwiftTarget",
      "name" : "LocheckCommand",
      "path" : "Sources/LocheckCommand",
      "product_dependencies" : [
        "ArgumentParser",
        "Files"
      ],
      "product_memberships" : [
        "locheck"
      ],
      "sources" : [
        "FileOrDirectoryArg.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "LocheckLogic"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/yahoojapan/SwiftyXMLParser
[1/764] Fetching swiftyxmlparser
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.30s)
Fetching https://github.com/johnsundell/Files.git
Fetching https://github.com/apple/swift-argument-parser
[1/1236] Fetching files
[1237/16587] Fetching files, swift-argument-parser
Fetched https://github.com/johnsundell/Files.git from cache (0.87s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.88s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (1.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (1.05s)
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser
Working copy of https://github.com/yahoojapan/SwiftyXMLParser resolved at 5.4.0 (eec238e)
Creating working copy for https://github.com/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/53] 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 |
[8/53] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[9/53] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[10/53] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[11/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[12/53] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[13/57] Compiling ArgumentParser Name.swift
[14/57] Compiling ArgumentParser Parsed.swift
[15/57] Compiling ArgumentParser ParsedValues.swift
[16/57] Compiling ArgumentParser ParserError.swift
[17/57] 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 |
[18/57] Compiling ArgumentParser CompletionKind.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/57] 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 |
[20/57] 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 |
[21/57] Compiling ArgumentParser NameSpecification.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 |
[22/57] Compiling ArgumentParser ArgumentDefinition.swift
[23/57] Compiling ArgumentParser ArgumentSet.swift
[24/57] Compiling ArgumentParser CommandParser.swift
[25/57] Compiling ArgumentParser InputOrigin.swift
[26/57] Compiling ArgumentParser Option.swift
[27/57] Compiling ArgumentParser OptionGroup.swift
[28/57] Compiling ArgumentParser CommandConfiguration.swift
[29/57] Compiling ArgumentParser EnumerableFlag.swift
[30/57] Compiling ArgumentParser ExpressibleByArgument.swift
[31/57] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[32/57] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[33/57] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[34/57] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[35/57] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[36/57] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[37/57] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[38/57] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[39/57] Emitting module Files
[40/57] Compiling SwiftyXMLParser Parser.swift
[41/57] Compiling SwiftyXMLParser XML.swift
[42/57] Compiling Files Files.swift
[43/57] Compiling SwiftyXMLParser Error.swift
[44/58] Compiling SwiftyXMLParser Accessor.swift
[45/58] Emitting module SwiftyXMLParser
[46/58] Compiling SwiftyXMLParser Element.swift
[49/59] Compiling ArgumentParser UsageGenerator.swift
[50/59] Compiling ArgumentParser SequenceExtensions.swift
[51/59] Compiling ArgumentParser StringExtensions.swift
[52/59] Compiling ArgumentParser Tree.swift
[52/59] Wrapping AST for Files for debugging
[52/59] Wrapping AST for SwiftyXMLParser for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/8] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling SwiftyXMLParser XML.swift
[3/44] Emitting module SwiftyXMLParser
[4/48] Compiling SwiftyXMLParser Error.swift
[5/48] Compiling SwiftyXMLParser Element.swift
[6/48] Compiling SwiftyXMLParser Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/48] 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 |
[8/52] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[9/52] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[10/52] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[11/52] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[12/52] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[13/52] Compiling SwiftyXMLParser Accessor.swift
[14/53] Wrapping AST for SwiftyXMLParser for debugging
[16/53] 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/53] Compiling ArgumentParser CompletionKind.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/53] 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 |
[19/53] 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 |
[20/53] Compiling ArgumentParser NameSpecification.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 |
[21/53] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[22/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[23/53] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[24/53] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
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:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[25/53] Compiling ArgumentParser Name.swift
[26/53] Compiling ArgumentParser Parsed.swift
[27/53] Compiling ArgumentParser ParsedValues.swift
[28/53] Compiling ArgumentParser ParserError.swift
[29/53] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[30/53] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[31/53] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[32/53] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/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 |
[33/53] Compiling ArgumentParser Option.swift
[34/53] Compiling ArgumentParser OptionGroup.swift
[35/53] Compiling ArgumentParser CommandConfiguration.swift
[36/53] Compiling ArgumentParser EnumerableFlag.swift
[37/53] Compiling ArgumentParser ExpressibleByArgument.swift
[38/53] Emitting module Files
[39/53] Compiling Files Files.swift
[40/54] Wrapping AST for Files for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/76] Emitting module LocheckLogic
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[43/79] Compiling ArgumentParser UsageGenerator.swift
[44/79] Compiling ArgumentParser SequenceExtensions.swift
[45/79] Compiling ArgumentParser StringExtensions.swift
[46/79] Compiling ArgumentParser Tree.swift
[47/79] Compiling LocheckLogic parseAndValidateStringsdict.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[48/79] Compiling LocheckLogic parseAndValidateXCStrings.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[49/79] Compiling LocheckLogic validateKeyPresence.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[50/79] Compiling LocheckLogic FormatArgument.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[51/79] Compiling LocheckLogic FormatString.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[52/79] Compiling LocheckLogic LexedStringsdictString.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[53/79] Compiling LocheckLogic validateLproj.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[54/79] Compiling LocheckLogic parseXML.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[55/79] Compiling LocheckLogic readPlistDict.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[56/79] Compiling LocheckLogic Expressions.swift
[57/79] Compiling LocheckLogic File+locheck.swift
[58/79] Compiling LocheckLogic NSRegularExpression+locheck.swift
[59/79] Compiling LocheckLogic NSTextCheckingResult+locheck.swift
[60/79] Compiling LocheckLogic LocalizedStringPair.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[61/79] Compiling LocheckLogic LprojFiles.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
[62/79] Compiling LocheckLogic StringsdictEntry.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:8:13: error: no such module 'Darwin'
  6 | //
  7 |
  8 | import func Darwin.fputs
    |             `- error: no such module 'Darwin'
  9 | import var Darwin.stderr
 10 | import Foundation
BUILD FAILURE 6.1 wasm