Build Information
Failed to build TargetDependencyChecker, reference 0.1.0 (defb48
), with Swift 6.2 (beta) for Android on 21 Jun 2025 17:56:37 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/LuizZak/TargetDependencyChecker.git
Reference: 0.1.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/LuizZak/TargetDependencyChecker
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at defb489 Updating to Swift 5.9
Cloned https://github.com/LuizZak/TargetDependencyChecker.git
Revision (git rev-parse @):
defb48944765d0ab81f0e0a430b68f6cd15bed4a
SUCCESS checkout https://github.com/LuizZak/TargetDependencyChecker.git at 0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/LuizZak/TargetDependencyChecker.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/apple/swift-syntax
[1/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (4.79s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
[353/15732] Fetching console, swift-argument-parser
Fetched https://github.com/LuizZak/console.git from cache (1.66s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.67s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (2.25s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.45s)
Creating working copy for https://github.com/LuizZak/console.git
Working copy of https://github.com/LuizZak/console.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git 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 509.1.0 (43c802f)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/32] Emitting module SwiftSyntax509
[12/32] Emitting module ArgumentParserToolInfo
[13/32] Compiling SwiftSyntax509 Empty.swift
[15/33] Compiling Console LinuxSupport.swift
[15/54] Wrapping AST for SwiftSyntax509 for debugging
[17/78] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/79] Wrapping AST for ArgumentParserToolInfo for debugging
[20/117] Compiling ArgumentParser ArgumentDefinition.swift
[21/117] Compiling ArgumentParser ArgumentSet.swift
[22/117] Compiling ArgumentParser CommandParser.swift
[23/117] Compiling ArgumentParser InputKey.swift
[24/117] Compiling ArgumentParser InputOrigin.swift
[25/122] Compiling Console ConsoleDataProvider.swift
[26/122] Compiling Console ConsoleMenuController.swift
[27/122] Compiling Console Console+Command.swift
[28/122] Emitting module Console
[29/122] Compiling Console Console.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:298:9: error: cannot find 'errno' in scope
296 |
297 | open func recordExitCode(_ code: Int) {
298 | errno = Int32(code)
| `- error: cannot find 'errno' in scope
299 | }
300 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[30/122] Compiling Console ConsoleColor+Terminal.swift
[31/122] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console+Paging.swift:24:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
22 |
23 | var page = 0
24 | var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
25 |
26 | var provider = provider
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console+Paging.swift:29:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
27 | func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
28 | provider = other
29 | pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
30 |
31 | if keepPageIndex {
[32/122] Compiling ArgumentParser ArgumentVisibility.swift
[33/122] Compiling ArgumentParser CompletionKind.swift
[34/122] Compiling ArgumentParser Errors.swift
[35/122] Compiling ArgumentParser Flag.swift
[36/122] Compiling ArgumentParser NameSpecification.swift
[37/122] Compiling ArgumentParser Option.swift
[38/122] Compiling ArgumentParser BashCompletionsGenerator.swift
BUILD FAILURE 6.2 android