Build Information
Failed to build pkl-swift, reference 0.10.0 (00f4b1), with Swift 6.3 for Android on 19 Jul 2026 17:27:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: 0.10.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/apple/pkl-swift
* tag 0.10.0 -> FETCH_HEAD
HEAD is now at 00f4b15 Prepare 0.10.0 release (#181)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
00f4b15c0941e137bf90de712b6fb643c9f0880a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.10.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
[1/2325] Fetching swift-docc-plugin
[2326/8561] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (0.55s)
[1/442] Fetching semanticversion
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.62s)
[1/57698] Fetching swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (15.32s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (15.58s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.3 (16.76s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.72s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3757] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.93s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.31s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.4 (0.18s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.18s)
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.62.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.4
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.3
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/18] Write sources
[8/18] Compiling CSystem shims.c
[9/18] Write swift-version-272D24FF697CF451.txt
[10/59] Compiling PklSwiftInternals Discovery.cpp
[12/59] Emitting module SystemPackage
[13/64] Compiling SystemPackage IOCompletion.swift
[14/64] Compiling SystemPackage IORequest.swift
[15/64] Compiling SystemPackage IORing+Util.swift
[16/64] Compiling SystemPackage IORing.swift
[17/64] Compiling SystemPackage RawIORequest.swift
[18/64] Compiling SystemPackage SystemString.swift
[19/64] Compiling SystemPackage Util+StringArray.swift
[20/64] Compiling SystemPackage Util.swift
[21/64] Compiling SystemPackage UtilConsumers.swift
[22/64] Compiling SystemPackage WinSDK+Overlay.swift
[23/64] Compiling SystemPackage FilePathComponentView.swift
[24/64] Compiling SystemPackage FilePathComponents.swift
[25/64] Compiling SystemPackage FilePathParsing.swift
[26/64] Compiling SystemPackage FilePathString.swift
[27/64] Compiling SystemPackage FilePathSyntax.swift
[28/64] Compiling SystemPackage Errno.swift
[29/64] Compiling SystemPackage ErrnoWindows.swift
[30/64] Compiling SystemPackage FileDescriptor.swift
[31/64] Compiling SystemPackage FileHelpers.swift
[32/64] Compiling SystemPackage FileOperations.swift
[33/64] Compiling SystemPackage FilePath.swift
[34/64] Compiling SystemPackage FilePathTemp.swift
[35/64] Compiling SystemPackage FilePathTempPosix.swift
[36/64] Compiling SystemPackage FilePathTempWindows.swift
[37/64] Compiling SystemPackage FilePathWindows.swift
[38/64] Compiling SystemPackage FilePermissions.swift
[39/64] Compiling SystemPackage FileFlags.swift
[40/64] Compiling SystemPackage FileMode.swift
[41/64] Compiling SystemPackage FileType.swift
[42/64] Compiling SystemPackage Identifiers.swift
[43/64] Compiling SystemPackage Stat.swift
[44/64] Compiling SystemPackage RawBuffer.swift
[45/64] Compiling SystemPackage Syscalls.swift
[46/64] Compiling SystemPackage WindowsSyscallAdapters.swift
[47/64] Compiling SystemPackage MachPort.swift
[48/64] Compiling SystemPackage PlatformString.swift
[49/64] Compiling SystemPackage Backcompat.swift
[50/64] Compiling SystemPackage CInterop.swift
[51/64] Compiling SystemPackage Constants.swift
[52/64] Compiling SystemPackage Exports.swift
[53/64] Compiling SystemPackage Mocking.swift
[54/65] Wrapping AST for SystemPackage for debugging
[56/80] Emitting module SemanticVersion
[57/80] Compiling SemanticVersion SemanticVersion.swift
[58/80] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[59/80] Compiling SemanticVersion SemanticVersion+Codable.swift
[60/81] Wrapping AST for SemanticVersion for debugging
[62/81] Compiling PklMessagePack UnkeyedEncodingContainer.swift
[63/81] Compiling PklMessagePack FixedWidthInteger.swift
[64/82] Compiling PklMessagePack UnkeyedDecodingContainer.swift
[65/82] Compiling PklMessagePack UnkeyedMapDecodingContainer.swift
[66/82] Compiling PklMessagePack _MessagePackDecoder.swift
[67/82] Compiling PklMessagePack KeyedEncodingContainer.swift
[68/82] Compiling PklMessagePack MessagePackEncoder.swift
/host/spi-builder-workspace/Sources/PklMessagePack/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 {
[69/82] Compiling PklMessagePack SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/PklMessagePack/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 {
[70/82] Compiling PklMessagePack IO.swift
[71/82] Emitting module PklMessagePack
[72/82] Compiling PklMessagePack AnyCodingKey.swift
[73/82] Compiling PklMessagePack Box.swift
[74/82] Compiling PklMessagePack KeyedDecodingContainer.swift
[75/82] Compiling PklMessagePack KeyedSingleDecodingContainer.swift
[76/82] Compiling PklMessagePack MessagePackDecoder.swift
/host/spi-builder-workspace/Sources/PklMessagePack/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)
[77/82] Compiling PklMessagePack SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklMessagePack/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)
BUILD FAILURE 6.3 android