Build Information
Failed to build TargetDependencyChecker, reference master (defb48
), with Swift 6.1 for Android on 29 May 2025 12:20:34 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/TargetDependencyChecker.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/LuizZak/TargetDependencyChecker
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
https://github.com/LuizZak/TargetDependencyChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"revision" : [
"509.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "console",
"requirement" : {
"exact" : [
"0.8.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/console.git"
}
],
"manifest_display_name" : "TargetDependencyChecker",
"name" : "TargetDependencyChecker",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TargetDependencyChecker",
"targets" : [
"TargetDependencyChecker"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TargetDependencyCheckerTests",
"module_type" : "SwiftTarget",
"name" : "TargetDependencyCheckerTests",
"path" : "Tests/TargetDependencyCheckerTests",
"sources" : [
"TargetDependencyCheckerTests.swift"
],
"target_dependencies" : [
"TargetDependencyChecker"
],
"type" : "test"
},
{
"c99name" : "TargetDependencyCheckerLibTests",
"module_type" : "SwiftTarget",
"name" : "TargetDependencyCheckerLibTests",
"path" : "Tests/TargetDependencyCheckerLibTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"DefaultDependencyCheckerDelegateTests.swift",
"DependencyGraphTests.swift",
"GraphVizGeneratorTests.swift",
"MutexTests.swift",
"PackageBuilder.swift"
],
"target_dependencies" : [
"TargetDependencyCheckerLib"
],
"type" : "test"
},
{
"c99name" : "TargetDependencyCheckerLib",
"module_type" : "SwiftTarget",
"name" : "TargetDependencyCheckerLib",
"path" : "Sources/TargetDependencyCheckerLib",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"Console"
],
"product_memberships" : [
"TargetDependencyChecker"
],
"sources" : [
"Data/FileImportInspection.swift",
"Data/ImportVisit.swift",
"Data/ImportedFrameworkDeclaration.swift",
"Data/Package.swift",
"Data/SourceFile.swift",
"Data/SystemFrameworks.swift",
"Data/Target.swift",
"DefaultDependencyCheckerDelegate.swift",
"DependencyChecker.swift",
"DependencyCheckerDelegate.swift",
"DependencyCheckerEntryPoint.swift",
"DependencyGraph.swift",
"DiagnosticsOutput/DiagnosticsOutput.swift",
"DiagnosticsOutput/TerminalDiagnosticsOutput.swift",
"DiagnosticsOutput/XcodeDiagnosticsOutput.swift",
"DirectedGraph.swift",
"DiskFileManagerDelegate.swift",
"FileManagerDelegate.swift",
"GraphViz/GraphViz.swift",
"GraphVizEntryPoint.swift",
"GraphVizGenerator.swift",
"JSON.swift",
"Mutex.swift",
"PackageDiscovery.swift",
"PackageManager.swift",
"PathUtils.swift",
"SourceFileManager.swift"
],
"type" : "library"
},
{
"c99name" : "TargetDependencyChecker",
"module_type" : "SwiftTarget",
"name" : "TargetDependencyChecker",
"path" : "Sources/TargetDependencyChecker",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"TargetDependencyChecker"
],
"sources" : [
"CheckCommand.swift",
"GraphVizCommand.swift",
"main.swift"
],
"target_dependencies" : [
"TargetDependencyCheckerLib"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-syntax
[1/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (6.42s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
Fetched https://github.com/LuizZak/console.git from cache (0.24s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (1.71s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.85s)
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)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/32] Emitting module SwiftSyntax509
[12/32] Compiling SwiftSyntax509 Empty.swift
[13/33] Emitting module ArgumentParserToolInfo
[14/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/34] Wrapping AST for SwiftSyntax509 for debugging
[18/34] Compiling Console LinuxSupport.swift
[18/79] Wrapping AST for ArgumentParserToolInfo for debugging
[20/117] Emitting module ArgumentParser
[21/122] Compiling ArgumentParser ArgumentVisibility.swift
[22/122] Compiling ArgumentParser CompletionKind.swift
[23/122] Compiling ArgumentParser Errors.swift
[24/122] Compiling ArgumentParser Flag.swift
[25/122] Compiling ArgumentParser NameSpecification.swift
[26/122] Compiling ArgumentParser Option.swift
[27/122] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/122] Compiling ArgumentParser CompletionsGenerator.swift
[29/122] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/122] Compiling ArgumentParser Argument.swift
[32/122] Compiling ArgumentParser ArgumentHelp.swift
[33/122] Compiling ArgumentParser ExpressibleByArgument.swift
[34/122] Compiling ArgumentParser ParsableArguments.swift
[35/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/122] Compiling ArgumentParser ParsableCommand.swift
[37/122] Compiling ArgumentParser ArgumentDecoder.swift
[38/122] Compiling ArgumentParser OptionGroup.swift
[39/122] Compiling ArgumentParser AsyncParsableCommand.swift
[40/122] Compiling ArgumentParser CommandConfiguration.swift
[41/122] Compiling ArgumentParser CommandGroup.swift
[42/122] Compiling ArgumentParser EnumerableFlag.swift
[43/122] Compiling ArgumentParser ArgumentDefinition.swift
[44/122] Compiling ArgumentParser ArgumentSet.swift
[45/122] Compiling ArgumentParser CommandParser.swift
[46/122] Compiling ArgumentParser InputKey.swift
[47/122] Compiling ArgumentParser InputOrigin.swift
[48/122] Compiling ArgumentParser CollectionExtensions.swift
[49/122] Compiling ArgumentParser Platform.swift
[50/122] Compiling ArgumentParser SequenceExtensions.swift
[51/122] Compiling ArgumentParser StringExtensions.swift
[52/122] Compiling ArgumentParser Tree.swift
[67/128] Compiling Console ConsoleDataProvider.swift
[68/128] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[69/128] Compiling Console ConsoleColor+Terminal.swift
[70/128] Compiling Console ConsoleMenuController.swift
[71/128] Compiling Console Console+Command.swift
[72/128] Emitting module Console
[73/128] 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 {
[74/128] Compiling ArgumentParser Name.swift
[75/128] Compiling ArgumentParser Parsed.swift
[76/128] Compiling ArgumentParser ParsedValues.swift
[77/128] Compiling ArgumentParser ParserError.swift
[78/128] Compiling ArgumentParser SplitArguments.swift
[79/128] Compiling ArgumentParser DumpHelpGenerator.swift
[80/128] Compiling ArgumentParser HelpCommand.swift
[81/128] Compiling ArgumentParser HelpGenerator.swift
[82/128] Compiling ArgumentParser MessageInfo.swift
[83/128] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling SwiftSyntax509 Empty.swift
[4/24] Emitting module SwiftSyntax509
[6/25] Compiling Console ConsoleDataProvider.swift
[7/24] Compiling Console LinuxSupport.swift
[8/24] Compiling Console ConsoleColor+Terminal.swift
[9/24] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[10/24] Emitting module Console
[11/24] Compiling Console ConsoleMenuController.swift
[12/69] Compiling Console Console+Command.swift
[13/69] 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 {
[14/69] Emitting module ArgumentParserToolInfo
[15/69] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 android