The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pkl-swift, reference 0.10.0 (00f4b1), with Swift 6.1 for Android on 20 Jul 2026 01:37:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-3":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build 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.1
Building package at path:  $PWD
https://github.com/apple/pkl-swift.git
https://github.com/apple/pkl-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-3":/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.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 saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
[1/442] Fetching semanticversion
[443/2767] Fetching semanticversion, swift-docc-plugin
[2768/9003] Fetching semanticversion, swift-docc-plugin, swift-system
[9004/66701] Fetching semanticversion, swift-docc-plugin, swift-system, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (18.01s)
Fetched https://github.com/apple/swift-system from cache (18.01s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (18.01s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (18.28s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.3 (19.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.25s)
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.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.4 (0.71s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.71s)
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-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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-24593BA9C3E375BF.txt
[10/59] Compiling PklSwiftInternals Discovery.cpp
[12/59] Emitting module SystemPackage
[13/64] Compiling SystemPackage SystemString.swift
[14/64] Compiling SystemPackage Util+StringArray.swift
[15/64] Compiling SystemPackage Util.swift
[16/64] Compiling SystemPackage UtilConsumers.swift
[17/64] Compiling SystemPackage WinSDK+Overlay.swift
[18/64] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[19/64] Compiling SystemPackage IOCompletion.swift
[20/64] Compiling SystemPackage IORequest.swift
[21/64] Compiling SystemPackage IORing+Util.swift
[22/64] Compiling SystemPackage IORing.swift
[23/64] Compiling SystemPackage RawIORequest.swift
[24/64] Compiling SystemPackage Backcompat.swift
[25/64] Compiling SystemPackage CInterop.swift
[26/64] Compiling SystemPackage Constants.swift
[27/64] Compiling SystemPackage Exports.swift
[28/64] Compiling SystemPackage Mocking.swift
[29/64] Compiling SystemPackage RawBuffer.swift
[30/64] Compiling SystemPackage Syscalls.swift
[31/64] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/64] Compiling SystemPackage MachPort.swift
[33/64] Compiling SystemPackage PlatformString.swift
[34/64] Compiling SystemPackage FileFlags.swift
[35/64] Compiling SystemPackage FileMode.swift
[36/64] Compiling SystemPackage FileType.swift
[37/64] Compiling SystemPackage Identifiers.swift
[38/64] Compiling SystemPackage Stat.swift
[39/64] Compiling SystemPackage Errno.swift
[40/64] Compiling SystemPackage ErrnoWindows.swift
[41/64] Compiling SystemPackage FileDescriptor.swift
[42/64] Compiling SystemPackage FileHelpers.swift
[43/64] Compiling SystemPackage FileOperations.swift
[44/64] Compiling SystemPackage FilePath.swift
[45/64] Compiling SystemPackage FilePathTemp.swift
[46/64] Compiling SystemPackage FilePathTempPosix.swift
[47/64] Compiling SystemPackage FilePathTempWindows.swift
[48/64] Compiling SystemPackage FilePathWindows.swift
[49/64] Compiling SystemPackage FilePermissions.swift
[50/64] Compiling SystemPackage FilePathComponentView.swift
[51/64] Compiling SystemPackage FilePathComponents.swift
[52/64] Compiling SystemPackage FilePathParsing.swift
[53/64] Compiling SystemPackage FilePathString.swift
[54/64] Compiling SystemPackage FilePathSyntax.swift
[55/65] Wrapping AST for SystemPackage for debugging
[57/78] Compiling SemanticVersion SemanticVersion.swift
[58/78] Emitting module SemanticVersion
[59/78] Compiling SemanticVersion SemanticVersion+Codable.swift
[60/81] Wrapping AST for SemanticVersion for debugging
[62/81] Emitting module PklMessagePack
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/82] Compiling PklMessagePack _MessagePackDecoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/82] Compiling PklMessagePack KeyedEncodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/82] Compiling PklMessagePack MessagePackEncoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
[66/82] Compiling PklMessagePack SingleValueEncodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
[67/82] Compiling PklMessagePack AnyCodingKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/82] Compiling PklMessagePack Box.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/82] Compiling PklMessagePack KeyedDecodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/82] Compiling PklMessagePack KeyedSingleDecodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/82] Compiling PklMessagePack UnkeyedDecodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/82] Compiling PklMessagePack UnkeyedMapDecodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[73/82] Compiling PklMessagePack MessagePackDecoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[74/82] Compiling PklMessagePack SingleValueDecodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[75/82] Compiling PklMessagePack IO.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/82] Compiling PklMessagePack UnkeyedEncodingContainer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/82] Compiling PklMessagePack FixedWidthInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-3":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/52] Compiling SemanticVersion SemanticVersion.swift
[6/52] Emitting module SemanticVersion
[7/52] Compiling SemanticVersion SemanticVersion+Codable.swift
[8/52] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[10/52] Emitting module SystemPackage
[11/57] Compiling SystemPackage Errno.swift
[12/57] Compiling SystemPackage ErrnoWindows.swift
[13/57] Compiling SystemPackage FileDescriptor.swift
[14/57] Compiling SystemPackage FileHelpers.swift
[15/57] Compiling SystemPackage FileOperations.swift
[16/57] Compiling SystemPackage FilePath.swift
[17/57] Compiling SystemPackage Backcompat.swift
[18/57] Compiling SystemPackage CInterop.swift
[19/57] Compiling SystemPackage Constants.swift
[20/57] Compiling SystemPackage Exports.swift
[21/57] Compiling SystemPackage Mocking.swift
[22/57] Compiling SystemPackage FileFlags.swift
[23/57] Compiling SystemPackage FileMode.swift
[24/57] Compiling SystemPackage FileType.swift
[25/57] Compiling SystemPackage Identifiers.swift
[26/57] Compiling SystemPackage Stat.swift
[27/57] Compiling SystemPackage RawBuffer.swift
[28/57] Compiling SystemPackage Syscalls.swift
[29/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[30/57] Compiling SystemPackage MachPort.swift
[31/57] Compiling SystemPackage PlatformString.swift
[32/57] Compiling SystemPackage IOCompletion.swift
[33/57] Compiling SystemPackage IORequest.swift
[34/57] Compiling SystemPackage IORing+Util.swift
[35/57] Compiling SystemPackage IORing.swift
[36/57] Compiling SystemPackage RawIORequest.swift
[37/57] Compiling SystemPackage FilePathTemp.swift
[38/57] Compiling SystemPackage FilePathTempPosix.swift
[39/57] Compiling SystemPackage FilePathTempWindows.swift
[40/57] Compiling SystemPackage FilePathWindows.swift
[41/57] Compiling SystemPackage FilePermissions.swift
[42/57] Compiling SystemPackage FilePathComponentView.swift
[43/57] Compiling SystemPackage FilePathComponents.swift
[44/57] Compiling SystemPackage FilePathParsing.swift
[45/57] Compiling SystemPackage FilePathString.swift
[46/57] Compiling SystemPackage FilePathSyntax.swift
[47/57] Compiling SystemPackage SystemString.swift
[48/57] Compiling SystemPackage Util+StringArray.swift
[49/57] Compiling SystemPackage Util.swift
[50/57] Compiling SystemPackage UtilConsumers.swift
[51/57] Compiling SystemPackage WinSDK+Overlay.swift
[52/58] Wrapping AST for SystemPackage for debugging
[54/73] Compiling PklMessagePack UnkeyedEncodingContainer.swift
[55/73] Compiling PklMessagePack FixedWidthInteger.swift
[56/74] 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)
[57/74] 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)
[58/74] Compiling PklMessagePack UnkeyedDecodingContainer.swift
[59/74] Compiling PklMessagePack UnkeyedMapDecodingContainer.swift
[60/74] Compiling PklMessagePack AnyCodingKey.swift
[61/74] Compiling PklMessagePack Box.swift
[62/74] Compiling PklMessagePack KeyedDecodingContainer.swift
[63/74] Compiling PklMessagePack KeyedSingleDecodingContainer.swift
[64/74] Emitting module PklMessagePack
[65/74] Compiling PklMessagePack _MessagePackDecoder.swift
[66/74] Compiling PklMessagePack KeyedEncodingContainer.swift
[67/74] 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 {
[68/74] 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 {
[69/74] Compiling PklMessagePack IO.swift
BUILD FAILURE 6.1 android