Build Information
Failed to build Periphery, reference 3.2.0 (6cc503
), with Swift 6.2 (beta) for Android on 27 Jun 2025 20:19:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/peripheryapp/periphery.git
Reference: 3.2.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.2.0 -> FETCH_HEAD
HEAD is now at 6cc5030 Release 3.2.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
6cc503055b9569d5565a026e1a19fb4e41c85572
SUCCESS checkout https://github.com/peripheryapp/periphery.git at 3.2.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-4606859-2":/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/tadija/AEXML
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/323] Fetching swift-indexstore
[250/386] Fetching swift-indexstore, swift-filename-matcher
[313/2513] Fetching swift-indexstore, swift-filename-matcher, aexml
[2440/13455] Fetching swift-indexstore, swift-filename-matcher, aexml, yams
[4082/28863] Fetching swift-indexstore, swift-filename-matcher, aexml, yams, swift-argument-parser
[24523/99830] Fetching swift-indexstore, swift-filename-matcher, aexml, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (1.50s)
Fetched https://github.com/tadija/AEXML from cache (1.50s)
[43446/97380] Fetching swift-filename-matcher, yams, swift-argument-parser, swift-syntax
Fetching https://github.com/apple/swift-system
Fetched https://github.com/ileitch/swift-filename-matcher from cache (1.63s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
[33652/81909] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (1.83s)
[30516/70967] Fetching swift-syntax
[35485/75410] Fetching swift-syntax, swift-system
Fetched https://github.com/apple/swift-system from cache (0.71s)
[48258/70967] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (8.40s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 601.0.1 (13.67s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.77s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.74s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (2.93s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.78s)
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/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 5.4.0
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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/60] Write sources
[22/60] Compiling _CIndexStore dummy.c
[23/60] Compiling _SwiftSyntaxCShims dummy.c
[24/60] Compiling reader.c
[24/60] Compiling writer.c
[25/60] Write sources
[29/60] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/60] Compiling CSystem shims.c
[31/60] Compiling api.c
[32/64] Compiling parser.c
[33/96] Compiling emitter.c
[34/98] Compiling scanner.c
[36/111] Emitting module SwiftSyntax601
[37/111] Compiling SwiftSyntax601 Empty.swift
[39/112] Emitting module SwiftSyntax600
[40/112] Compiling SwiftSyntax600 Empty.swift
[41/113] Compiling SwiftSyntax510 Empty.swift
[42/113] Emitting module SwiftSyntax510
[45/114] Emitting module SwiftSyntax509
[46/114] Compiling SwiftSyntax509 Empty.swift
[48/115] Compiling SystemPackage MachPort.swift
[49/115] Compiling SystemPackage PlatformString.swift
[50/115] Compiling SystemPackage SystemString.swift
[51/115] Compiling FilenameMatcher FilenameMatcherOptions.swift
[52/118] Compiling SwiftIndexStore IndexStoreRelation.swift
[53/118] Compiling SwiftIndexStore IndexStoreSymbol.swift
[54/119] Emitting module SystemPackage
[55/128] Compiling SwiftIndexStore IndexStoreUnit.swift
[56/142] Compiling Yams Emitter.swift
[57/142] Compiling Yams Encoder.swift
[58/142] Compiling Yams Node.Scalar.swift
[59/142] Compiling Yams Node.Sequence.swift
[60/142] Compiling Yams AliasDereferencingStrategy.swift
[61/142] Compiling Yams Anchor.swift
[62/142] Compiling Yams Constructor.swift
[63/142] Compiling Yams Decoder.swift
[63/148] Wrapping AST for SwiftSyntax601 for debugging
[65/212] Compiling SwiftSyntax SyntaxIdentifier.swift
[66/212] Compiling SwiftSyntax SyntaxNodeFactory.swift
[67/212] Compiling SwiftSyntax SyntaxNodeStructure.swift
[68/212] Emitting module ArgumentParserToolInfo
[69/212] Compiling ArgumentParserToolInfo ToolInfo.swift
[70/213] Wrapping AST for SwiftSyntax600 for debugging
[72/251] Compiling ArgumentParser CommandGroup.swift
[73/251] Compiling ArgumentParser EnumerableFlag.swift
[74/251] Compiling ArgumentParser ArgumentDefinition.swift
[75/251] Compiling ArgumentParser ArgumentSet.swift
[76/251] Compiling ArgumentParser FishCompletionsGenerator.swift
[77/251] Compiling ArgumentParser ZshCompletionsGenerator.swift
[78/251] Compiling ArgumentParser Argument.swift
[79/251] Compiling ArgumentParser ArgumentHelp.swift
[80/251] Compiling ArgumentParser ArgumentDecoder.swift
[81/251] Compiling ArgumentParser OptionGroup.swift
[82/251] Compiling ArgumentParser AsyncParsableCommand.swift
[83/251] Compiling ArgumentParser CommandConfiguration.swift
[84/251] Compiling ArgumentParser ExpressibleByArgument.swift
[85/251] Compiling ArgumentParser ParsableArguments.swift
[86/251] Compiling ArgumentParser ParsableArgumentsValidation.swift
[87/251] Compiling ArgumentParser ParsableCommand.swift
[88/252] Wrapping AST for SystemPackage for debugging
[89/252] Wrapping AST for SwiftSyntax510 for debugging
[90/252] Wrapping AST for SwiftSyntax509 for debugging
[91/252] Wrapping AST for ArgumentParserToolInfo for debugging
[93/252] Compiling ArgumentParser Errors.swift
[94/252] Compiling ArgumentParser Flag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/252] 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 {
[96/252] Compiling SwiftIndexStore UnfairLock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/252] 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 | }
[98/252] 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)
[99/252] Compiling SwiftIndexStore OptionSetDisplayable.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 {
[100/252] Emitting module FilenameMatcher
[101/252] Emitting module AEXML
[102/252] Compiling AEXML Builders.swift
BUILD FAILURE 6.2 android