Build Information
Failed to build pkl-swift, reference main (0bf958), with Swift 6.2 for Android on 13 Dec 2025 03:16:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: main
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/apple/pkl-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0bf958c Bump pkl.impl.ghactions to version 1.1.6 (#97)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
0bf958c60e96ba3a29e115892a98b2165af64d22
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
[1/2158] Fetching swift-docc-plugin
[239/2545] Fetching swift-docc-plugin, semanticversion
[557/19466] Fetching swift-docc-plugin, semanticversion, swift-argument-parser
[2386/24687] Fetching swift-docc-plugin, semanticversion, swift-argument-parser, swift-system
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
[12715/22529] Fetching semanticversion, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
[1/53324] Fetching swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (39.63s)
Fetched https://github.com/apple/swift-system from cache (39.63s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (40.67s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (43.38s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.44s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.55s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.58.7 (0.49s)
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.2
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.58.7
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/29] Write sources
[5/29] Write embedded_resources.swift
[6/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-2B04F66FBCF4E350.txt
[16/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module ArgumentParserToolInfo
[19/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/67] Compiling SystemPackage FilePathSyntax.swift
[22/67] Compiling SystemPackage FilePathTemp.swift
[23/67] Compiling SystemPackage FilePathTempPosix.swift
[24/67] Compiling SystemPackage FilePathTempWindows.swift
[25/71] Compiling SystemPackage Errno.swift
[26/71] Compiling SystemPackage ErrnoWindows.swift
[27/71] Compiling SystemPackage FileDescriptor.swift
[28/71] Compiling SystemPackage FileHelpers.swift
[29/71] Compiling SystemPackage FileOperations.swift
[30/71] Compiling SystemPackage FilePath.swift
[31/71] Compiling SystemPackage FilePathComponentView.swift
[32/71] Compiling SystemPackage FilePathComponents.swift
[33/71] Compiling SystemPackage FilePathParsing.swift
[34/71] Compiling SystemPackage FilePathString.swift
[35/71] Emitting module SystemPackage
[36/71] Compiling SemanticVersion SemanticVersion.swift
[37/71] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[37/71] Wrapping AST for ArgumentParserToolInfo for debugging
[39/115] Compiling ArgumentParser ExpressibleByArgument.swift
[40/115] Compiling ArgumentParser SplitArguments.swift
[41/115] Compiling ArgumentParser DumpHelpGenerator.swift
[42/115] Compiling ArgumentParser HelpCommand.swift
[43/115] Emitting module ArgumentParser
[44/121] Compiling ArgumentParser InputKey.swift
[45/121] Compiling ArgumentParser InputOrigin.swift
[46/121] Compiling ArgumentParser Name.swift
[47/121] Compiling ArgumentParser Parsed.swift
[48/121] Compiling ArgumentParser ParsedValues.swift
[49/121] Compiling ArgumentParser ParserError.swift
[50/121] Compiling ArgumentParser ArgumentVisibility.swift
[51/121] Compiling ArgumentParser CompletionKind.swift
[52/121] Compiling ArgumentParser Errors.swift
[53/121] Compiling ArgumentParser Flag.swift
[54/121] Compiling ArgumentParser NameSpecification.swift
[55/121] Compiling ArgumentParser Option.swift
[56/121] Compiling ArgumentParser Tree.swift
[57/121] Compiling ArgumentParser CodingKeyValidator.swift
[58/121] Compiling ArgumentParser NonsenseFlagsValidator.swift
[59/121] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/121] Compiling ArgumentParser PositionalArgumentsValidator.swift
[61/121] Compiling ArgumentParser UniqueNamesValidator.swift
[62/121] Compiling ArgumentParser BashCompletionsGenerator.swift
[63/121] Compiling ArgumentParser CompletionsGenerator.swift
[64/121] Compiling ArgumentParser FishCompletionsGenerator.swift
[65/121] Compiling ArgumentParser ZshCompletionsGenerator.swift
[66/121] Compiling ArgumentParser Argument.swift
[67/121] Compiling ArgumentParser ArgumentDiscussion.swift
[68/121] Compiling ArgumentParser ArgumentHelp.swift
[69/121] Compiling ArgumentParser SequenceExtensions.swift
[70/121] Compiling ArgumentParser StringExtensions.swift
[71/121] Compiling ArgumentParser SwiftExtensions.swift
[72/121] Compiling ArgumentParser OptionGroup.swift
[73/121] Compiling ArgumentParser AsyncParsableCommand.swift
[74/121] Compiling ArgumentParser CommandConfiguration.swift
[75/121] Compiling ArgumentParser CommandGroup.swift
[76/121] Compiling ArgumentParser EnumerableFlag.swift
[82/121] Compiling ArgumentParser CollectionExtensions.swift
[83/121] Compiling ArgumentParser Mutex.swift
[84/121] Compiling ArgumentParser Platform.swift
[91/122] Wrapping AST for SystemPackage for debugging
[93/137] Compiling MessagePack SingleValueDecodingContainer.swift
[94/137] Compiling MessagePack UnkeyedDecodingContainer.swift
[95/137] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[96/137] Compiling MessagePack _MessagePackDecoder.swift
[97/137] Compiling MessagePack KeyedEncodingContainer.swift
[98/137] Compiling MessagePack UnkeyedEncodingContainer.swift
[102/137] Compiling ArgumentParser HelpGenerator.swift
[103/137] Compiling ArgumentParser MessageInfo.swift
[104/137] Compiling ArgumentParser UsageGenerator.swift
[111/138] Compiling SemanticVersion SemanticVersion+Codable.swift
[112/138] Emitting module SemanticVersion
[114/139] Wrapping AST for SemanticVersion for debugging
[115/139] Wrapping AST for ArgumentParser for debugging
[117/139] Compiling MessagePack MessagePackEncoder.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
[118/139] Compiling MessagePack SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
[119/140] Emitting module MessagePack
[121/140] Compiling MessagePack FixedWidthInteger.swift
[126/140] Compiling MessagePack MessagePackDecoder.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
[128/140] Compiling MessagePack KeyedDecodingContainer.swift
[129/140] Compiling MessagePack KeyedSingleDecodingContainer.swift
[130/140] Compiling MessagePack AnyCodingKey.swift
[131/140] Compiling MessagePack Box.swift
[132/140] Compiling MessagePack IO.swift
BUILD FAILURE 6.2 android