Build Information
Failed to build LeakDetect, reference main (2726d6
), with Swift 6.2 (beta) for Android on 20 Jun 2025 17:05:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/yume190/LeakDetect.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/yume190/LeakDetect
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2726d6c Move SyntaxParser to Parser
Cloned https://github.com/yume190/LeakDetect.git
Revision (git rev-parse @):
2726d6c55ef54392a06313fa9067db2e6ea600ef
SUCCESS checkout https://github.com/yume190/LeakDetect.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/yume190/LeakDetect.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/kylef/PathKit
Fetching https://github.com/zonble/HumanString.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams
[1/1196] Fetching rainbow
[1197/2607] Fetching rainbow, pathkit
[1663/18751] Fetching rainbow, pathkit, sourcekitten
[2559/18929] Fetching rainbow, pathkit, sourcekitten, humanstring
[5692/29803] Fetching rainbow, pathkit, sourcekitten, humanstring, yams
[12813/45183] Fetching rainbow, pathkit, sourcekitten, humanstring, yams, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.89s)
Fetched https://github.com/kylef/PathKit from cache (1.90s)
Fetching https://github.com/yume190/TypeFill
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten from cache (1.96s)
[1/1664] Fetching typefill
Fetched https://github.com/zonble/HumanString.git from cache (2.49s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.50s)
Fetched https://github.com/jpsim/Yams from cache (2.54s)
Fetched https://github.com/yume190/TypeFill from cache (0.97s)
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.64s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (10.92s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/zonble/HumanString.git
Computed https://github.com/zonble/HumanString.git at 0.1.1 (1.07s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.53s)
Computing version for https://github.com/yume190/TypeFill
Computed https://github.com/yume190/TypeFill at 0.4.9 (0.46s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.30s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (1.99s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.59s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.1 (0.75s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.48s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.69s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.72s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/yume190/TypeFill
Working copy of https://github.com/yume190/TypeFill resolved at 0.4.9
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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 1.5.1
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.1
Creating working copy for https://github.com/zonble/HumanString.git
Working copy of https://github.com/zonble/HumanString.git resolved at 0.1.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/47] Write sources
[14/47] Copying PrivacyInfo.xcprivacy
[14/47] Write sources
[16/47] Compiling Clang_C Clang_C.c
[17/47] Compiling SourceKit SourceKit.c
[17/47] Write sources
[19/47] Compiling reader.c
[20/47] Write swift-version-8C5A4AE7A8CE2BA.txt
[21/47] Compiling writer.c
[22/147] Compiling api.c
[23/158] Compiling parser.c
[24/225] Compiling emitter.c
[25/225] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/245] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
31 |
32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
34 | required init(_ options: XMLHashOptions) {
35 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
62 | }
63 |
64 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
65 | didStartElement elementName: String,
66 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 | }
75 |
76 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
77 | let current = parentStack.top()
78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | didEndElement elementName: String,
84 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
87 | }
88 |
89 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
90 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
91 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
95 | }
96 |
97 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
98 | #if os(Linux) && !swift(>=4.1.50)
99 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
31 |
32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
34 | required init(_ options: XMLHashOptions) {
35 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
64 | }
65 |
66 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
67 | didStartElement elementName: String,
68 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
81 | }
82 |
83 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
84 | if !onMatch() {
85 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
91 | }
92 |
93 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
94 | if !onMatch() {
95 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 | }
104 |
105 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 | didEndElement elementName: String,
107 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/248] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/248] 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 | }
[30/248] Compiling Yams Decoder.swift
[31/248] Compiling Yams Emitter.swift
[32/249] Compiling Yams Tag.swift
[33/249] Compiling Yams YamlAnchorProviding.swift
[34/251] Compiling Rainbow StringGenerator.swift
[35/251] Compiling Yams AliasDereferencingStrategy.swift
[36/251] Compiling Yams Anchor.swift
[37/251] Compiling Yams Constructor.swift
[38/251] Compiling Yams Resolver.swift
[39/251] Compiling Yams String+Yams.swift
[40/256] Compiling Yams Mark.swift
[41/256] Compiling Yams Node.Alias.swift
[42/256] Compiling Yams Node.Mapping.swift
[43/256] Compiling Rainbow String+Rainbow.swift
[44/256] Compiling Yams Parser.swift
[45/256] Compiling Yams RedundancyAliasingStrategy.swift
[46/256] Compiling Yams Representer.swift
[49/256] Compiling Rainbow Style.swift
[50/256] Emitting module ArgumentParserToolInfo
[51/256] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/257] Wrapping AST for ArgumentParserToolInfo for debugging
[54/295] Emitting module ArgumentParser
[55/300] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/300] Compiling ArgumentParser ParsableCommand.swift
[57/300] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/300] Compiling ArgumentParser ZshCompletionsGenerator.swift
[59/300] 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
[60/300] Compiling ArgumentParser OptionGroup.swift
[61/300] Compiling ArgumentParser AsyncParsableCommand.swift
[62/300] Compiling ArgumentParser CommandConfiguration.swift
[63/300] Compiling ArgumentParser CommandGroup.swift
[64/300] Compiling ArgumentParser EnumerableFlag.swift
[65/300] Compiling ArgumentParser ArgumentVisibility.swift
[66/300] Compiling ArgumentParser CompletionKind.swift
[67/300] Compiling ArgumentParser Errors.swift
[68/300] Compiling ArgumentParser Flag.swift
[69/300] Compiling ArgumentParser NameSpecification.swift
[70/300] Compiling ArgumentParser Option.swift
[71/300] Compiling ArgumentParser BashCompletionsGenerator.swift
[72/300] Compiling ArgumentParser CompletionsGenerator.swift
[75/300] Compiling ArgumentParser Argument.swift
[76/300] Compiling ArgumentParser ArgumentHelp.swift
[77/300] Compiling Rainbow OutputTarget.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 | }
BUILD FAILURE 6.2 android