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 Android on 28 May 2025 15:43:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/yahoojapan/SwiftyXMLParser
[1/764] Fetching swiftyxmlparser
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.29s)
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.80s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (1.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.47s)
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/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
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 ArgumentParser ArgumentDefinition.swift
[14/57] Compiling ArgumentParser ArgumentSet.swift
[15/57] Compiling ArgumentParser CommandParser.swift
[16/57] Compiling ArgumentParser InputOrigin.swift
[17/57] Compiling ArgumentParser Option.swift
[18/57] Compiling ArgumentParser OptionGroup.swift
[19/57] Compiling ArgumentParser CommandConfiguration.swift
[20/57] Compiling ArgumentParser EnumerableFlag.swift
[21/57] Compiling ArgumentParser ExpressibleByArgument.swift
[22/57] Compiling ArgumentParser Name.swift
[23/57] Compiling ArgumentParser Parsed.swift
[24/57] Compiling ArgumentParser ParsedValues.swift
[25/57] Compiling ArgumentParser ParserError.swift
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/57] Compiling SwiftyXMLParser XML.swift
[31/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 |
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/57] Compiling SwiftyXMLParser Error.swift
[41/57] Compiling SwiftyXMLParser Parser.swift
[42/57] Emitting module SwiftyXMLParser
[43/57] Compiling SwiftyXMLParser Accessor.swift
[44/57] Compiling SwiftyXMLParser Element.swift
[45/58] Compiling ArgumentParser UsageGenerator.swift
[46/58] Compiling ArgumentParser SequenceExtensions.swift
[47/58] Compiling ArgumentParser StringExtensions.swift
[48/58] Compiling ArgumentParser Tree.swift
[49/58] Emitting module Files
[50/58] Compiling Files Files.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/48] Compiling SwiftyXMLParser Parser.swift
[3/48] Compiling SwiftyXMLParser Error.swift
[4/48] Compiling SwiftyXMLParser XML.swift
[5/48] Compiling SwiftyXMLParser Element.swift
[6/48] Emitting module SwiftyXMLParser
[7/48] Compiling SwiftyXMLParser Accessor.swift
[9/49] Compiling Files Files.swift
[10/49] Emitting module Files
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/50] 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 |
[12/54] Wrapping AST for SwiftyXMLParser for debugging
[14/54] Compiling ArgumentParser Name.swift
[15/54] Compiling ArgumentParser Parsed.swift
[16/54] Compiling ArgumentParser ParsedValues.swift
[17/54] Compiling ArgumentParser ParserError.swift
[18/54] 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 |
[19/54] 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 |
[20/54] 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 |
[21/54] 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 |
[21/54] Wrapping AST for Files for debugging
[23/76] Compiling LocheckLogic AndroidStringsFile.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 |
[24/76] Compiling LocheckLogic parseAndValidateStringsdict.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 |
[25/76] Compiling LocheckLogic parseAndValidateXCStrings.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 |
[26/76] Compiling LocheckLogic validateKeyPresence.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 |
[27/76] Compiling LocheckLogic StringsdictFile.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 |
[28/76] Compiling LocheckLogic FormatArgument.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 ?? ""))
[29/76] Compiling LocheckLogic FormatString.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 ?? ""))
[30/76] Compiling LocheckLogic LexedStringsdictString.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 ?? ""))
[31/76] Compiling LocheckLogic ProblemReporter.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 ?? ""))
[32/76] Compiling LocheckLogic Problems.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 ?? ""))
/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
/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
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/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
/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
[38/79] Compiling LocheckLogic StringsdictRule.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
[39/79] Compiling LocheckLogic parseAndValidateAndroidStrings.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
/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
/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
/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 LocheckLogic NSTextCheckingResult+locheck.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
[44/79] Compiling LocheckLogic Sequence+locheck.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
[45/79] Compiling LocheckLogic String+locheck.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
[46/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
[47/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
[48/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
[53/79] Compiling LocheckLogic Expressions.swift
[58/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
[59/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
[60/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
[61/79] Compiling LocheckLogic File+locheck.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 |
[62/79] Compiling LocheckLogic NSRegularExpression+locheck.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 |
/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 |
/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 |
/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
/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
/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
/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
/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
/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 android