The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pkl-swift, reference main (a3e1ae), with Swift 6.1 for Android on 1 May 2026 02:53:08 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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 a3e1aed Rename MessagePack module to PklMessagePack to avoid naming conflicts (#147)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
a3e1aedf0a7455f8809a57085decab738d6493d8
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.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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
[1/432] Fetching semanticversion
[433/2719] Fetching semanticversion, swift-docc-plugin
[650/8320] Fetching semanticversion, swift-docc-plugin, swift-system
[5894/64641] Fetching semanticversion, swift-docc-plugin, swift-system, swiftformat
Fetched https://github.com/apple/swift-system from cache (0.92s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.97s)
[3249/56753] Fetching semanticversion, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (41.89s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (42.65s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.3 (46.39s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (3.80s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (5.44s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.07s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.61.1 (0.63s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.61.1
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.3
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[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/53] Compiling PklSwiftInternals Discovery.cpp
[12/53] Emitting module SystemPackage
[13/57] Compiling SystemPackage FilePathWindows.swift
[14/57] Compiling SystemPackage FilePermissions.swift
[15/57] Compiling SystemPackage IOCompletion.swift
[16/57] Compiling SystemPackage IORequest.swift
[17/57] Compiling SemanticVersion SemanticVersion.swift
[18/57] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[19/57] Compiling SystemPackage SystemString.swift
[20/57] Compiling SystemPackage Util+StringArray.swift
[21/57] Compiling SystemPackage Util.swift
[22/57] Compiling SystemPackage UtilConsumers.swift
[23/57] Compiling SystemPackage FilePathSyntax.swift
[24/57] Compiling SystemPackage FilePathTemp.swift
[25/57] Compiling SystemPackage FilePathTempPosix.swift
[26/57] Compiling SystemPackage FilePathTempWindows.swift
[27/57] Compiling SystemPackage FilePath.swift
[28/57] Compiling SystemPackage FilePathComponentView.swift
[29/57] Compiling SystemPackage FilePathComponents.swift
[30/57] Compiling SystemPackage FilePathParsing.swift
[31/57] Compiling SystemPackage FilePathString.swift
[32/57] Compiling SystemPackage Errno.swift
[33/57] Compiling SystemPackage ErrnoWindows.swift
[34/57] Compiling SystemPackage FileDescriptor.swift
[35/57] Compiling SystemPackage FileHelpers.swift
[36/57] Compiling SystemPackage FileOperations.swift
[37/57] Compiling SystemPackage Syscalls.swift
[38/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[39/57] Compiling SystemPackage MachPort.swift
[40/57] Compiling SystemPackage PlatformString.swift
[41/57] Compiling SystemPackage Constants.swift
[42/57] Compiling SystemPackage Exports.swift
[43/57] Compiling SystemPackage Mocking.swift
[44/57] Compiling SystemPackage RawBuffer.swift
[45/57] Compiling SystemPackage IORing.swift
[46/57] Compiling SystemPackage RawIORequest.swift
[47/57] Compiling SystemPackage Backcompat.swift
[48/57] Compiling SystemPackage CInterop.swift
[49/58] Wrapping AST for SystemPackage for debugging
[51/73] Compiling SemanticVersion SemanticVersion+Codable.swift
[52/73] Emitting module SemanticVersion
[53/74] Wrapping AST for SemanticVersion for debugging
[55/74] 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
[56/75] 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
[57/75] 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
[58/75] 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
[59/75] 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
[60/75] 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
[61/75] 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
[62/75] 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
[63/75] 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)
[64/75] 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)
[65/75] 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/75] 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/75] 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/75] 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/75] 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/75] 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
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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/46] Compiling SystemPackage IORing.swift
[6/46] Compiling SystemPackage RawIORequest.swift
[7/46] Compiling SystemPackage Backcompat.swift
[8/46] Compiling SystemPackage CInterop.swift
[9/50] Compiling SystemPackage Syscalls.swift
[10/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[11/50] Compiling SystemPackage MachPort.swift
[12/50] Compiling SystemPackage PlatformString.swift
[13/50] Compiling SemanticVersion SemanticVersion+Codable.swift
[14/50] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[15/50] Compiling SemanticVersion SemanticVersion.swift
[16/50] Emitting module SemanticVersion
[17/51] Compiling SystemPackage Constants.swift
[18/51] Compiling SystemPackage Exports.swift
[19/51] Compiling SystemPackage Mocking.swift
[20/51] Compiling SystemPackage RawBuffer.swift
[21/51] Compiling SystemPackage FilePathWindows.swift
[22/51] Compiling SystemPackage FilePermissions.swift
[23/51] Compiling SystemPackage IOCompletion.swift
[24/51] Compiling SystemPackage IORequest.swift
[26/51] Emitting module SystemPackage
[27/51] Compiling SystemPackage FilePathSyntax.swift
[28/51] Compiling SystemPackage FilePathTemp.swift
[29/51] Compiling SystemPackage FilePathTempPosix.swift
[30/51] Compiling SystemPackage FilePathTempWindows.swift
[31/50] Compiling SystemPackage SystemString.swift
[32/50] Compiling SystemPackage Util+StringArray.swift
[33/50] Compiling SystemPackage Util.swift
[34/50] Compiling SystemPackage UtilConsumers.swift
[35/50] Compiling SystemPackage FilePath.swift
[36/50] Compiling SystemPackage FilePathComponentView.swift
[37/50] Compiling SystemPackage FilePathComponents.swift
[38/50] Compiling SystemPackage FilePathParsing.swift
[39/50] Compiling SystemPackage FilePathString.swift
[40/50] Compiling SystemPackage Errno.swift
[41/50] Compiling SystemPackage ErrnoWindows.swift
[42/50] Compiling SystemPackage FileDescriptor.swift
[43/50] Compiling SystemPackage FileHelpers.swift
[44/50] Compiling SystemPackage FileOperations.swift
[45/51] Wrapping AST for SystemPackage for debugging
[47/66] 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)
[48/66] 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)
[49/66] Compiling PklMessagePack UnkeyedDecodingContainer.swift
[50/66] Compiling PklMessagePack UnkeyedMapDecodingContainer.swift
[51/67] Compiling PklMessagePack KeyedDecodingContainer.swift
[52/67] Compiling PklMessagePack KeyedSingleDecodingContainer.swift
[53/67] Compiling PklMessagePack AnyCodingKey.swift
[54/67] Compiling PklMessagePack Box.swift
[55/67] Emitting module PklMessagePack
[56/67] 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 {
[57/67] 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 {
[58/67] Compiling PklMessagePack UnkeyedEncodingContainer.swift
[59/67] Compiling PklMessagePack FixedWidthInteger.swift
[60/67] Compiling PklMessagePack _MessagePackDecoder.swift
[61/67] Compiling PklMessagePack KeyedEncodingContainer.swift
[62/67] Compiling PklMessagePack IO.swift
BUILD FAILURE 6.1 android