Build Information
Failed to build pkl-swift, reference main (4a6da2
), with Swift 6.2 (beta) for Android on 10 Sep 2025 15:05:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 4a6da2d Add support for Swift 6 (#61)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
4a6da2d0f64e73468b964c4ed2ea1e25eeb17b92
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-4606859-0":/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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/nicklockwood/SwiftFormat
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/apple/swift-argument-parser
[1/375] Fetching semanticversion
[376/16289] Fetching semanticversion, swift-argument-parser
[536/18383] Fetching semanticversion, swift-argument-parser, swift-docc-plugin
[1223/23320] Fetching semanticversion, swift-argument-parser, swift-docc-plugin, swift-system
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.32s)
[3262/22945] Fetching swift-argument-parser, swift-docc-plugin, swift-system
[22946/73824] Fetching swift-argument-parser, swift-docc-plugin, swift-system, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.73s)
[7481/55816] Fetching swift-system, swiftformat
Fetched https://github.com/apple/swift-system from cache (29.88s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (30.63s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (38.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.38s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.75s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (1.07s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.57.2 (0.47s)
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.1
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.57.2
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.2
[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
[6/29] Write embedded_resources.swift
[6/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-8C5A4AE7A8CE2BA.txt
[16/66] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module SystemPackage
[19/66] Compiling SystemPackage FilePath.swift
[20/66] Compiling SystemPackage FilePathComponentView.swift
[21/66] Compiling SystemPackage FilePathComponents.swift
[22/66] Compiling SystemPackage FilePathParsing.swift
[23/66] Compiling SystemPackage FilePathString.swift
[24/66] Compiling SystemPackage Errno.swift
[25/66] Compiling SystemPackage ErrnoWindows.swift
[26/66] Compiling SystemPackage FileDescriptor.swift
[27/66] Compiling SystemPackage FileHelpers.swift
[28/66] Compiling SystemPackage FileOperations.swift
[29/66] Compiling SystemPackage FilePathSyntax.swift
[30/66] Compiling SystemPackage FilePathTemp.swift
[31/66] Compiling SystemPackage FilePathTempPosix.swift
[32/66] Compiling SystemPackage FilePathTempWindows.swift
[33/70] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[34/70] Compiling SemanticVersion SemanticVersion.swift
[35/70] Compiling SystemPackage FilePathWindows.swift
[36/70] Compiling SystemPackage FilePermissions.swift
[37/70] Compiling SystemPackage IOCompletion.swift
[38/70] Compiling SystemPackage IORequest.swift
[39/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[40/70] Emitting module ArgumentParserToolInfo
[41/71] Wrapping AST for ArgumentParserToolInfo for debugging
[43/115] Compiling ArgumentParser OptionGroup.swift
[44/115] Compiling ArgumentParser AsyncParsableCommand.swift
[45/115] Compiling ArgumentParser CommandConfiguration.swift
[46/115] Compiling ArgumentParser CommandGroup.swift
[47/115] Compiling ArgumentParser EnumerableFlag.swift
[48/115] Compiling ArgumentParser ExpressibleByArgument.swift
[49/121] Compiling ArgumentParser ParserError.swift
[50/121] Compiling ArgumentParser SplitArguments.swift
[51/121] Compiling ArgumentParser DumpHelpGenerator.swift
[52/121] Compiling ArgumentParser HelpCommand.swift
[53/121] Emitting module ArgumentParser
[54/121] Compiling ArgumentParser InputKey.swift
[55/121] Compiling ArgumentParser InputOrigin.swift
[56/121] Compiling ArgumentParser Name.swift
[57/121] Compiling ArgumentParser Parsed.swift
[58/121] Compiling ArgumentParser ParsedValues.swift
[64/121] Compiling ArgumentParser ArgumentDefinition.swift
[65/121] Compiling ArgumentParser ArgumentSet.swift
[66/121] Compiling ArgumentParser CommandParser.swift
[69/121] Compiling ArgumentParser ParsableArguments.swift
[70/121] Compiling ArgumentParser ParsableCommand.swift
[71/121] Compiling ArgumentParser ArgumentDecoder.swift
[72/122] Wrapping AST for SystemPackage for debugging
[74/137] Compiling ArgumentParser Tree.swift
[75/137] Compiling ArgumentParser CodingKeyValidator.swift
[76/137] Compiling ArgumentParser NonsenseFlagsValidator.swift
[77/137] Compiling ArgumentParser ParsableArgumentsValidation.swift
[78/137] Compiling ArgumentParser PositionalArgumentsValidator.swift
[79/137] Compiling ArgumentParser UniqueNamesValidator.swift
[80/137] Compiling MessagePack MessagePackDecoder.swift
[81/137] Compiling MessagePack SingleValueDecodingContainer.swift
[82/137] Compiling MessagePack UnkeyedDecodingContainer.swift
[83/137] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[84/137] Compiling MessagePack MessagePackEncoder.swift
[85/137] Compiling MessagePack SingleValueEncodingContainer.swift
[86/137] Compiling MessagePack UnkeyedEncodingContainer.swift
[87/137] Compiling MessagePack KeyedDecodingContainer.swift
[88/137] Compiling MessagePack KeyedSingleDecodingContainer.swift
[89/137] Compiling MessagePack AnyCodingKey.swift
[90/137] Compiling MessagePack Box.swift
[91/137] Compiling MessagePack _MessagePackDecoder.swift
[92/137] Compiling MessagePack KeyedEncodingContainer.swift
[93/137] Compiling ArgumentParser CollectionExtensions.swift
[94/137] Compiling ArgumentParser Mutex.swift
[95/137] Compiling ArgumentParser Platform.swift
[96/137] Compiling ArgumentParser SequenceExtensions.swift
[97/137] Compiling ArgumentParser StringExtensions.swift
[98/137] Compiling ArgumentParser SwiftExtensions.swift
[99/137] Compiling SemanticVersion SemanticVersion+Codable.swift
[100/137] Emitting module SemanticVersion
[101/138] Wrapping AST for SemanticVersion for debugging
[106/138] Compiling ArgumentParser HelpGenerator.swift
[107/138] Compiling ArgumentParser MessageInfo.swift
[108/138] Compiling ArgumentParser UsageGenerator.swift
[115/139] Wrapping AST for ArgumentParser for debugging
/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 {
/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 {
/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)
[126/140] Compiling MessagePack FixedWidthInteger.swift
[127/140] Compiling MessagePack IO.swift
[130/140] Emitting module MessagePack
BUILD FAILURE 6.2 android