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 swift-doc, reference 1.0.0-rc.1 (f935eb), with Swift 6.2 (beta) for Android on 18 Jun 2025 13:20: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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/swift-doc.git
Reference: 1.0.0-rc.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/SwiftDocOrg/swift-doc
 * tag               1.0.0-rc.1 -> FETCH_HEAD
HEAD is now at f935ebf Bump version to 1.0.0-rc.1
Cloned https://github.com/SwiftDocOrg/swift-doc.git
Revision (git rev-parse @):
f935ebfe524a0ff27bda07dadc3662e3e45b5125
SUCCESS checkout https://github.com/SwiftDocOrg/swift-doc.git at 1.0.0-rc.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftDocOrg/swift-doc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
[1/70884] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.53s)
Fetching https://github.com/NSHipster/SwiftSyntaxHighlighter.git
[1/547] Fetching swiftsyntaxhighlighter
Fetched https://github.com/NSHipster/SwiftSyntaxHighlighter.git from cache (0.27s)
Fetching https://github.com/SwiftDocOrg/Markup.git
Fetching https://github.com/NSHipster/swift-log-github-actions.git
Fetching https://github.com/SwiftDocOrg/GraphViz.git
Fetching https://github.com/NSHipster/HypertextLiteral.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/136] Fetching hypertextliteral
[21/203] Fetching hypertextliteral, swift-log-github-actions
[204/582] Fetching hypertextliteral, swift-log-github-actions, markup
[583/4418] Fetching hypertextliteral, swift-log-github-actions, markup, swift-log
[3307/5228] Fetching hypertextliteral, swift-log-github-actions, markup, swift-log, graphviz
Fetched https://github.com/SwiftDocOrg/GraphViz.git from cache (0.38s)
Fetching https://github.com/SwiftDocOrg/SwiftMarkup.git
Fetched https://github.com/SwiftDocOrg/Markup.git from cache (0.39s)
Fetching https://github.com/SwiftDocOrg/CommonMark.git
[1/15380] Fetching swift-argument-parser
[5077/15749] Fetching swift-argument-parser, swiftmarkup
[8522/16924] Fetching swift-argument-parser, swiftmarkup, commonmark
Fetched https://github.com/SwiftDocOrg/SwiftMarkup.git from cache (0.21s)
[11634/16555] Fetching swift-argument-parser, commonmark
Fetching https://github.com/SwiftDocOrg/SwiftSemantics.git
Fetched https://github.com/SwiftDocOrg/CommonMark.git from cache (0.26s)
[15073/15380] Fetching swift-argument-parser
[15381/15812] Fetching swift-argument-parser, swiftsemantics
Fetched https://github.com/NSHipster/swift-log-github-actions.git from cache (0.85s)
Fetched https://github.com/NSHipster/HypertextLiteral.git from cache (0.85s)
Fetched https://github.com/apple/swift-log.git from cache (0.85s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Fetched https://github.com/SwiftDocOrg/SwiftSemantics.git from cache (0.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (1.49s)
Computing version for https://github.com/NSHipster/swift-log-github-actions.git
Computed https://github.com/NSHipster/swift-log-github-actions.git at 0.0.1 (0.65s)
Computing version for https://github.com/SwiftDocOrg/GraphViz.git
Computed https://github.com/SwiftDocOrg/GraphViz.git at 0.4.1 (0.74s)
Computing version for https://github.com/SwiftDocOrg/SwiftMarkup.git
Computed https://github.com/SwiftDocOrg/SwiftMarkup.git at 0.3.0 (0.63s)
Computing version for https://github.com/SwiftDocOrg/Markup.git
Computed https://github.com/SwiftDocOrg/Markup.git at 0.1.3 (0.43s)
Computing version for https://github.com/NSHipster/HypertextLiteral.git
Computed https://github.com/NSHipster/HypertextLiteral.git at 0.0.3 (0.55s)
Computing version for https://github.com/SwiftDocOrg/CommonMark.git
Computed https://github.com/SwiftDocOrg/CommonMark.git at 0.5.1 (0.78s)
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/12555] Fetching swift-cmark
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (1.24s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (5.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.79s)
Computing version for https://github.com/SwiftDocOrg/SwiftSemantics.git
Computed https://github.com/SwiftDocOrg/SwiftSemantics.git at 0.3.2 (0.78s)
Creating working copy for https://github.com/SwiftDocOrg/Markup.git
Working copy of https://github.com/SwiftDocOrg/Markup.git resolved at 0.1.3
Creating working copy for https://github.com/SwiftDocOrg/GraphViz.git
Working copy of https://github.com/SwiftDocOrg/GraphViz.git resolved at 0.4.1
Creating working copy for https://github.com/NSHipster/HypertextLiteral.git
Working copy of https://github.com/NSHipster/HypertextLiteral.git resolved at 0.0.3
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.29.0+20210102.9c8096a
Creating working copy for https://github.com/NSHipster/swift-log-github-actions.git
Working copy of https://github.com/NSHipster/swift-log-github-actions.git resolved at 0.0.1
Creating working copy for https://github.com/SwiftDocOrg/SwiftMarkup.git
Working copy of https://github.com/SwiftDocOrg/SwiftMarkup.git resolved at 0.3.0
Creating working copy for https://github.com/SwiftDocOrg/CommonMark.git
Working copy of https://github.com/SwiftDocOrg/CommonMark.git resolved at 0.5.1
Creating working copy for https://github.com/SwiftDocOrg/SwiftSemantics.git
Working copy of https://github.com/SwiftDocOrg/SwiftSemantics.git resolved at 0.3.2
Creating working copy for https://github.com/NSHipster/SwiftSyntaxHighlighter.git
Working copy of https://github.com/NSHipster/SwiftSyntaxHighlighter.git resolved at 1.2.2 (175923d)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50300.0 (844574d)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
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 0.3.2
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
Building for debugging...
[0/67] Write sources
[1/67] Compiling cmark xml.c
[2/67] Compiling cmark man.c
[3/67] Compiling cmark render.c
[4/67] Compiling cmark references.c
[5/67] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/67] Compiling cmark node.c
[7/67] Compiling cmark latex.c
[8/67] Compiling cmark iterator.c
[9/67] Compiling cmark houdini_href_e.c
[10/67] Compiling cmark houdini_html_e.c
[11/67] Compiling cmark html.c
[12/67] Compiling cmark cmark_ctype.c
[13/67] Compiling cmark cmark.c
[14/67] Compiling cmark commonmark.c
[15/67] Write sources
[26/67] Compiling cmark houdini_html_u.c
[27/67] Write sources
[28/67] Compiling cmark inlines.c
[29/67] Write sources
[32/67] Compiling cmark buffer.c
[33/67] Write sources
[34/67] Compiling atomic-counter.c
[35/67] Compiling cmark utf8.c
[35/67] Write sources
[40/134] Compiling cmark blocks.c
[41/190] Compiling cmark scanners.c
[43/215] Compiling DOM ProcessingInstruction.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[44/215] Compiling DOM Node.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[45/216] Emitting module GraphViz
[46/216] Compiling CommonMark Link.swift
[47/216] Compiling CommonMark RawHTML.swift
[48/216] Compiling CommonMark SoftLineBreak.swift
[49/216] Compiling CommonMark Code.swift
[50/216] Compiling CommonMark Emphasis.swift
[51/216] Compiling CommonMark HardLineBreak.swift
[52/216] Compiling CommonMark Image.swift
[53/216] Compiling CommonMark Block.swift
[54/216] Compiling CommonMark Children.swift
[55/216] Compiling CommonMark Inline.swift
[56/216] Compiling CommonMark Paragraph.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 |
[57/216] Compiling CommonMark ThematicBreak.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 |
[58/216] Compiling CommonMark Document.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 |
/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 |
/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 |
[61/220] Compiling HypertextLiteral HypertextAttributeValueInterpolatable.swift
[62/220] Compiling HypertextLiteral HypertextAttributesInterpolatable.swift
[63/225] Compiling Logging LogHandler.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
[64/227] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1018:13: error: cannot find 'flockfile' in scope
1016 |             // no file locking on WASI
1017 |             #else
1018 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1019 |             #endif
1020 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1029:17: error: cannot find 'fwrite' in scope
1027 |                 #endif
1028 |             }
1029 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1030 |             if case .always = self.flushMode {
1031 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1039:13: error: cannot find 'fflush' in scope
1037 |     /// This has no effect when using the `.always` flush mode, which is the default
1038 |     internal func flush() {
1039 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1040 |     }
1041 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:25: error: cannot find 'time' in scope
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:30: error: 'nil' requires a contextual type
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1158:25: error: cannot find 'localtime' in scope
1156 |         #else
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
     |                         `- error: cannot find 'localtime' in scope
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
1160 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1159:9: error: cannot find 'strftime' in scope
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1160 |         #endif
1161 |         return buffer.withUnsafeBufferPointer {
[65/227] Compiling HypertextLiteral HypertextLiteralConvertible.swift
[66/227] Compiling CommonMark BlockQuote.swift
[67/227] Compiling CommonMark CodeBlock.swift
[68/227] Compiling CommonMark HTMLBlock.swift
[69/227] Compiling CommonMark Heading.swift
[74/227] Emitting module CommonMark
[75/227] Compiling CommonMark List.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[81/227] Compiling DOM String+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[82/227] Compiling DCOV Ratio.swift
[83/227] Emitting module DCOV
[84/227] Compiling CommonMark Literal.swift
[85/227] Compiling CommonMark Strong.swift
[86/227] Compiling CommonMark Text.swift
[87/227] Compiling CommonMark Node.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/227] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
[89/227] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(self.mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:9: error: cannot find 'pthread_mutexattr_settype' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:43: error: cannot infer contextual base in reference to member 'init'
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:65:19: error: cannot find 'pthread_mutex_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 66 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 67 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
 72 |         // SRWLOCK does not need to be free'd
 73 |         #else
 74 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 75 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 76 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(self.mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_unlock' in scope
 99 |         ReleaseSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:19: error: cannot find 'pthread_rwlock_init' in scope
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:52: error: 'nil' requires a contextual type
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:168:19: error: cannot find 'pthread_rwlock_destroy' in scope
166 |         // SRWLOCK does not need to be free'd
167 |         #else
168 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:185:19: error: cannot find 'pthread_rwlock_rdlock' in scope
183 |         self.shared = true
184 |         #else
185 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
186 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
187 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_wrlock' in scope
199 |         self.shared = false
200 |         #else
201 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:221:19: error: cannot find 'pthread_rwlock_unlock' in scope
219 |         }
220 |         #else
221 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
222 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
223 |         #endif
[90/227] Emitting module HypertextLiteral
[92/227] Compiling CommonMark Visitable.swift
[93/227] Compiling CommonMark Visitor.swift
[94/227] Compiling CommonMark Version.swift
[95/227] Compiling CommonMark Linked.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/227] 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 |
/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/.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/.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/.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/.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/.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 |
[108/227] Compiling CommonMark LineBreak.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/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
[120/227] Compiling DOM Text.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[121/227] Compiling DCOV Entry.swift
[122/227] Compiling DCOV Report.swift
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/.build/checkouts/Markup/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[126/228] Compiling HypertextLiteral Swift+HyperTextConvertible.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/Markup/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
BUILD FAILURE 6.2 android