The Swift Package Index logo.Swift Package Index

Build Information

Failed to build unidoc, reference 0.27.1 (0f786d), with Swift 6.2 for Android on 19 Jul 2026 07:38:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rarestype/unidoc.git
Reference: 0.27.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/rarestype/unidoc
 * tag               0.27.1     -> FETCH_HEAD
HEAD is now at 0f786de [release]: 0.27.1
Cloned https://github.com/rarestype/unidoc.git
Revision (git rev-parse @):
0f786deb92268e90d48f468b1134b033b06463e7
SUCCESS checkout https://github.com/rarestype/unidoc.git at 0.27.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rarestype/unidoc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-markdown
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/tayloraswift/swift-png
[1/7589] Fetching swift-markdown
[988/25764] Fetching swift-markdown, swift-argument-parser
[7252/51877] Fetching swift-markdown, swift-argument-parser, swift-collections
[11320/59388] Fetching swift-markdown, swift-argument-parser, swift-collections, swift-png
[33428/143986] Fetching swift-markdown, swift-argument-parser, swift-collections, swift-png, swift-nio
[34274/220036] Fetching swift-markdown, swift-argument-parser, swift-collections, swift-png, swift-nio, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.68s)
[120742/201861] Fetching swift-markdown, swift-collections, swift-png, swift-nio, swift-syntax
Fetching https://github.com/rarestype/ucf
Fetched https://github.com/apple/swift-collections from cache (1.69s)
[96150/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
Fetching https://github.com/rarestype/u
[134845/176529] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, ucf
[134892/177094] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, ucf, u
Fetched https://github.com/rarestype/ucf from cache (0.42s)
Fetched https://github.com/rarestype/u from cache (0.42s)
[139492/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
Fetching https://github.com/rarestype/servit
[148607/176246] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, servit
Fetching https://github.com/rarestype/swift-topsort
Fetched https://github.com/rarestype/servit from cache (0.44s)
Fetching https://github.com/rarestype/swift-mongodb
[150367/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
[156297/175909] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-topsort
Fetched https://github.com/rarestype/swift-topsort from cache (0.43s)
Fetching https://github.com/rarestype/swift-json
[157142/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
[157143/189135] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-mongodb
Fetched https://github.com/rarestype/swift-mongodb from cache (0.79s)
Fetching https://github.com/rarestype/swift-io
[172670/178714] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-json
[173384/179360] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-json, swift-io
Fetched https://github.com/rarestype/swift-io from cache (0.56s)
Fetching https://github.com/rarestype/swift-ip
[173458/178714] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-json
[173459/179959] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-json, swift-ip
Fetched https://github.com/rarestype/swift-ip from cache (0.48s)
Fetching https://github.com/rarestype/swift-github
[174198/178714] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-json
Fetched https://github.com/rarestype/swift-json from cache (1.64s)
Fetching https://github.com/rarestype/swift-dom
[173045/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
[174247/175953] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-github
Fetched https://github.com/rarestype/swift-github from cache (0.44s)
Fetching https://github.com/rarestype/swift-bson
[174397/175748] Fetching swift-markdown, swift-png, swift-nio, swift-syntax
[175749/177203] Fetching swift-markdown, swift-png, swift-nio, swift-syntax, swift-dom
Fetched https://github.com/rarestype/swift-dom from cache (0.55s)
Fetching https://github.com/rarestype/gram
[1/1940] Fetching swift-bson
Fetched https://github.com/rarestype/swift-bson from cache (0.53s)
Fetching https://github.com/ordo-one/lexic
[1/1238] Fetching gram
Fetched https://github.com/rarestype/gram from cache (0.63s)
Fetching https://github.com/ordo-one/dollup
[1/620] Fetching lexic
Fetched https://github.com/tayloraswift/swift-png from cache (6.04s)
Fetching https://github.com/rarestype/h
Fetched https://github.com/ordo-one/lexic from cache (0.71s)
[1/44] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.72s)
[1/1274] Fetching h
Fetched https://github.com/rarestype/h from cache (0.65s)
Fetched https://github.com/apple/swift-markdown from cache (6.72s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.76s)
Fetched https://github.com/apple/swift-nio from cache (6.77s)
Computing version for https://github.com/tayloraswift/swift-png
Computed https://github.com/tayloraswift/swift-png at 4.5.1 (7.02s)
Computing version for https://github.com/rarestype/u
Computed https://github.com/rarestype/u at 1.1.0 (0.24s)
Computing version for https://github.com/rarestype/servit
Computed https://github.com/rarestype/servit at 1.2.0 (0.21s)
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl
[1/12183] Fetching swift-nio-http2
[2560/27780] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2 from cache (0.86s)
[11386/15597] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl from cache (1.30s)
Computing version for https://github.com/rarestype/swift-topsort
Computed https://github.com/rarestype/swift-topsort at 0.2.0 (1.45s)
Computing version for https://github.com/rarestype/swift-mongodb
Computed https://github.com/rarestype/swift-mongodb at 1.1.0 (0.16s)
Computing version for https://github.com/rarestype/swift-ip
Computed https://github.com/rarestype/swift-ip at 0.3.10 (0.15s)
Computing version for https://github.com/rarestype/swift-github
Computed https://github.com/rarestype/swift-github at 2.1.0 (0.16s)
Fetching https://github.com/rarestype/swift-jwt
[1/128] Fetching swift-jwt
Fetched https://github.com/rarestype/swift-jwt from cache (0.32s)
Computing version for https://github.com/rarestype/swift-dom
Computed https://github.com/rarestype/swift-dom at 1.2.3 (0.54s)
Computing version for https://github.com/rarestype/h
Computed https://github.com/rarestype/h at 1.0.1 (0.16s)
Computing version for https://github.com/rarestype/gram
Computed https://github.com/rarestype/gram at 2.0.0 (0.15s)
Computing version for https://github.com/ordo-one/lexic
Computed https://github.com/ordo-one/lexic at 1.7.0 (0.19s)
Computing version for https://github.com/rarestype/swift-jwt
Computed https://github.com/rarestype/swift-jwt at 0.2.0 (0.68s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.8.0 (0.74s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18552] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.59s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.8.0 (2.44s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 1.44.0 (0.15s)
Fetching https://github.com/apple/swift-atomics.git
[1/1868] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.67s)
Computing version for https://github.com/rarestype/ucf
Computed https://github.com/rarestype/ucf at 0.4.1 (0.15s)
Computing version for https://github.com/rarestype/swift-bson
Computed https://github.com/rarestype/swift-bson at 2.2.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.2 (0.17s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.23s)
Computing version for https://github.com/rarestype/swift-io
Computed https://github.com/rarestype/swift-io at 3.4.0 (0.16s)
Fetching https://github.com/apple/swift-system
[1/6236] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.69s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.101.3 (0.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
Computing version for https://github.com/rarestype/swift-json
Computed https://github.com/rarestype/swift-json at 3.5.0 (0.22s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.8 (0.12s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.4 (0.16s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.101.3
Creating working copy for https://github.com/rarestype/swift-bson
Working copy of https://github.com/rarestype/swift-bson resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.2
Creating working copy for https://github.com/rarestype/swift-dom
Working copy of https://github.com/rarestype/swift-dom resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/rarestype/swift-topsort
Working copy of https://github.com/rarestype/swift-topsort resolved at 0.2.0
Creating working copy for https://github.com/rarestype/ucf
Working copy of https://github.com/rarestype/ucf resolved at 0.4.1
Creating working copy for https://github.com/rarestype/swift-ip
Working copy of https://github.com/rarestype/swift-ip resolved at 0.3.10
Creating working copy for https://github.com/rarestype/gram
Working copy of https://github.com/rarestype/gram resolved at 2.0.0
Creating working copy for https://github.com/rarestype/h
Working copy of https://github.com/rarestype/h resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-http2
Working copy of https://github.com/apple/swift-nio-http2 resolved at 1.44.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.4
Creating working copy for https://github.com/tayloraswift/swift-png
Working copy of https://github.com/tayloraswift/swift-png resolved at 4.5.1
Creating working copy for https://github.com/rarestype/u
Working copy of https://github.com/rarestype/u resolved at 1.1.0
Creating working copy for https://github.com/rarestype/servit
Working copy of https://github.com/rarestype/servit resolved at 1.2.0
Creating working copy for https://github.com/rarestype/swift-github
Working copy of https://github.com/rarestype/swift-github resolved at 2.1.0
Creating working copy for https://github.com/rarestype/swift-json
Working copy of https://github.com/rarestype/swift-json resolved at 3.5.0
Creating working copy for https://github.com/ordo-one/lexic
Working copy of https://github.com/ordo-one/lexic resolved at 1.7.0
Creating working copy for https://github.com/rarestype/swift-io
Working copy of https://github.com/rarestype/swift-io resolved at 3.4.0
Creating working copy for https://github.com/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.8.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.8.0
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.0.8
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/rarestype/swift-mongodb
Working copy of https://github.com/rarestype/swift-mongodb resolved at 1.1.0
Creating working copy for https://github.com/rarestype/swift-jwt
Working copy of https://github.com/rarestype/swift-jwt resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading binary artifact https://get.rarestype.com/dollup/1.0.8/Linux-x86_64/dollup.artifactbundle.zip
[5467/13058505] Downloading https://get.rarestype.com/dollup/1.0.8/Linux-x86_64/dollup.artifactbundle.zip
Downloaded https://get.rarestype.com/dollup/1.0.8/Linux-x86_64/dollup.artifactbundle.zip (0.85s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MarkdownABI/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Symbols/README.md
warning: 'servit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/servit/Sources/_AsyncChannel/README.md
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin DollupPlugin
Building for debugging...
[3/822] Write sources
[27/822] Compiling _SwiftSyntaxCShims PlatformMutex.c
[28/822] Compiling cmark-gfm-extensions strikethrough.c
[29/822] Compiling cmark-gfm-extensions tagfilter.c
[30/822] Compiling cmark-gfm-extensions core-extensions.c
[31/822] Compiling cmark-gfm-extensions ext_scanners.c
[32/822] Compiling cmark-gfm-extensions tasklist.c
[33/822] Write swift-version--11D90AFD9DD3AB2.txt
[34/822] Compiling cmark-gfm xml.c
[35/822] Compiling cmark-gfm syntax_extension.c
[36/822] Compiling cmark-gfm-extensions table.c
[37/822] Compiling cmark-gfm-extensions autolink.c
[38/822] Compiling cmark-gfm render.c
[39/822] Compiling cmark-gfm registry.c
[40/834] Compiling cmark-gfm utf8.c
[42/834] Emitting module SwiftSyntax510
[43/834] Emitting module SwiftSyntax602
[44/834] Emitting module SwiftSyntax603
[45/834] Emitting module SwiftSyntax600
[45/836] Compiling cmark-gfm scanners.c
[46/836] Compiling cmark-gfm references.c
[47/836] Compiling cmark-gfm plugin.c
[48/836] Compiling cmark-gfm plaintext.c
[49/836] Compiling cmark-gfm node.c
[50/836] Compiling cmark-gfm map.c
[51/836] Compiling cmark-gfm man.c
[52/836] Compiling cmark-gfm linked_list.c
[53/836] Compiling cmark-gfm latex.c
[54/836] Compiling cmark-gfm iterator.c
[55/836] Compiling cmark-gfm inlines.c
[56/836] Compiling cmark-gfm html.c
[57/836] Compiling cmark-gfm houdini_html_u.c
[58/836] Compiling cmark-gfm houdini_html_e.c
[59/836] Compiling cmark-gfm houdini_href_e.c
[60/836] Compiling cmark-gfm footnotes.c
[61/836] Compiling cmark-gfm commonmark.c
[62/836] Compiling cmark-gfm cmark_ctype.c
[63/836] Compiling cmark-gfm cmark.c
[64/836] Compiling cmark-gfm buffer.c
[65/836] Compiling cmark-gfm blocks.c
[66/836] Compiling cmark-gfm arena.c
[67/836] Compiling _SwiftSyntaxCShims PlatformMutex.c
[68/836] Write sources
[71/840] Compiling SwiftSyntax600 Empty.swift
[73/841] Compiling SwiftSyntax510 Empty.swift
[74/841] Compiling guides anchor.swift
[75/841] Emitting module guides
[77/845] Write sources
[78/845] Wrapping AST for SwiftSyntax600 for debugging
[78/845] Wrapping AST for SwiftSyntax510 for debugging
[80/845] Compiling _GitVersion swiftpm_git_version.c
[81/845] Write sources
[84/845] Compiling _AtomicsShims.c
[85/845] Write sources
[129/845] Compiling SwiftSyntax602 Empty.swift
[131/869] Emitting module SwiftSyntax509
[132/869] Compiling SwiftSyntax509 Empty.swift
[134/873] Compiling _NIODataStructures PriorityQueue.swift
[135/873] Compiling _NIODataStructures Heap.swift
[136/873] Compiling _NIODataStructures _TinyArray.swift
[137/873] Emitting module _NIODataStructures
[138/876] Emitting module SwiftSyntax601
[139/876] Compiling SwiftSyntax601 Empty.swift
[141/877] Compiling SwiftSyntax603 Empty.swift
[142/878] Compiling Unidoc Unidoc.Scalar.swift
[143/878] Compiling Unidoc Unidoc.Package.swift
[146/878] Compiling Unidoc Unidoc.Vector.swift
[147/878] Compiling Unidoc Unidoc.swift
[148/878] Compiling TopologicalSorting Sequence (ext).swift
[149/878] Compiling Unidoc Unidoc.Version.swift
[150/878] Compiling TestableErrors Error (ext).swift
[151/878] Emitting module TestableErrors
[152/885] Emitting module _NIOBase64
[153/885] Compiling _NIOBase64 Base64.swift
[155/888] Emitting module Unidoc
[156/888] Compiling Unidoc ClosedRange (ext).swift
[157/888] Compiling Unidoc Unidoc.Edition.swift
[160/891] Compiling SwiftSyntax603 Empty.swift
[161/891] Compiling SystemCalls SystemCallErrorType.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:24:63: error: cannot find 'EEXIST' in scope
22 | }
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
   |                                                               `- error: cannot find 'EEXIST' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:25:64: error: cannot find 'ENOTDIR' in scope
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
   |                                                                `- error: cannot find 'ENOTDIR' in scope
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:26:66: error: cannot find 'ENOTEMPTY' in scope
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
   |                                                                  `- error: cannot find 'ENOTEMPTY' in scope
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:27:63: error: cannot find 'ENOENT' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
   |                                                               `- error: cannot find 'ENOENT' in scope
28 | }
29 | extension SystemCallErrorType: CustomStringConvertible {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:31:58: error: cannot find 'strerror' in scope
29 | extension SystemCallErrorType: CustomStringConvertible {
30 |     public var description: String {
31 |         guard let cString: UnsafeMutablePointer<CChar> = strerror(self.errno) else {
   |                                                          `- error: cannot find 'strerror' in scope
32 |             return "unknown error"
33 |         }
[162/891] Compiling SystemCalls SystemCallIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[163/891] Emitting module SystemCalls
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:21:38: error: cannot find type 'stat' in scope
19 |     @inlinable public static func _fstat(
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:45:17: error: cannot find type 'mode_t' in scope
43 |     @inlinable public static func _mkdir(
44 |         _ path: UnsafePointer<CChar>,
45 |         _ mode: mode_t
   |                 `- error: cannot find type 'mode_t' in scope
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:74:38: error: cannot find type 'stat' in scope
72 |     @inlinable public static func _stat(
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:87:38: error: cannot find type 'statvfs' in scope
85 |     @inlinable public static func _statvfs(
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
   |                                      `- error: cannot find type 'statvfs' in scope
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:22:21: error: cannot find type 'stat' in scope
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
23 |         let status: Int32 = fstat(file, &result)
24 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:23:29: error: cannot find 'fstat' in scope
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
   |                             `- error: cannot find 'fstat' in scope
24 |         if  status == 0 {
25 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:27:32: error: cannot find 'errno' in scope
25 |             return result
26 |         } else {
27 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
28 |         }
29 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:34:51: error: cannot find 'getcwd' in scope
32 |     ) throws(SystemCallError) -> T {
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
   |                                                   `- error: cannot find 'getcwd' in scope
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
36 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:34:58: error: 'nil' requires a contextual type
32 |     ) throws(SystemCallError) -> T {
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
   |                                                          `- error: 'nil' requires a contextual type
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
36 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:35:44: error: cannot find 'errno' in scope
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
   |                                            `- error: cannot find 'errno' in scope
36 |         }
37 |         defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:38:13: error: cannot find 'free' in scope
36 |         }
37 |         defer {
38 |             free(buffer)
   |             `- error: cannot find 'free' in scope
39 |         }
40 |         return yield(buffer)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:47:29: error: cannot find 'mkdir' in scope
45 |         _ mode: mode_t
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
   |                             `- error: cannot find 'mkdir' in scope
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:49:32: error: cannot find 'errno' in scope
47 |         let status: Int32 = mkdir(path, mode)
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
50 |         }
51 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:56:45: error: cannot find 'opendir' in scope
54 |         _ path: UnsafePointer<CChar>
55 |     ) throws(SystemCallErrorType) -> DirectoryPointer {
56 |         if  let pointer: DirectoryPointer = opendir(path) {
   |                                             `- error: cannot find 'opendir' in scope
57 |             return pointer
58 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:59:32: error: cannot find 'errno' in scope
57 |             return pointer
58 |         } else {
59 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
60 |         }
61 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:66:29: error: cannot find 'remove' in scope
64 |         _ path: UnsafePointer<CChar>
65 |     ) throws(SystemCallErrorType) {
66 |         let status: Int32 = remove(path)
   |                             `- error: cannot find 'remove' in scope
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:68:32: error: cannot find 'errno' in scope
66 |         let status: Int32 = remove(path)
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
69 |         }
70 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:75:21: error: cannot find type 'stat' in scope
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
76 |         let status: Int32 = stat(path, &result)
77 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:76:29: error: cannot find 'stat' in scope
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
   |                             `- error: cannot find 'stat' in scope
77 |         if  status == 0 {
78 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:80:32: error: cannot find 'errno' in scope
78 |             return result
79 |         } else {
80 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
81 |         }
82 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:88:21: error: cannot find type 'statvfs' in scope
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
   |                     `- error: cannot find type 'statvfs' in scope
89 |         let status: Int32 = statvfs(path, &result)
90 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:89:29: error: cannot find 'statvfs' in scope
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
   |                             `- error: cannot find 'statvfs' in scope
90 |         if  status == 0 {
91 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:93:32: error: cannot find 'errno' in scope
91 |             return result
92 |         } else {
93 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
94 |         }
95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:24:63: error: cannot find 'EEXIST' in scope
22 | }
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
   |                                                               `- error: cannot find 'EEXIST' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:25:64: error: cannot find 'ENOTDIR' in scope
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
   |                                                                `- error: cannot find 'ENOTDIR' in scope
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:26:66: error: cannot find 'ENOTEMPTY' in scope
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
   |                                                                  `- error: cannot find 'ENOTEMPTY' in scope
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:27:63: error: cannot find 'ENOENT' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
   |                                                               `- error: cannot find 'ENOENT' in scope
28 | }
29 | extension SystemCallErrorType: CustomStringConvertible {
[164/891] Compiling TopologicalSorting Dictionary (ext).swift
[165/891] Emitting module TopologicalSorting
[166/891] Compiling SwiftSyntax602 Empty.swift
[167/891] Emitting module SwiftSyntax602
[168/892] Compiling SystemCalls SystemCallError.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
[169/893] Compiling SystemCalls SystemCall.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:21:38: error: cannot find type 'stat' in scope
19 |     @inlinable public static func _fstat(
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:45:17: error: cannot find type 'mode_t' in scope
43 |     @inlinable public static func _mkdir(
44 |         _ path: UnsafePointer<CChar>,
45 |         _ mode: mode_t
   |                 `- error: cannot find type 'mode_t' in scope
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:74:38: error: cannot find type 'stat' in scope
72 |     @inlinable public static func _stat(
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:87:38: error: cannot find type 'statvfs' in scope
85 |     @inlinable public static func _statvfs(
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
   |                                      `- error: cannot find type 'statvfs' in scope
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:22:21: error: cannot find type 'stat' in scope
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
23 |         let status: Int32 = fstat(file, &result)
24 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:23:29: error: cannot find 'fstat' in scope
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
   |                             `- error: cannot find 'fstat' in scope
24 |         if  status == 0 {
25 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:27:32: error: cannot find 'errno' in scope
25 |             return result
26 |         } else {
27 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
28 |         }
29 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:34:51: error: cannot find 'getcwd' in scope
32 |     ) throws(SystemCallError) -> T {
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
   |                                                   `- error: cannot find 'getcwd' in scope
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
36 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:34:58: error: 'nil' requires a contextual type
32 |     ) throws(SystemCallError) -> T {
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
   |                                                          `- error: 'nil' requires a contextual type
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
36 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:35:44: error: cannot find 'errno' in scope
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
   |                                            `- error: cannot find 'errno' in scope
36 |         }
37 |         defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:38:13: error: cannot find 'free' in scope
36 |         }
37 |         defer {
38 |             free(buffer)
   |             `- error: cannot find 'free' in scope
39 |         }
40 |         return yield(buffer)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:47:29: error: cannot find 'mkdir' in scope
45 |         _ mode: mode_t
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
   |                             `- error: cannot find 'mkdir' in scope
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:49:32: error: cannot find 'errno' in scope
47 |         let status: Int32 = mkdir(path, mode)
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
50 |         }
51 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:56:45: error: cannot find 'opendir' in scope
54 |         _ path: UnsafePointer<CChar>
55 |     ) throws(SystemCallErrorType) -> DirectoryPointer {
56 |         if  let pointer: DirectoryPointer = opendir(path) {
   |                                             `- error: cannot find 'opendir' in scope
57 |             return pointer
58 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:59:32: error: cannot find 'errno' in scope
57 |             return pointer
58 |         } else {
59 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
60 |         }
61 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:66:29: error: cannot find 'remove' in scope
64 |         _ path: UnsafePointer<CChar>
65 |     ) throws(SystemCallErrorType) {
66 |         let status: Int32 = remove(path)
   |                             `- error: cannot find 'remove' in scope
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:68:32: error: cannot find 'errno' in scope
66 |         let status: Int32 = remove(path)
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
69 |         }
70 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:75:21: error: cannot find type 'stat' in scope
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
76 |         let status: Int32 = stat(path, &result)
77 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:76:29: error: cannot find 'stat' in scope
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
   |                             `- error: cannot find 'stat' in scope
77 |         if  status == 0 {
78 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:80:32: error: cannot find 'errno' in scope
78 |             return result
79 |         } else {
80 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
81 |         }
82 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:88:21: error: cannot find type 'statvfs' in scope
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
   |                     `- error: cannot find type 'statvfs' in scope
89 |         let status: Int32 = statvfs(path, &result)
90 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:89:29: error: cannot find 'statvfs' in scope
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
   |                             `- error: cannot find 'statvfs' in scope
90 |         if  status == 0 {
91 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:93:32: error: cannot find 'errno' in scope
91 |             return result
92 |         } else {
93 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
94 |         }
95 |     }
[170/893] Compiling SystemCalls SystemCall.DirectoryPointer.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
[171/893] Emitting module SwiftSyntax603
BUILD FAILURE 6.2 android