Build Information
Failed to build Periphery, reference 3.3.0 (414ebf), with Swift 6.2 for Android on 14 Dec 2025 02:19:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.git
Reference: 3.3.0
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/peripheryapp/periphery
* tag 3.3.0 -> FETCH_HEAD
HEAD is now at 414ebf5 Release 3.3.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
414ebf502213c3e35a2f1784550eb40c48fc71db
SUCCESS checkout https://github.com/peripheryapp/periphery.git at 3.3.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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
63e5bc7682b8: Already exists
5b34f287d760: Pulling fs layer
5d20dfa80a84: Pulling fs layer
fc4dcc36e16f: Pulling fs layer
c33aafcadb25: Pulling fs layer
d4c6baf42025: Pulling fs layer
16f6cae32d5f: Pulling fs layer
4f4fb700ef54: Pulling fs layer
446baab371f2: Pulling fs layer
9171fea4195e: Pulling fs layer
c72f219b6b0e: Pulling fs layer
c33aafcadb25: Waiting
c72f219b6b0e: Waiting
9171fea4195e: Waiting
16f6cae32d5f: Waiting
4f4fb700ef54: Waiting
446baab371f2: Waiting
d4c6baf42025: Waiting
fc4dcc36e16f: Download complete
5d20dfa80a84: Verifying Checksum
5d20dfa80a84: Download complete
5b34f287d760: Verifying Checksum
5b34f287d760: Download complete
16f6cae32d5f: Verifying Checksum
16f6cae32d5f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
d4c6baf42025: Verifying Checksum
d4c6baf42025: Download complete
446baab371f2: Verifying Checksum
446baab371f2: Download complete
c72f219b6b0e: Download complete
c33aafcadb25: Verifying Checksum
9171fea4195e: Verifying Checksum
9171fea4195e: Download complete
5b34f287d760: Pull complete
5d20dfa80a84: Pull complete
fc4dcc36e16f: Pull complete
c33aafcadb25: Pull complete
d4c6baf42025: Pull complete
16f6cae32d5f: Pull complete
4f4fb700ef54: Pull complete
446baab371f2: Pull complete
9171fea4195e: Pull complete
c72f219b6b0e: Pull complete
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/ileitch/swift-filename-matcher
[1/2154] Fetching aexml
[2/2477] Fetching aexml, swift-indexstore
[2478/19398] Fetching aexml, swift-indexstore, swift-argument-parser
[2648/19461] Fetching aexml, swift-indexstore, swift-argument-parser, swift-filename-matcher
[6264/30728] Fetching aexml, swift-indexstore, swift-argument-parser, swift-filename-matcher, yams
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.50s)
[9211/30405] Fetching aexml, swift-argument-parser, swift-filename-matcher, yams
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.50s)
[9600/30342] Fetching aexml, swift-argument-parser, yams
Fetching https://github.com/apple/swift-system
[21158/103454] Fetching aexml, swift-argument-parser, yams, swift-syntax
[32978/108675] Fetching aexml, swift-argument-parser, yams, swift-syntax, swift-system
Fetched https://github.com/apple/swift-system from cache (0.63s)
[37591/103454] Fetching aexml, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (2.03s)
[57094/92187] Fetching aexml, swift-argument-parser, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (6.76s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.77s)
Fetched https://github.com/apple/swift-syntax from cache (6.82s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 602.0.0 (9.10s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.37s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.37s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.0 (0.30s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.37s)
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.2
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.4.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.83s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/63] Write sources
[24/63] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/63] Compiling _CIndexStore dummy.c
[26/63] Compiling reader.c
[26/63] Write sources
[30/63] Write swift-version-2B04F66FBCF4E350.txt
[31/63] Compiling writer.c
[32/63] Compiling CSystem shims.c
[33/69] Compiling parser.c
[34/69] Compiling emitter.c
[36/69] Emitting module SwiftSyntax600
[36/71] Compiling api.c
[37/104] Compiling scanner.c
[39/134] Emitting module SystemPackage
[40/138] Compiling SwiftSyntax601 Empty.swift
[41/138] Emitting module SwiftSyntax601
[43/139] Compiling SwiftIndexStore OptionSetDisplayable.swift
[44/140] Compiling SwiftSyntax600 Empty.swift
[45/141] Compiling SwiftSyntax509 Empty.swift
[46/141] Emitting module SwiftSyntax509
[47/142] Compiling SwiftSyntax602 Empty.swift
[48/142] Emitting module SwiftSyntax602
[49/142] Compiling SwiftSyntax510 Empty.swift
[50/142] Emitting module SwiftSyntax510
[51/145] Compiling SystemPackage SystemString.swift
[52/145] Compiling SystemPackage Util+StringArray.swift
[53/145] Compiling SystemPackage Util.swift
[54/145] Compiling SystemPackage UtilConsumers.swift
[56/146] Compiling SystemPackage FilePathWindows.swift
[57/146] Compiling SystemPackage FilePermissions.swift
[58/146] Compiling SystemPackage IOCompletion.swift
[59/146] Compiling SystemPackage IORequest.swift
[63/146] Compiling Yams AliasDereferencingStrategy.swift
[64/146] Compiling Yams Anchor.swift
[65/146] Compiling Yams Constructor.swift
[66/146] Compiling Yams Mark.swift
[67/146] Compiling Yams Node.Alias.swift
[68/146] Compiling Yams Node.Mapping.swift
[69/146] Compiling Yams Node.Scalar.swift
[70/146] Compiling Yams Node.Sequence.swift
[71/146] Compiling Yams Node.swift
[72/146] Compiling Yams Decoder.swift
[75/148] Compiling Yams Emitter.swift
[76/148] Compiling Yams Encoder.swift
[77/148] Compiling Yams Parser.swift
[78/148] Compiling Yams RedundancyAliasingStrategy.swift
[78/149] Wrapping AST for SwiftSyntax601 for debugging
[80/158] Compiling Yams Tag.swift
[81/158] Compiling Yams YamlAnchorProviding.swift
[82/223] Emitting module AEXML
[83/223] Compiling FilenameMatcher FilenameMatcherOptions.swift
[84/223] Compiling SwiftSyntax Assert.swift
[85/223] Compiling SwiftSyntax BumpPtrAllocator.swift
[86/223] Compiling SwiftSyntax CommonAncestor.swift
[87/223] Emitting module ArgumentParserToolInfo
[88/223] Compiling ArgumentParserToolInfo ToolInfo.swift
[89/224] Wrapping AST for SwiftSyntax602 for debugging
[91/268] Compiling ArgumentParser ParsableCommand.swift
[92/268] Compiling ArgumentParser ArgumentDecoder.swift
[93/268] Compiling ArgumentParser ArgumentDefinition.swift
[94/268] Compiling ArgumentParser ArgumentSet.swift
[95/268] Compiling ArgumentParser CommandParser.swift
[96/268] Compiling ArgumentParser ArgumentVisibility.swift
[97/268] Compiling ArgumentParser CompletionKind.swift
[98/268] Compiling ArgumentParser Errors.swift
[99/268] Compiling ArgumentParser InputOrigin.swift
[100/268] Compiling ArgumentParser Name.swift
[101/268] Compiling ArgumentParser Parsed.swift
[102/268] Compiling ArgumentParser ParsedValues.swift
[103/269] Wrapping AST for SystemPackage for debugging
[104/269] Wrapping AST for SwiftSyntax600 for debugging
[105/269] Wrapping AST for SwiftSyntax510 for debugging
[106/269] Wrapping AST for SwiftSyntax509 for debugging
[107/269] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[109/269] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
25 | guard let term = ProcessInfo.processInfo.environment["TERM"],
26 | term.lowercased() != "dumb",
27 | isatty(fileno(stdout)) != 0
| `- error: cannot find 'isatty' in scope
28 | else {
29 | return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
[110/269] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
25 | guard let term = ProcessInfo.processInfo.environment["TERM"],
26 | term.lowercased() != "dumb",
27 | isatty(fileno(stdout)) != 0
| `- error: cannot find 'isatty' in scope
28 | else {
29 | return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:43:20: error: cannot find 'stat' in scope
41 |
42 | public static func configureBuffering() {
43 | var info = stat()
| `- error: cannot find 'stat' in scope
44 | fstat(STDOUT_FILENO, &info)
45 |
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:9: error: cannot find 'fstat' in scope
42 | public static func configureBuffering() {
43 | var info = stat()
44 | fstat(STDOUT_FILENO, &info)
| `- error: cannot find 'fstat' in scope
45 |
46 | if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:15: error: cannot find 'STDOUT_FILENO' in scope
42 | public static func configureBuffering() {
43 | var info = stat()
44 | fstat(STDOUT_FILENO, &info)
| `- error: cannot find 'STDOUT_FILENO' in scope
45 |
46 | if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:28: error: cannot find 'S_IFMT' in scope
44 | fstat(STDOUT_FILENO, &info)
45 |
46 | if (info.st_mode & S_IFMT) == S_IFIFO {
| `- error: cannot find 'S_IFMT' in scope
47 | setlinebuf(stdout)
48 | setlinebuf(stderr)
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:39: error: cannot find 'S_IFIFO' in scope
44 | fstat(STDOUT_FILENO, &info)
45 |
46 | if (info.st_mode & S_IFMT) == S_IFIFO {
| `- error: cannot find 'S_IFIFO' in scope
47 | setlinebuf(stdout)
48 | setlinebuf(stderr)
[111/269] Compiling SwiftIndexStore IndexStoreUnit.swift
[112/269] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
BUILD FAILURE 6.2 android