Build Information
Failed to build Periphery, reference master (96ec76), with Swift 6.2 for Android on 14 Dec 2025 02:19:49 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/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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 96ec760 Release 3.3.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
96ec7609822149ddc73c6b4ac27b6761ea2a031c
SUCCESS checkout https://github.com/peripheryapp/periphery.git at master
========================================
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-1":/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: Already exists
5d20dfa80a84: Already exists
fc4dcc36e16f: Already exists
c33aafcadb25: Pulling fs layer
d4c6baf42025: Pulling fs layer
16f6cae32d5f: Pulling fs layer
4f4fb700ef54: Pulling fs layer
446baab371f2: Pulling fs layer
9171fea4195e: Pulling fs layer
16f6cae32d5f: Download complete
d4c6baf42025: Download complete
4f4fb700ef54: Download complete
9171fea4195e: Download complete
c72f219b6b0e: Pulling fs layer
c72f219b6b0e: Download complete
446baab371f2: Download 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-syntax
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/kateinoigakukun/swift-indexstore
[1/323] Fetching swift-indexstore
[218/2477] Fetching swift-indexstore, aexml
[1229/2540] Fetching swift-indexstore, aexml, swift-filename-matcher
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.30s)
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.30s)
[1/16921] Fetching swift-argument-parser
[2/28188] Fetching swift-argument-parser, yams
Fetching https://github.com/apple/swift-system
[18608/33409] Fetching swift-argument-parser, yams, swift-system
[23144/106521] Fetching swift-argument-parser, yams, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.65s)
[29080/101300] Fetching swift-argument-parser, yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (2.03s)
[66638/90033] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (6.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.57s)
Fetched https://github.com/apple/swift-syntax from cache (6.62s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 602.0.0 (9.05s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.36s)
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.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.40s)
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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.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.6.2
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.87s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/63] Write sources
[24/63] Compiling _CIndexStore dummy.c
[25/63] Compiling writer.c
[26/63] Compiling reader.c
[27/63] Write sources
[30/63] Compiling _SwiftSyntaxCShims PlatformMutex.c
[30/63] Compiling parser.c
[31/63] Write swift-version-2B04F66FBCF4E350.txt
[33/63] Compiling api.c
[34/63] Compiling CSystem shims.c
[35/83] Compiling emitter.c
[36/83] Compiling scanner.c
[38/83] Emitting module SwiftSyntax602
[39/116] Emitting module SwiftSyntax601
[40/116] Compiling SwiftSyntax601 Empty.swift
[41/117] Emitting module SwiftSyntax600
[42/117] Compiling SwiftSyntax600 Empty.swift
[45/118] Compiling SwiftSyntax509 Empty.swift
[46/118] Emitting module SwiftSyntax509
[48/119] Compiling SwiftSyntax602 Empty.swift
[49/119] Compiling SwiftSyntax510 Empty.swift
[50/120] Emitting module SwiftSyntax510
[51/128] Compiling Yams AliasDereferencingStrategy.swift
[52/128] Compiling Yams Anchor.swift
[53/128] Emitting module SystemPackage
[54/128] Compiling SystemPackage FilePathSyntax.swift
[55/128] Compiling SystemPackage FilePathTemp.swift
[56/128] Compiling SystemPackage FilePathTempPosix.swift
[57/128] Compiling SystemPackage FilePathTempWindows.swift
[60/128] Compiling Yams Constructor.swift
[61/128] Compiling Yams Decoder.swift
[62/128] Compiling Yams Emitter.swift
[63/128] Compiling Yams Encoder.swift
[64/128] Compiling SystemPackage FilePathComponentView.swift
[65/128] Compiling SystemPackage FilePathComponents.swift
[66/128] Compiling SystemPackage FilePathParsing.swift
[67/128] Compiling SystemPackage FilePathString.swift
[69/151] Wrapping AST for SwiftSyntax602 for debugging
[71/221] Compiling FilenameMatcher FilenameMatcherOptions.swift
[72/221] Compiling ArgumentParserToolInfo ToolInfo.swift
[73/221] Emitting module ArgumentParserToolInfo
[74/222] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[75/222] Compiling SwiftSyntax TokenDiagnostic.swift
[76/222] Compiling SwiftSyntax TokenSequence.swift
[77/222] Compiling SwiftSyntax TokenSyntax.swift
[78/222] Wrapping AST for SwiftSyntax601 for debugging
[80/266] Compiling ArgumentParser ParsableCommand.swift
[81/266] Compiling ArgumentParser ArgumentDecoder.swift
[82/266] Compiling ArgumentParser ArgumentDefinition.swift
[83/266] Compiling ArgumentParser ArgumentSet.swift
[84/266] Compiling ArgumentParser Option.swift
[85/266] Compiling ArgumentParser SplitArguments.swift
[86/266] Compiling ArgumentParser DumpHelpGenerator.swift
[87/266] Compiling ArgumentParser HelpCommand.swift
[88/266] Compiling ArgumentParser HelpGenerator.swift
[89/266] Compiling ArgumentParser MessageInfo.swift
[90/266] Compiling ArgumentParser UsageGenerator.swift
[91/266] Compiling ArgumentParser ParsableArguments.swift
[92/266] Compiling ArgumentParser CompletionKind.swift
[93/266] Compiling ArgumentParser Errors.swift
[94/266] Compiling ArgumentParser Flag.swift
[95/266] Compiling ArgumentParser NameSpecification.swift
[96/267] Wrapping AST for SystemPackage for debugging
[97/267] Wrapping AST for SwiftSyntax600 for debugging
[98/267] Wrapping AST for SwiftSyntax510 for debugging
[99/267] Wrapping AST for SwiftSyntax509 for debugging
[100/267] Wrapping AST for ArgumentParserToolInfo for debugging
[102/267] Compiling SwiftIndexStore OptionSetDisplayable.swift
[103/267] Compiling SwiftIndexStore Process+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/267] 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 | }
[105/267] 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)
[106/267] Emitting module FilenameMatcher
[107/267] Compiling AEXML Builders.swift
[108/267] Emitting module AEXML
BUILD FAILURE 6.2 android