Build Information
Failed to build xtree, reference main (4d3d1a
), with Swift 6.2 (beta) for Android on 31 Jul 2025 00:18:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.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/swiftyfinch/xtree.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4d3d1aa Bump github.com/onevcat/rainbow from 4.1.0 to 4.2.0 (#67)
Cloned https://github.com/swiftyfinch/xtree.git
Revision (git rev-parse @):
4d3d1aa28bfa0091a208cb9bdb75af21087cad9b
SUCCESS checkout https://github.com/swiftyfinch/xtree.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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" 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/onevcat/Rainbow
Fetching https://github.com/swiftyfinch/Fish
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/apple/swift-argument-parser
[1/1335] Fetching rainbow
[802/1428] Fetching rainbow, fish
[1429/24882] Fetching rainbow, fish, xcodeproj
[1430/30481] Fetching rainbow, fish, xcodeproj, zipfoundation
Fetched https://github.com/onevcat/Rainbow from cache (0.29s)
[3815/29146] Fetching fish, xcodeproj, zipfoundation
[7568/40138] Fetching fish, xcodeproj, zipfoundation, yams
[20491/55717] Fetching fish, xcodeproj, zipfoundation, yams, swift-argument-parser
[39919/40138] Fetching fish, xcodeproj, zipfoundation, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.11s)
Fetched https://github.com/jpsim/Yams from cache (1.65s)
Fetched https://github.com/swiftyfinch/Fish from cache (1.73s)
Fetched https://github.com/weichsel/ZIPFoundation from cache (1.74s)
Fetched https://github.com/tuist/XcodeProj from cache (1.76s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.19 (2.19s)
Computing version for https://github.com/swiftyfinch/Fish
Computed https://github.com/swiftyfinch/Fish at 0.1.3 (3.14s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.2 (3.08s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.43s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.3 (0.32s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/2127] Fetching aexml
[1299/3557] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Fetched https://github.com/tadija/AEXML.git from cache (0.27s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.66s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.58s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (6.75s)
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/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.3
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/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.19
Creating working copy for https://github.com/swiftyfinch/Fish
Working copy of https://github.com/swiftyfinch/Fish resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.2
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 reader.c
[14/33] Compiling writer.c
[15/33] Compiling parser.c
[16/33] Compiling emitter.c
[17/33] Compiling api.c
[18/33] Compiling scanner.c
[19/33] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/114] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/116] Emitting module Rainbow
/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 | }
[23/116] Compiling Fish Fish.swift
[24/116] Compiling Fish URL+Extensions.swift
[25/117] Compiling Fish IFile.swift
[26/117] Compiling Fish IFilesManager.swift
[27/117] Compiling Yams Tag.swift
[28/117] Compiling Yams YamlAnchorProviding.swift
[29/119] Compiling AEXML Builders.swift
[30/119] Emitting module AEXML
[31/119] Compiling Fish String+RelativePath.swift
[32/119] Compiling Fish FishError.swift
[33/119] Emitting module ArgumentParserToolInfo
[34/119] Compiling ArgumentParserToolInfo ToolInfo.swift
[35/120] Wrapping AST for ArgumentParserToolInfo for debugging
[37/164] Compiling ArgumentParser OptionGroup.swift
[38/164] Compiling ArgumentParser AsyncParsableCommand.swift
[39/164] Compiling ArgumentParser CommandConfiguration.swift
[40/164] Compiling ArgumentParser CommandGroup.swift
[41/164] Compiling ArgumentParser EnumerableFlag.swift
[42/164] Compiling ArgumentParser ExpressibleByArgument.swift
[43/170] Compiling ArgumentParser Flag.swift
/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 | }
[44/170] Compiling ArgumentParser NameSpecification.swift
/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/170] 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
[46/170] 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
[47/170] Compiling ArgumentParser Option.swift
/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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | 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'
117 | }
118 | fallthrough
[49/172] Emitting module Yams
BUILD FAILURE 6.2 android