Build Information
Failed to build swift-doc, reference master (f935eb
), with Swift 6.2 (beta) for Android on 18 Jun 2025 13:19:01 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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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 (4.12s)
Fetching https://github.com/NSHipster/SwiftSyntaxHighlighter.git
[1/547] Fetching swiftsyntaxhighlighter
Fetched https://github.com/NSHipster/SwiftSyntaxHighlighter.git from cache (0.95s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/NSHipster/swift-log-github-actions.git
Fetching https://github.com/NSHipster/HypertextLiteral.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/SwiftDocOrg/GraphViz.git
Fetching https://github.com/SwiftDocOrg/Markup.git
[1/379] Fetching markup
[380/1189] Fetching markup, graphviz
[1182/1256] Fetching markup, graphviz, swift-log-github-actions
[1257/1392] Fetching markup, graphviz, swift-log-github-actions, hypertextliteral
[1393/5228] Fetching markup, graphviz, swift-log-github-actions, hypertextliteral, swift-log
[5229/20608] Fetching markup, graphviz, swift-log-github-actions, hypertextliteral, swift-log, swift-argument-parser
Fetched https://github.com/SwiftDocOrg/Markup.git from cache (0.91s)
[5003/20229] Fetching graphviz, swift-log-github-actions, hypertextliteral, swift-log, swift-argument-parser
Fetched https://github.com/NSHipster/HypertextLiteral.git from cache (0.91s)
Fetched https://github.com/NSHipster/swift-log-github-actions.git from cache (0.91s)
Fetched https://github.com/SwiftDocOrg/GraphViz.git from cache (0.91s)
Fetching https://github.com/SwiftDocOrg/SwiftMarkup.git
Fetched https://github.com/apple/swift-log.git from cache (0.92s)
[308/15380] Fetching swift-argument-parser
Fetching https://github.com/SwiftDocOrg/CommonMark.git
[15381/15749] Fetching swift-argument-parser, swiftmarkup
[15750/16924] Fetching swift-argument-parser, swiftmarkup, commonmark
Fetching https://github.com/SwiftDocOrg/SwiftSemantics.git
Fetched https://github.com/SwiftDocOrg/CommonMark.git from cache (0.71s)
Fetched https://github.com/SwiftDocOrg/SwiftMarkup.git from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.64s)
[1/432] Fetching swiftsemantics
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 (2.32s)
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.42s)
Computing version for https://github.com/SwiftDocOrg/GraphViz.git
Computed https://github.com/SwiftDocOrg/GraphViz.git at 0.4.1 (0.86s)
Computing version for https://github.com/SwiftDocOrg/SwiftMarkup.git
Computed https://github.com/SwiftDocOrg/SwiftMarkup.git at 0.3.0 (0.49s)
Computing version for https://github.com/SwiftDocOrg/Markup.git
Computed https://github.com/SwiftDocOrg/Markup.git at 0.1.3 (0.95s)
Computing version for https://github.com/NSHipster/HypertextLiteral.git
Computed https://github.com/NSHipster/HypertextLiteral.git at 0.0.3 (0.54s)
Computing version for https://github.com/SwiftDocOrg/CommonMark.git
Computed https://github.com/SwiftDocOrg/CommonMark.git at 0.5.1 (0.73s)
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/12555] Fetching swift-cmark
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (0.88s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (3.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.94s)
Computing version for https://github.com/SwiftDocOrg/SwiftSemantics.git
Computed https://github.com/SwiftDocOrg/SwiftSemantics.git at 0.3.2 (0.53s)
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/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/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/SwiftMarkup.git
Working copy of https://github.com/SwiftDocOrg/SwiftMarkup.git resolved at 0.3.0
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/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/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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.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/SwiftDocOrg/GraphViz.git
Working copy of https://github.com/SwiftDocOrg/GraphViz.git resolved at 0.4.1
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)
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
[3/67] Compiling cmark references.c
[4/67] Compiling cmark xml.c
[5/67] Compiling cmark render.c
[6/67] Compiling cmark iterator.c
[7/67] Compiling cmark node.c
[8/67] Compiling cmark latex.c
[8/67] Compiling cmark man.c
[10/67] Compiling cmark html.c
[11/67] Compiling cmark houdini_href_e.c
[12/67] Compiling cmark houdini_html_e.c
[13/67] Compiling cmark utf8.c
[14/67] Compiling cmark houdini_html_u.c
[15/67] Compiling cmark cmark_ctype.c
[16/67] Compiling cmark cmark.c
[17/67] Write sources
[35/67] Compiling cmark commonmark.c
[36/67] Compiling cmark inlines.c
[37/67] Compiling cmark buffer.c
[38/67] Compiling atomic-counter.c
[39/67] Compiling cmark blocks.c
[40/67] Write swift-version-8C5A4AE7A8CE2BA.txt
[40/67] Compiling cmark scanners.c
[43/215] Emitting module DCOV
[44/215] Emitting module CommonMark
[45/218] Compiling DOM DocumentFragment.swift
[46/218] Compiling DOM DocumentType.swift
[47/218] Compiling DOM Comment.swift
[48/218] Compiling DOM Document.swift
[49/218] Compiling GraphViz BidirectionalEdgeOperator.swift
[50/218] Compiling SwiftSyntax SyntaxData.swift
[51/218] Compiling SwiftSyntax SyntaxOtherNodes.swift
[52/218] Compiling SwiftSyntax SyntaxParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/226] 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 |
[54/226] 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 {
[55/227] 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 {
[56/227] Compiling DOM Element.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 {
[57/227] Compiling DOM Error.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 {
[58/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 {
[59/227] Compiling HypertextLiteral HypertextLiteralConvertible.swift
[64/227] Compiling HypertextLiteral HypertextAttributesInterpolatable.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 |
/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 |
[69/227] Compiling CommonMark Code.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 |
[70/227] Compiling HypertextLiteral HypertextAttributeValueInterpolatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/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.
[72/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/227] Emitting module DOM
/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 {
[74/227] Compiling CommonMark Visitable.swift
[75/227] Compiling CommonMark Visitor.swift
[76/227] Compiling CommonMark Version.swift
[77/227] 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 |
[78/227] Compiling DCOV Ratio.swift
[79/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(×tamp)
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(×tamp)
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(×tamp)
| `- 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(×tamp)
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 {
[80/227] Compiling CommonMark Block.swift
[81/227] Compiling CommonMark Children.swift
[82/227] Compiling CommonMark Inline.swift
[83/227] Compiling CommonMark LineBreak.swift
[84/227] Compiling CommonMark Linked.swift
[85/227] Compiling CommonMark Literal.swift
[87/227] Compiling CommonMark Emphasis.swift
[90/227] Compiling GraphViz KeyValuePairs+Extensions.swift
[91/227] Compiling GraphViz Graph.swift
[92/227] Compiling GraphViz Node.swift
[97/227] Compiling GraphViz Format.swift
/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 |
[98/227] Compiling GraphViz GraphBuilder.swift
/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 |
[99/227] Compiling GraphViz BackwardEdgeOperator.swift
/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 |
[100/227] Compiling DCOV Report.swift
[101/227] Compiling DCOV Entry.swift
[102/228] 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 {
[103/228] Compiling HypertextLiteral Swift+HyperTextConvertible.swift
[104/228] Emitting module HypertextLiteral
/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/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.
BUILD FAILURE 6.2 android