The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Periphery, reference master (da38a5), with Swift 6.2 (beta) for Android on 4 Sep 2025 12:02:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 da38a50 Update deps
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
da38a506e65c972883cdc37842dcf58d8f13930e
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-2":/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
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/jpsim/Yams
[1/323] Fetching swift-indexstore
[324/2450] Fetching swift-indexstore, aexml
[1856/2513] Fetching swift-indexstore, aexml, swift-filename-matcher
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.28s)
Fetching https://github.com/apple/swift-system
[1/11136] Fetching yams
[1226/82986] Fetching yams, swift-syntax
[4991/98678] Fetching yams, swift-syntax, swift-argument-parser
[11384/103619] Fetching yams, swift-syntax, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.50s)
[30956/98678] Fetching yams, swift-syntax, swift-argument-parser
Fetched https://github.com/ileitch/swift-filename-matcher from cache (1.08s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.61s)
[54246/82986] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (1.67s)
[49577/71850] Fetching swift-syntax
Fetched https://github.com/tadija/AEXML from cache (6.29s)
Fetched https://github.com/apple/swift-syntax from cache (6.36s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 601.0.1 (9.10s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.33s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.38s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.1.0 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.44s)
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-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.37s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.1.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system 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
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 601.0.1
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.4.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/61] Write sources
[22/61] Compiling CSystem shims.c
[23/61] Compiling writer.c
[24/61] Write swift-version-8C5A4AE7A8CE2BA.txt
[24/61] Write sources
[29/61] Compiling reader.c
[30/61] Compiling _SwiftSyntaxCShims dummy.c
[31/61] Compiling _CIndexStore dummy.c
[32/61] Compiling api.c
[33/61] Compiling parser.c
[34/110] Compiling emitter.c
[35/112] Compiling scanner.c
[37/132] Emitting module SystemPackage
[38/136] Compiling SwiftSyntax509 Empty.swift
[39/136] Emitting module SwiftSyntax509
[41/137] Emitting module SwiftSyntax510
[42/137] Compiling SwiftSyntax510 Empty.swift
[43/138] Emitting module SwiftSyntax601
[44/138] Compiling SwiftSyntax601 Empty.swift
[47/139] Compiling SystemPackage SystemString.swift
[48/139] Compiling SystemPackage Util+StringArray.swift
[49/139] Compiling SystemPackage Util.swift
[50/139] Compiling SystemPackage UtilConsumers.swift
[51/139] Emitting module SwiftSyntax600
[52/139] Compiling SwiftSyntax600 Empty.swift
[53/152] Wrapping AST for SwiftSyntax601 for debugging
[54/152] Compiling Yams AliasDereferencingStrategy.swift
[55/152] Compiling Yams Anchor.swift
[56/152] Compiling Yams Constructor.swift
[57/152] Compiling Yams Decoder.swift
[58/152] Compiling Yams Emitter.swift
[60/152] Compiling Yams Node.Sequence.swift
[61/152] Compiling Yams Node.swift
[62/152] Compiling Yams Parser.swift
[63/152] Compiling Yams RedundancyAliasingStrategy.swift
[64/152] Compiling Yams Encoder.swift
[65/152] Compiling Yams Mark.swift
[66/152] Compiling Yams Node.Alias.swift
[67/152] Compiling Yams Node.Mapping.swift
[68/152] Compiling Yams Node.Scalar.swift
[69/216] Compiling SwiftSyntax EditorPlaceholder.swift
[70/216] Compiling SwiftSyntax SourceLocation.swift
[71/218] Emitting module AEXML
[72/218] Compiling FilenameMatcher FilenameMatcherOptions.swift
[73/218] Compiling SwiftSyntax RawSyntaxTokenView.swift
[74/218] Compiling SwiftSyntax SourceEdit.swift
[75/218] Compiling SwiftSyntax SourceLength.swift
[76/218] Emitting module ArgumentParserToolInfo
[77/218] Compiling ArgumentParserToolInfo ToolInfo.swift
[78/219] Wrapping AST for SwiftSyntax600 for debugging
[81/219] Compiling Yams YamlError.swift
[82/219] Compiling Yams YamlTagProviding.swift
[83/219] Compiling SwiftSyntax Syntax.swift
[84/219] Compiling SwiftSyntax CommonAncestor.swift
[85/219] Compiling SwiftSyntax Convenience.swift
[86/219] Compiling SwiftSyntax CustomTraits.swift
[88/227] Compiling SwiftSyntax SyntaxHashable.swift
[89/227] Compiling SwiftSyntax SyntaxIdentifier.swift
[90/227] Compiling SwiftSyntax SyntaxNodeFactory.swift
[91/227] Compiling SwiftSyntax SyntaxNodeStructure.swift
[92/227] Compiling SwiftSyntax SyntaxArena.swift
[93/227] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[94/227] Compiling SwiftSyntax SyntaxChildren.swift
[95/228] Compiling SwiftSyntax SyntaxCollection.swift
[96/264] Wrapping AST for SwiftSyntax510 for debugging
[97/264] Wrapping AST for SystemPackage for debugging
[98/264] Wrapping AST for SwiftSyntax509 for debugging
[99/264] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/264] 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 |     }
[102/264] 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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/264] Emitting module SwiftIndexStore
/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 {
[104/264] Emitting module FilenameMatcher
BUILD FAILURE 6.2 android