Build Information
Failed to build Periphery, reference master (6cc503
), with Swift 6.2 (beta) for Android on 27 Jun 2025 20:19:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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 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 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-3":/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/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
[1/63] Fetching swift-filename-matcher
[64/386] Fetching swift-filename-matcher, swift-indexstore
[387/2513] Fetching swift-filename-matcher, swift-indexstore, aexml
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.32s)
Fetching https://github.com/apple/swift-system
[1/10942] Fetching yams
[1643/26350] Fetching yams, swift-argument-parser
[10817/30793] Fetching yams, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.46s)
[21423/26350] Fetching yams, swift-argument-parser
[22412/97317] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.12s)
[20878/81909] Fetching yams, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (1.46s)
Fetched https://github.com/jpsim/Yams from cache (1.50s)
[23420/70967] Fetching swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (5.05s)
Fetched https://github.com/apple/swift-syntax from cache (5.11s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 601.0.1 (7.90s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.44s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.42s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.37s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.44s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (1.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.41s)
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.5.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
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-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/60] Write sources
[22/60] Compiling _CIndexStore dummy.c
[23/60] Compiling writer.c
[24/60] Compiling reader.c
[25/60] Write sources
[28/60] Compiling _SwiftSyntaxCShims dummy.c
[29/60] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/60] Compiling CSystem shims.c
[31/60] Compiling parser.c
[32/60] Compiling api.c
[33/77] Compiling emitter.c
[34/96] Compiling scanner.c
[36/111] Emitting module SwiftSyntax600
[37/111] Compiling SwiftSyntax600 Empty.swift
[38/112] Emitting module SwiftSyntax510
[39/112] Compiling SwiftSyntax510 Empty.swift
[42/113] Emitting module SwiftSyntax509
[43/113] Compiling SwiftSyntax509 Empty.swift
[44/114] Compiling SystemPackage FileOperations.swift
[45/114] Compiling SystemPackage FilePath.swift
[46/114] Compiling SystemPackage FilePathComponentView.swift
[47/114] Compiling SystemPackage FilePathComponents.swift
[49/129] Compiling FilenameMatcher FilenameMatcherOptions.swift
[50/132] Compiling SwiftIndexStore OptionSetDisplayable.swift
[51/137] Emitting module SwiftSyntax601
[52/137] Compiling SwiftSyntax601 Empty.swift
[54/146] Compiling Yams Node.Mapping.swift
[55/146] Compiling Yams Node.Scalar.swift
[56/146] Compiling Yams Node.Sequence.swift
[57/146] Compiling Yams Node.swift
[58/148] Compiling SystemPackage MachPort.swift
[59/148] Compiling SystemPackage PlatformString.swift
[60/148] Compiling SystemPackage SystemString.swift
[61/167] Compiling SwiftSyntax AbsolutePosition.swift
[62/167] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[63/167] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[64/167] Compiling SwiftSyntax Assert.swift
[65/167] Emitting module SystemPackage
[66/212] Emitting module ArgumentParserToolInfo
[67/212] Emitting module AEXML
[68/212] Compiling SwiftSyntax SyntaxIdentifier.swift
[69/212] Compiling SwiftSyntax SyntaxNodeFactory.swift
[70/212] Compiling SwiftSyntax SyntaxNodeStructure.swift
[71/212] Compiling ArgumentParserToolInfo ToolInfo.swift
[72/213] Wrapping AST for SwiftSyntax601 for debugging
[74/251] Compiling ArgumentParser OptionGroup.swift
[75/251] Compiling ArgumentParser AsyncParsableCommand.swift
[76/251] Compiling ArgumentParser CommandConfiguration.swift
[77/251] Compiling ArgumentParser CommandGroup.swift
[78/251] Compiling ArgumentParser ParsableCommand.swift
[79/251] Compiling ArgumentParser ArgumentDecoder.swift
[80/251] Compiling ArgumentParser ArgumentDefinition.swift
[81/251] Compiling ArgumentParser ArgumentSet.swift
[82/251] Compiling ArgumentParser EnumerableFlag.swift
[83/251] Compiling ArgumentParser ExpressibleByArgument.swift
[84/251] Compiling ArgumentParser ParsableArguments.swift
[85/251] Compiling ArgumentParser ParsableArgumentsValidation.swift
[86/252] Wrapping AST for SystemPackage for debugging
[88/252] Emitting module ArgumentParser
[88/257] Wrapping AST for SwiftSyntax600 for debugging
[89/257] Wrapping AST for SwiftSyntax510 for debugging
[90/257] Wrapping AST for SwiftSyntax509 for debugging
[91/257] Wrapping AST for ArgumentParserToolInfo for debugging
[93/257] Compiling SwiftIndexStore UnfairLock.swift
[94/257] Compiling ArgumentParser ArgumentVisibility.swift
[95/257] Compiling ArgumentParser CompletionKind.swift
[96/257] Compiling ArgumentParser Errors.swift
[97/257] Compiling ArgumentParser Flag.swift
[98/257] Compiling ArgumentParser NameSpecification.swift
[99/257] Compiling ArgumentParser Option.swift
[100/257] Compiling SwiftIndexStore IndexStoreUnit.swift
[101/257] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/257] 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 {
[107/257] Compiling AEXML Builders.swift
[108/257] Compiling AEXML Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[109/257] 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/257] 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/257] Compiling AEXML Document.swift
[112/257] Compiling AEXML Options.swift
BUILD FAILURE 6.2 android