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 main (2a711e), with Swift 6.1 for Wasm on 28 May 2025 15:44:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2a711eb Merge pull request #59 from AnessZurba/feature/linux-support-2
Cloned https://github.com/Asana/locheck.git
Revision (git rev-parse @):
2a711eb6e522b1d4913a1e96c6519d3cc17ba84b
SUCCESS checkout https://github.com/Asana/locheck.git at main
========================================
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-4606859-0":/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.27s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/johnsundell/Files.git
[1/1236] Fetching files
[1237/16587] Fetching files, swift-argument-parser
Fetched https://github.com/johnsundell/Files.git from cache (0.99s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.00s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (1.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.62s)
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
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser
Working copy of https://github.com/yahoojapan/SwiftyXMLParser resolved at 5.4.0 (eec238e)
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/57] 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/57] 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/57] 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/57] 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/57] 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 SwiftyXMLParser XML.swift
[14/57] Compiling ArgumentParser Name.swift
[15/57] Compiling ArgumentParser Parsed.swift
[16/57] Compiling ArgumentParser ParsedValues.swift
[17/57] Compiling ArgumentParser ParserError.swift
[18/57] Compiling ArgumentParser ArgumentDefinition.swift
[19/57] Compiling ArgumentParser ArgumentSet.swift
[20/57] Compiling ArgumentParser CommandParser.swift
[21/57] Compiling ArgumentParser InputOrigin.swift
[22/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 |
[23/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 |
[24/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 |
[25/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 |
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/57] Compiling ArgumentParser Option.swift
[31/57] Compiling ArgumentParser OptionGroup.swift
[32/57] Compiling ArgumentParser CommandConfiguration.swift
[33/57] Compiling ArgumentParser EnumerableFlag.swift
[34/57] Compiling ArgumentParser ExpressibleByArgument.swift
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/57] Compiling SwiftyXMLParser Accessor.swift
[41/57] Compiling ArgumentParser UsageGenerator.swift
[42/57] Compiling ArgumentParser SequenceExtensions.swift
[43/57] Compiling ArgumentParser StringExtensions.swift
[44/57] Compiling ArgumentParser Tree.swift
[45/57] Compiling SwiftyXMLParser Parser.swift
[46/57] Compiling SwiftyXMLParser Element.swift
[47/57] Compiling SwiftyXMLParser Error.swift
[48/57] Emitting module SwiftyXMLParser
[49/58] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/48] Compiling SwiftyXMLParser Error.swift
[3/48] Compiling SwiftyXMLParser Element.swift
[4/48] Compiling SwiftyXMLParser XML.swift
[5/48] Compiling SwiftyXMLParser Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 |
[7/52] 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 |
[8/52] 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 |
[9/52] 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 |
[10/52] 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 |
[11/52] 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 |
[12/52] 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 |
[13/52] 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 |
[14/52] 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 |
[15/52] Emitting module SwiftyXMLParser
[16/52] Compiling SwiftyXMLParser Accessor.swift
[17/53] Compiling ArgumentParser Name.swift
[18/53] Compiling ArgumentParser Parsed.swift
[19/53] Compiling ArgumentParser ParsedValues.swift
[20/53] Compiling ArgumentParser ParserError.swift
[21/53] Wrapping AST for SwiftyXMLParser for debugging
[23/53] Emitting module Files
[24/53] Compiling Files Files.swift
[26/54] Compiling ArgumentParser Option.swift
[27/54] Compiling ArgumentParser OptionGroup.swift
[28/54] Compiling ArgumentParser CommandConfiguration.swift
[29/54] Compiling ArgumentParser EnumerableFlag.swift
[30/54] Compiling ArgumentParser ExpressibleByArgument.swift
[31/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 |
[32/54] 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 |
[33/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 |
[34/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 |
[35/54] 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 |
[36/54] 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 ?? ""))
[37/54] 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 ?? ""))
[38/54] 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 ?? ""))
[39/54] 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 ?? ""))
[40/54] 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 ?? ""))
[40/54] Wrapping AST for Files for debugging
[42/76] Compiling ArgumentParser ArgumentDefinition.swift
[43/76] Compiling ArgumentParser ArgumentSet.swift
[44/76] Compiling ArgumentParser CommandParser.swift
[45/76] Compiling ArgumentParser InputOrigin.swift
[46/76] Compiling ArgumentParser UsageGenerator.swift
[47/76] Compiling ArgumentParser SequenceExtensions.swift
[48/76] Compiling ArgumentParser StringExtensions.swift
[49/76] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/76] Emitting module LocheckLogic
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[51/79] Compiling LocheckLogic NSTextCheckingResult+locheck.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[52/79] Compiling LocheckLogic Sequence+locheck.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[53/79] Compiling LocheckLogic String+locheck.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[54/79] Compiling LocheckLogic validateLproj.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[55/79] Compiling LocheckLogic parseXML.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[56/79] Compiling LocheckLogic readPlistDict.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[57/79] Compiling LocheckLogic StringsdictFile.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[58/79] Compiling LocheckLogic StringsdictRule.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[59/79] Compiling LocheckLogic parseAndValidateAndroidStrings.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[60/79] Compiling LocheckLogic LocalizedStringPair.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[61/79] Compiling LocheckLogic LprojFiles.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[62/79] Compiling LocheckLogic StringsdictEntry.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[63/79] Compiling LocheckLogic FormatArgument.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[64/79] Compiling LocheckLogic FormatString.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[65/79] Compiling LocheckLogic LexedStringsdictString.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[66/79] Compiling LocheckLogic parseAndValidateStringsdict.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[67/79] Compiling LocheckLogic parseAndValidateXCStrings.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
[68/79] Compiling LocheckLogic validateKeyPresence.swift
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:14:17: error: no such module 'Darwin'
 12 |     import var Glibc.stderr
 13 | #else
 14 |     import func Darwin.fputs
    |                 `- error: no such module 'Darwin'
 15 |     import var Darwin.stderr
 16 | #endif
BUILD FAILURE 6.1 wasm