The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xtree, reference 2.2.1 (bfc252), with Swift 6.3 for Android on 16 Apr 2026 03:49:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftyfinch/xtree.git
Reference: 2.2.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/swiftyfinch/xtree
 * tag               2.2.1      -> FETCH_HEAD
HEAD is now at bfc252f [skip ci] Bump version 2.2.1
Cloned https://github.com/swiftyfinch/xtree.git
Revision (git rev-parse @):
bfc252fb96a19c77714cfe31a217c190a98ae8a0
SUCCESS checkout https://github.com/swiftyfinch/xtree.git at 2.2.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftyfinch/xtree.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftyfinch/Fish
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/weichsel/ZIPFoundation
[1/1442] Fetching rainbow
[665/1535] Fetching rainbow, fish
[1536/19058] Fetching rainbow, fish, swift-argument-parser
[1712/43491] Fetching rainbow, fish, swift-argument-parser, xcodeproj
[6327/49454] Fetching rainbow, fish, swift-argument-parser, xcodeproj, zipfoundation
Fetched https://github.com/swiftyfinch/Fish from cache (0.35s)
[9992/49361] Fetching rainbow, swift-argument-parser, xcodeproj, zipfoundation
[12229/60912] Fetching rainbow, swift-argument-parser, xcodeproj, zipfoundation, yams
Fetched https://github.com/weichsel/ZIPFoundation from cache (0.93s)
[43773/54949] Fetching rainbow, swift-argument-parser, xcodeproj, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.89s)
Fetched https://github.com/onevcat/Rainbow from cache (2.07s)
Fetched https://github.com/tuist/XcodeProj from cache (2.12s)
Fetched https://github.com/jpsim/Yams from cache (2.12s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.20 (2.61s)
Computing version for https://github.com/swiftyfinch/Fish
Computed https://github.com/swiftyfinch/Fish at 0.1.3 (2.39s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.46s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.80s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.63s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.11.0 (0.82s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1452] Fetching pathkit
[1453/3607] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.65s)
Fetched https://github.com/tadija/AEXML.git from cache (0.65s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.31s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.75s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.44s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.11.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/swiftyfinch/Fish
Working copy of https://github.com/swiftyfinch/Fish resolved at 0.1.3
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/33] Write sources
[13/33] Compiling writer.c
[14/33] Compiling reader.c
[15/33] Write swift-version--4F562202D5529B1.txt
[16/33] Compiling parser.c
[17/42] Compiling api.c
[18/87] Compiling emitter.c
[19/94] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/114] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[22/114] Emitting module ArgumentParserToolInfo
[23/114] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/115] Wrapping AST for ArgumentParserToolInfo for debugging
[26/161] Compiling ArgumentParser InputKey.swift
[27/161] Compiling ArgumentParser Foundation.swift
[28/162] Emitting module AEXML
[29/162] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/162] Compiling ArgumentParser CompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/162] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[32/164] Compiling ArgumentParser ArgumentDecoder.swift
[33/164] Compiling ArgumentParser ArgumentDefinition.swift
[34/166] Compiling ArgumentParser ArgumentSet.swift
[35/166] Compiling ArgumentParser CommandParser.swift
[36/166] Emitting module ArgumentParser
[37/172] Emitting module Yams
[38/172] Compiling ArgumentParser ParentCommand.swift
[39/172] Compiling ArgumentParser AsyncParsableCommand.swift
[40/172] Compiling ArgumentParser CommandConfiguration.swift
[41/172] Compiling ArgumentParser CommandGroup.swift
[42/172] Compiling ArgumentParser EnumerableFlag.swift
[43/172] Compiling ArgumentParser ExpressibleByArgument.swift
[44/172] Compiling ArgumentParser ParsableArguments.swift
[45/172] Compiling Yams YamlError.swift
[46/172] Compiling Yams YamlTagProviding.swift
[47/172] Compiling ArgumentParser Errors.swift
[48/172] Compiling ArgumentParser Flag.swift
[49/172] Compiling ArgumentParser NameSpecification.swift
[50/172] Compiling ArgumentParser Option.swift
[51/172] Compiling ArgumentParser OptionGroup.swift
[52/172] Compiling ArgumentParser InputOrigin.swift
[53/172] Compiling ArgumentParser Name.swift
[54/172] Compiling ArgumentParser Parsed.swift
[55/172] Compiling ArgumentParser ParsedValues.swift
[56/172] Compiling ArgumentParser ParserError.swift
[57/172] Compiling ArgumentParser SplitArguments.swift
[58/172] Compiling ArgumentParser Tree.swift
[59/172] Compiling ArgumentParser CodingKeyValidator.swift
[60/172] Compiling ArgumentParser NonsenseFlagsValidator.swift
[61/172] Compiling ArgumentParser ParsableArgumentsValidation.swift
[62/172] Compiling ArgumentParser PositionalArgumentsValidator.swift
[63/172] Compiling ArgumentParser UniqueNamesValidator.swift
[64/172] Compiling ArgumentParser DumpHelpGenerator.swift
[65/172] Compiling ArgumentParser HelpCommand.swift
[66/172] Compiling ArgumentParser HelpGenerator.swift
[67/172] Compiling ArgumentParser MessageInfo.swift
[68/172] Compiling ArgumentParser UsageGenerator.swift
[69/172] Compiling ArgumentParser CollectionExtensions.swift
[72/172] Compiling ArgumentParser FishCompletionsGenerator.swift
[73/172] Compiling ArgumentParser ZshCompletionsGenerator.swift
[74/172] Compiling ArgumentParser Argument.swift
[75/172] Compiling ArgumentParser ArgumentDiscussion.swift
[76/172] Compiling ArgumentParser ArgumentHelp.swift
[78/172] Compiling ArgumentParser Mutex.swift
[79/172] Compiling ArgumentParser Platform.swift
[80/172] Compiling ArgumentParser SequenceExtensions.swift
[81/172] Compiling ArgumentParser StringExtensions.swift
[82/172] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[91/174] Compiling ArgumentParser ParsableCommand.swift
[92/174] Emitting module Fish
[97/174] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
BUILD FAILURE 6.3 android