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 SwiftPlantUML, reference 0.8.1 (0f5875), with Swift 6.1 for Android on 29 May 2025 04:51:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/MarcoEidinger/SwiftPlantUML.git
Reference: 0.8.1
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/MarcoEidinger/SwiftPlantUML
 * tag               0.8.1      -> FETCH_HEAD
HEAD is now at 0f5875e chore: 🤖 0.8.1
Cloned https://github.com/MarcoEidinger/SwiftPlantUML.git
Revision (git rev-parse @):
0f5875ec7d4f1ef9ff98079babed44ccf3437fd6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/MarcoEidinger/SwiftPlantUML.git at 0.8.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MarcoEidinger/SwiftPlantUML.git
https://github.com/MarcoEidinger/SwiftPlantUML.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sourcekitten",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.31.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/SourceKitten"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swiftybeaver",
      "requirement" : {
        "exact" : [
          "1.9.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
    }
  ],
  "manifest_display_name" : "SwiftPlantUML",
  "name" : "SwiftPlantUML",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPlantUMLFramework",
      "targets" : [
        "SwiftPlantUMLFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swiftplantuml",
      "targets" : [
        "swiftplantuml"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftplantuml",
      "module_type" : "SwiftTarget",
      "name" : "swiftplantuml",
      "path" : "Sources/swiftplantuml",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftyBeaver"
      ],
      "product_memberships" : [
        "swiftplantuml"
      ],
      "sources" : [
        "Commands/ClassDiagram.swift",
        "Commands/SwiftPlantUML.swift",
        "Commands/Version.swift",
        "Utilities/Logger.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftPlantUMLFramework"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftPlantUMLFrameworkTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPlantUMLFrameworkTests",
      "path" : "Tests/SwiftPlantUMLFrameworkTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftPlantUMLFrameworkTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ClassDiagramGeneratorTests.swift",
        "ColorTests.swift",
        "ConfigurationProviderTests.swift",
        "ConfigurationTests.swift",
        "ElementAccessibilityTests.swift",
        "ExtensionVisualizationTests.swift",
        "FileCollectorTests.swift",
        "FileOptionTests.swift",
        "GlobTests.swift",
        "Logger+Tests.swift",
        "PageTextsTests.swift",
        "PlantUMLBrowserPresenterTests.swift",
        "PlantUMLConsolePresenterTests.swift",
        "PlantUMLContextTests.swift",
        "PlantUMLScriptTests.swift",
        "PlantUMLTextTests.swift",
        "RelationshipStyleTests.swift",
        "StereotypeTests.swift",
        "StringExtensionsTests.swift",
        "SwiftPlantUMLFrameworkTests.swift",
        "SyntaxStructureTests.swift",
        "ThemeTests.swift",
        "VersionTests.swift",
        "XCTestCase+BundlePath.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftPlantUMLFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPlantUMLFramework",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPlantUMLFramework",
      "path" : "Sources/SwiftPlantUMLFramework",
      "product_dependencies" : [
        "SourceKittenFramework"
      ],
      "product_memberships" : [
        "SwiftPlantUMLFramework",
        "swiftplantuml"
      ],
      "sources" : [
        "ClassDiagramGenerator.swift",
        "Configuration/ClassDiagramOutput.swift",
        "Configuration/Color.swift",
        "Configuration/Configuration.swift",
        "Configuration/ConfigurationProvider.swift",
        "Configuration/ElementOptions.swift",
        "Configuration/ExtensionVisualization.swift",
        "Configuration/FileOptions.swift",
        "Configuration/PageTexts.swift",
        "Configuration/RelationshipOptions.swift",
        "Configuration/RelationshipStyle.swift",
        "Configuration/Stereotype.swift",
        "Configuration/Theme.swift",
        "FileManagement/FileCollector.swift",
        "FileManagement/Glob.swift",
        "Internal/ConfigFileWriter.swift",
        "Internal/ElementAccessibility+Extensions.swift",
        "Internal/PlantUMLContext.swift",
        "Internal/String+Extensions.swift",
        "Internal/SyntaxStructure+Extensions.swift",
        "Internal/SyntaxStructure+PlantUML.swift",
        "Internal/SyntaxStructure.swift",
        "Internal/SyntaxStructureProvider.swift",
        "Logging/Logger.swift",
        "Logging/NoLogger.swift",
        "PlantUMLScript.swift",
        "PlantUMLText.swift",
        "Presenting/PlantUMLBrowserPresenter.swift",
        "Presenting/PlantUMLConsolePresenter.swift",
        "Presenting/PlantUMLPresenting.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/apple/swift-argument-parser.git
[1/4057] Fetching swiftybeaver
[1340/20169] Fetching swiftybeaver, sourcekitten
[10503/35532] Fetching swiftybeaver, sourcekitten, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.20s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.22s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (2.90s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.57s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.32.0 (0.57s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[2821/13477] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.33s)
[853/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.21s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.11s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.50s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.32.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.5
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 6.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Building for debugging...
[0/27] Write sources
[7/27] Compiling Clang_C Clang_C.m
[8/27] Compiling writer.c
[9/27] Write sources
[10/27] Compiling reader.c
[11/27] Compiling parser.c
[12/27] Compiling api.c
[13/27] Compiling scanner.c
[14/27] Compiling emitter.c
[15/27] Compiling SourceKit SourceKit.m
[16/27] Write swift-version-24593BA9C3E375BF.txt
[18/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/59] Emitting module ArgumentParserToolInfo
[21/60] Compiling SWXMLHash shim.swift
[21/60] Wrapping AST for ArgumentParserToolInfo for debugging
[23/94] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[24/94] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[25/95] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[26/95] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[27/95] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[28/95] Compiling ArgumentParser Option.swift
[29/95] Compiling ArgumentParser OptionGroup.swift
[30/95] Compiling ArgumentParser CommandConfiguration.swift
[31/95] Compiling ArgumentParser EnumerableFlag.swift
[32/95] Compiling ArgumentParser ExpressibleByArgument.swift
[33/95] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[36/95] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[37/95] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/99] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// 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:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[39/99] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[40/99] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[43/99] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[44/99] Compiling ArgumentParser CollectionExtensions.swift
[45/99] Compiling ArgumentParser SequenceExtensions.swift
[46/99] Compiling ArgumentParser StringExtensions.swift
[47/99] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[50/99] Compiling SwiftyBeaver FilterValidator.swift
[51/100] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:348:11: error: cannot find 'winsize' in scope
346 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
347 | #else
348 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
349 | #if os(OpenBSD)
350 |   // 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:354:13: error: cannot find 'ioctl' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:19: error: cannot find 'STDOUT_FILENO' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:34: error: cannot find 'TIOCGWINSZ' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[52/100] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:348:11: error: cannot find 'winsize' in scope
346 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
347 | #else
348 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
349 | #if os(OpenBSD)
350 |   // 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:354:13: error: cannot find 'ioctl' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:19: error: cannot find 'STDOUT_FILENO' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:34: error: cannot find 'TIOCGWINSZ' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[53/100] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:348:11: error: cannot find 'winsize' in scope
346 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
347 | #else
348 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
349 | #if os(OpenBSD)
350 |   // 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:354:13: error: cannot find 'ioctl' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:19: error: cannot find 'STDOUT_FILENO' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:34: error: cannot find 'TIOCGWINSZ' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[54/100] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:348:11: error: cannot find 'winsize' in scope
346 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
347 | #else
348 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
349 | #if os(OpenBSD)
350 |   // 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:354:13: error: cannot find 'ioctl' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:19: error: cannot find 'STDOUT_FILENO' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:354:34: error: cannot find 'TIOCGWINSZ' in scope
352 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
353 | #else
354 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
355 | #endif
356 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[55/100] Compiling SWXMLHash XMLHash.swift
[56/100] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[57/100] Emitting module SWXMLHash
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/100] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[61/100] Compiling SwiftyBeaver Filter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:27: error: cannot find 'NSFileCoordinator' in scope
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:60: error: 'nil' requires a contextual type
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:27: error: cannot find 'NSFileCoordinator' in scope
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:60: error: 'nil' requires a contextual type
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[70/101] Compiling ArgumentParser ArgumentSet.swift
[71/101] Compiling ArgumentParser CommandParser.swift
[72/101] Compiling ArgumentParser InputOrigin.swift
[73/101] Compiling ArgumentParser Name.swift
[74/101] Compiling ArgumentParser Parsed.swift
[75/101] Compiling ArgumentParser ParsedValues.swift
[76/101] Compiling ArgumentParser ParserError.swift
[77/101] Compiling ArgumentParser SplitArguments.swift
[78/101] Compiling ArgumentParser DumpHelpGenerator.swift
[79/101] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
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:187:7: error: cannot find '_exit' in scope
185 |   ) -> Never {
186 |     guard let error = error else {
187 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
188 |     }
189 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:199:5: error: cannot find '_exit' in scope
197 |       }
198 |     }
199 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
200 |   }
201 |
[80/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
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:187:7: error: cannot find '_exit' in scope
185 |   ) -> Never {
186 |     guard let error = error else {
187 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
188 |     }
189 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:199:5: error: cannot find '_exit' in scope
197 |       }
198 |     }
199 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
200 |   }
201 |
[81/101] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
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:187:7: error: cannot find '_exit' in scope
185 |   ) -> Never {
186 |     guard let error = error else {
187 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
188 |     }
189 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:199:5: error: cannot find '_exit' in scope
197 |       }
198 |     }
199 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
200 |   }
201 |
[82/101] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
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:187:7: error: cannot find '_exit' in scope
185 |   ) -> Never {
186 |     guard let error = error else {
187 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
188 |     }
189 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:199:5: error: cannot find '_exit' in scope
197 |       }
198 |     }
199 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
200 |   }
201 |
[83/101] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
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:187:7: error: cannot find '_exit' in scope
185 |   ) -> Never {
186 |     guard let error = error else {
187 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
188 |     }
189 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:199:5: error: cannot find '_exit' in scope
197 |       }
198 |     }
199 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
200 |   }
201 |
[84/101] Compiling SwiftyBeaver GoogleCloudDestination.swift
[85/101] Compiling SwiftyBeaver SBPlatformDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:623:56: error: argument type 'Thread' does not conform to expected type 'CVarArg'
621 |                     return threadName
622 |                 } else {
623 |                     return String(format: "%p", Thread.current)
    |                                                        `- error: argument type 'Thread' does not conform to expected type 'CVarArg'
624 |                 }
625 |             }
[86/101] Emitting module SwiftyBeaver
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[92/101] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:74:28: error: cannot find '__dispatch_queue_get_label' in scope
 72 |                 return ""
 73 |             } else {
 74 |                 let name = __dispatch_queue_get_label(nil)
    |                            `- error: cannot find '__dispatch_queue_get_label' in scope
 75 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 76 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:74:55: error: 'nil' requires a contextual type
 72 |                 return ""
 73 |             } else {
 74 |                 let name = __dispatch_queue_get_label(nil)
    |                                                       `- error: 'nil' requires a contextual type
 75 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 76 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/11] Write swift-version-24593BA9C3E375BF.txt
[2/43] Emitting module SwiftyBeaver
[3/44] Compiling SwiftyBeaver SBPlatformDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:623:56: error: argument type 'Thread' does not conform to expected type 'CVarArg'
621 |                     return threadName
622 |                 } else {
623 |                     return String(format: "%p", Thread.current)
    |                                                        `- error: argument type 'Thread' does not conform to expected type 'CVarArg'
624 |                 }
625 |             }
[4/44] Compiling SWXMLHash shim.swift
[5/44] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:74:28: error: cannot find '__dispatch_queue_get_label' in scope
 72 |                 return ""
 73 |             } else {
 74 |                 let name = __dispatch_queue_get_label(nil)
    |                            `- error: cannot find '__dispatch_queue_get_label' in scope
 75 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 76 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:74:55: error: 'nil' requires a contextual type
 72 |                 return ""
 73 |             } else {
 74 |                 let name = __dispatch_queue_get_label(nil)
    |                                                       `- error: 'nil' requires a contextual type
 75 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 76 |             }
[6/44] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[7/44] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[8/44] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[9/44] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[10/45] Compiling SwiftyBeaver GoogleCloudDestination.swift
[11/45] Compiling SwiftyBeaver FilterValidator.swift
[12/45] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[13/45] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[14/45] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[15/45] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[16/45] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[17/45] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[18/45] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[19/45] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:27: error: cannot find 'NSFileCoordinator' in scope
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:60: error: 'nil' requires a contextual type
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:27: error: cannot find 'NSFileCoordinator' in scope
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:171:60: error: 'nil' requires a contextual type
169 |         #else
170 |         var success = false
171 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
172 |         var error: NSError?
173 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
[22/45] Compiling SwiftyBeaver Filter.swift
[23/45] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[24/45] Compiling Yams Constructor.swift
[25/45] Compiling Yams Decoder.swift
[26/45] Emitting module ArgumentParserToolInfo
[27/45] Compiling ArgumentParserToolInfo ToolInfo.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[30/46] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/46] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[33/45] Emitting module SWXMLHash
BUILD FAILURE 6.1 android